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/.
=> Attempting to fetch from http://www.daemonology.net/freebsd-update/.
freebsd-update-1.6.tar.gz 100% of 30 kB 6810 Bps
Configuration

dns# cp /usr/local/etc/freebsd-update.conf.sample /usr/local/etc/freebsd-update.conf

read 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)

miminal.PNG
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

read more »

Linux Distro, Choose DVD or CD?

Many distro nowadays give alternative media for installation, like newest release of Centos
4.5 available in DVD and CD. The other side, VectorLinux 5.6 soho come with CD option. I
just remember when I must install Redhat 9 that require 3 cds, my friend forgot to return
the last cd, make my installation process never complete. Mandrake (now mandriva) has option to skip package that not available. What a convenient why, at that time I just thinking about iso file for DVD for following reason:

  • No more interruptible installation process.
  • Full package for home user who has slow internet connection or not even have it. Like DVD repository in ubuntu.

read more »

Install SSH Server in Windows XP

Being sick, no internet access available plus no new movie to watch, my friend ask me for shell account in freebsd box. He said for education purpose, wanna learn about ssh. Why not try it in windows? thats my question after see his Acer notebook. Is it possible? he reply
I don’t know, need to ask google first.

During search, I stumble upon of cygwin plus ssh solution.
Is there any easier solution for newbie like me?

Google pointing other soilution : sshd for windows

Download latest version from here, choose Binary Installer Releases
Quick install steps :

ssh1.PNG

read more »

Install program in FreeBSD; ports, package or source?

FreeBSD supports three methods for installing program :

  1. Ports
  2. Package
  3. 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 size. Package not provide option.
  • Source, everything begin with source. If no ports or package available I use source.

Like debian or ubuntu ports make life easier, every dependency handling automatically as long you got internet connection :-)

Pretty impressive list of ports number 16984, I don’t know all of them. Only related ports to sytem administration like apache, php, mysql etc.

Maybe I should explore the ports more for better understanding on how FreeBSD work.

Full list of FreeBSD ports to date :

read more »