Overwrite FreeBSD ports

Upgrade ports is easy, using portupgrade. Even portupgrade can upgrade it’s own program The problem come with error message ‘xxxx already installed’, how to overcome this problem? Answer: read the guide kongja# portupgrade p5-libwww-5.79_1 —> Upgrading ‘p5-libwww-5.79_1′ to ‘p5-libwww-5.803′ (www/p5-libwww) —> Building ‘/usr/ports/www/p5-libwww’ ===> Cleaning for p5-Compress-Zlib-1.33 bla…bla..bla ===> Checking if net/p5-URI already installed ===> …

More

Update FreeBSD with freebsd-update

After fresh install freebsd 4.11 in old machine I need to update it right away since many security advisories. Quick way to do that using freebsd-update : Installing freebsd-update dns# whereis freebsd-update freebsd-update: /usr/ports/security/freebsd-update dns# cd /usr/ports/security/freebsd-update/ dns# make install ===> Vulnerability check disabled, database not found => freebsd-update-1.6.tar.gz doesn’t seem to exist in /usr/ports/distfiles/. …

More

Install list for new FreeBSD server

Some thought on configuration and install list for new FreeBSD server : 1. Install minimal (pick minimal or developer) 2. Configure ethernet card defaultrouter=”10.10.12.9″ gateway_enable=”YES” hostname=”alamster.rasyid.net” ifconfig_em0=”inet 192.168.1.2 netmask 255.255.255.0″ ifconfig_em0_alias0=”inet 10.10.12.1 netmask 255.255.255.240″ 3. Time synchronize -bash-2.05b$ rdate time.nist.gov

Install program in FreeBSD; ports, package or source?

FreeBSD supports three methods for installing program : Ports Package Source Every method has its advantage and disadvantage : Ports, till time of writing, already reach 16984, wow. Supports many option, my favorite since beginning :-). Simply type make install . Package, for time consuming ports like cvsup I prefer use package for its small …

More

FreeBSD snapshots

I have noticed that FreeBSD mini iso no longer distributed but I found interesting link : FreeBSD snapshots From FreeBSD site : As part of an ongoing effort to improve the overall release process before a release actually slips out the door with problems, we are now periodically producing interim test releases called snapshots. These …

More

Installing dragonflyBSD 1.8.1

From wikipedia DragonflyBSD is : DragonFly BSD is a free, Unix-like operating system which was forked from FreeBSD 4.8. Matt Dillon, a long-time FreeBSD and Amiga developer, started work on DragonFly BSD in June 2003 and announced it on the FreeBSD mailing lists on July 16, 2003 [1]. Dillon started DragonFly in the belief that …

More

Install PfSense 1.2Beta1, Quick Overview

Pfsense is web based firewall designed special for PC, based on FreeBSD 6.x Version 1.2Beta1 using 6.2 release as base, PfSense features from author site : pfSense changes implemented (subject to change daily): FreeBSD 6.1 – CURRENT with ALTQ Wireless a/b/g wpa_supplicant, turbo, WEP, WPA-E/PSK and WPA2 (TKIP) Incoming load balancing pools PPPoE Server Themes …

More

Installing FreeBSD 4,5,6 and 7

Basic FreeBSD questions for beginner like me 1. What is FreeBSD? Wikipedia has the answer 2. Is it good as server? Don’t know :-), see yourself in netcraft 3. Which version is the best? For old hardware, consider using 4.xxx, for modern hardware use 6.xxx 4. Is there any video for installing FreeBSD?, I wanna …

More

cvs, cvsup, portsnap and csup

Progress in *BSD world is very fast, everyday patch released, program update etc to get that update via internet FreeBSD provide a few tools : cvs, not so familiar for beginner cvsup, very famous in FreeBSD, can update ports, source even for backup purpose portsnap, only for port update, in FreeBSD tree since 6.0 csup, …

More

Recreate FreeBSD ports build option

As big fan of FreeBSD ports, I like to play around with ports option, like when installing php4 I was prompted with a lot of build options : kongja# whereis php4 php4: /usr/ports/lang/php4 kongja# cd /usr/ports/lang/php4 then this ncurse option will popup ===> Found saved configuration for php4-4.4.6 ===> Extracting for php4-4.4.6

View crontab entries of entire user in FreeBSD

Cron is special utility that process command in periodic time such ; doing regular backup every night email special report every week etc cron access can be usefull but sometime not, depend on the command issued. As super user we can list all of entire user crontab entries using log locate in /var/log su-2.05b# tail …

More

no eth0 in FreeBSD?

Convention in Linux for network interface simple and clear. eth for cable connection ath or wifi for wireless connection l0 for loopback sample from my ubuntu feisty fawn box : alamsyah@alamsyah-laptop:~$ ifconfig -a ath0  Link encap:Ethernet� HWaddr 00:14:A4:70:02:3E inet addr:192.168.12.100� Bcast:192.168.12.255� Mask:255.255.255.0 inet6 addr: fe80::214:a4ff:fe70:23e/64 Scope:Link UP BROADCAST RUNNING MULTICAST� MTU:1500� Metric:1 RX packets:8945 errors:0 …

More