« Server Is Ready | Main | DNS Setup »
January 05, 2005
I Love FreeBSD!
My server is completely new, only the OS was installed. I installed some program and learned a little basics of FreeBSD yesterday, it's fun :-).
1. Installing application from source
ports is a genius program. With it, compiling and installing an application is just one command, and all applications work the same way, you don't have to read README file to know how to install each program, type "man ports" for more information. CVSup does similar work but can ensure you get the latest version.
2. Installing pre-compiled application
The commands pkg_add, pkg_info, pkg_version are for binary application. It will fetch the application from FTP automatically and install on your system. For example, type "pkg_add -r apache" to install Apache, that's all you need to do!
Please note: some programs are not named as you expect, for example, "pkg_add -r mysql" doesn't work, I list the available applications in database with ftp and found it's named something like "mysql_server_5.0".
Installation on FreeBSD is extremely easy compared to Red Hat, check out the post to see how I installed ncftp on Red Hat, I tried the same process on FreeBSD and it didn't work, with pkg_add, "pkg_add -r ncftp" does everything for you.
I installed wget, apache, mysql, php and other basic applications yesterday, also changed my shell to bash. My next step is DNS setup and running apache/mysql.
I'm very glad that I chose FreeBSD, it's better than I could imagine. I will learn it systematically after I make my websites up and running.
Category : FreeBSD General
Posted by FreeBSD Newbie at January 5, 2005 01:46 PM
