FreeBSD 7.1 RC2 released

With new FreeBSD 7.1 release candidate 2 just arrive I choose to follow it in production server as always :-)

# freebsd-update upgrade -r 7.1-RC2

# freebsd-update install

# shutdown -r now

# freebsd-update install

# shutdown -r now

For next experiment I’ll try livefs in conjuction to ftp install for alternative install.

Still looking a way to disable debug in -CURRENT :-)

Happy New Year

Install havp (HTTP Antivirus Proxy) in FreeBSD 7.1

Many of us still using internet explorer as main browser due to many factor, but much more related to our worksheet display. It’s in progress to make it more compliance to other browser such firefox and opera.

Another problem came up when spyware and virus spread more easier using IE. To prevent it from spread to other host I decide to install havp in junction with installed squid.

Squid already run in port 3128 and I want to install havp in recent FreeBSD 7.1 RC1

Here’s my steps :

1.  Update ports to latest version using csup and install havp

cd /usr/ports/www/havp && make install

2. Install clamav

/usr/ports/security/clamav && make install

3. Edit rc.conf, add these lines :




read more »

Using Clamav for Scanning Virus in FreeBSD

We provide ftp access to student for storing their work, song, etc in limited space. Around 100 – 150 MB for each student.

Due to report for virus that might appear in their PC in the class I have to scan and remove it in their ftp account before take action to PC level.

I use clamav from FreeBSD ports to scan virus in FTP server, here’s the steps:

*make sure to update ports to latest version*

1. Install Clamav

ftp# cd /usr/ports/security/clamav && make install

2. Edit rc.conf file and insert these lines :



3. Starting Clamav Daemon

ftp# /usr/local/etc/rc.d/clamav-clamd start

4. Update virus database

ftp# freshclam

read more »

Trying OpenSolaris VPS : Install pkg-get

I have chance to try opensolaris vps, since I have no experience in OpenSolaris before I try to learn some basic command before achieve my goal :

Running wordpress in my OpenSolaris VPS

Here’s what I reach so far :

1. pkg for listing file

[arasyid@TGL107201 mysql]# pkg list -s | grep mysql
SUNWmysql-base                 MySQL Database Management System (Base)
SUNWmysql5                     MySQL 5.0.45 – MySQL Database Management System (usr component)

2. pkgadd for install

pkgadd -d

By default, it wil save all file in /opt

Make sure to update /opt/csw/etc/pkg-get.conf for nearest mirror

I use :


Using vi and update catalog file:

/opt/csw/bin/pkg-get -U

3. Use pkg-get for install software

I want to install nano for vi alternative :-)

/opt/csw/bin/pkg-get -i nano

I want to install ee but I can’t find it.

[arasyid@TGL107201 bin]# /opt/csw/bin/pkg-get -a | grep nano
nano 1.2.5,REV=2005.08.14
[arasyid@TGL107201 bin]#

Install wget for download file

/opt/csw/bin/pkg-get -i wget

Great, I love it.

WARNING: FreeBSD 7.0-RELEASE-p5 is approaching its End-of-Life date

Informative message when I use freebsd-update in recent update progress :

materibasuki# freebsd-update fetch
Looking up mirrors… 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from… done.
Fetching metadata index… done.
Inspecting system… done.
Preparing to download files… done.
Fetching 7 patches…. done.
Applying patches… done.

The following files will be updated as part of updating to 7.0-RELEASE-p6:


WARNING: FreeBSD 7.0-RELEASE-p5 is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 2 months.

Good …good…good