18/8/2011
Many of you may be thinking what is the fastest way to enable the ssh daemon when you actually forget to enable them.
Well normally I believe many people will do by editing the rc.conf and add the sshd_enable commands and then reboot the server.
Actually, I used to do that
However today I do learn something new and want to share this tips to all of you.
How to enable SSH in FBSD?
Solution: /etc/rc.d/sshd onestart
That’s all simple and fast right ? Hehe . . . but please take note that once you restart the server, the SSHD will not be started if you did not declare in rc.conf to enable it when start up.
In case you forget the exact syntax on how to enable SSH in FreeBSD,
Use this in your rc.conf file:
sshd_enable=”YES”
That’s all for now, all the best and hope you can refer to this blog in case you forget how to do so
Hi All,
I believe many of you do not remember the paths of the software installations in FreeBSD right?
I myself can forget and thus have to manully search them under the directory view.
So to help me and also you guys, I will start off this post to take note on all important paths of the software installation that is needed.
Here are the list below:
Apache22
/usr/ports/www/apache22
Cronolog for Apache
/usr/ports/sysutils/cronolog
Sudo
/usr/ports/security/sudo
PHP v5.2
/usr/ports/lang/php52/
PHP Extensions
/usr/ports/lang/php52-extentions
Suhosin for PHP
/usr/ports/security/php-suhosin/
Memcache module
/usr/ports/databases/pecl-memcache
Rsync
/usr/ports/sysutils/rsyncmanager/
That’s all for now, you can submit more info to me.
Thanks
I believe many of you have been installing ports collections via the internet. However there may be a problem like:
1. internet is slow thus longer download time.
2. ports collection got updated and hence different version with other servers when install 6 months ago vs install today.
If you experience the above, it is best you find for an alternatives, that is to install via CD 1 of the installation disk.
How to do it? See the steps by steps below:
1. Put in your FBSD CD 1
2. Login as root in the console and type : sysinstall
3. A menu will appear, choose Configure
4. Next Choose Distributions
5. Then scroll down to Ports and press space button to select and then choose ok button.
6. Choose your installation media to be CD/DVD Rom.
Done that’s all! simple and easy.
Screen shot see below:

FreeBSD - sysinstall configure Menu

FreeBSD - sysinstall - configure - distributions menu

FreeBSD - sysinstall - Configure - Distributions - Ports Menu

FreeBSD - sysinstall - configure - distributions - ports - installation-media
For new linux uses who are used to using wget, you will definetly be confused when come to FreeBSD system. I have many people trying to search google and find how to download files in a FreeBSD environment, they want to know what is the alternative of wget command. See below for the solution:
1. Use the command call “fetch”.
Example:
mydomain# fetch http://www.angsari.com/wp-content/uploads/2010/04/Butterfly1.gif
Results:
Butterfly1.gif 100% of 5141 B 6485 kBps
Bingo that’s it, done.
Simple and easy solution for newbies on FreeBSD who are lost with wget.
Thank you
Have you been wondering how the system admins actually maanage to make such a nice log in in the terminal?
To do this:
1. Just edit /etc/motd
2. Put in the content:
eg.
FreeBSD 8.0-STABLE #Wed Apr 1 14:51:05 SGT 2010

Welcome to File Server…
//——Please Mind——–//
1. Everything will be logged.
2. Dont touch system configuration files.
3. If you found anything wrong with this server, just let me know!
admin@mydomain.com
3. That’s All , simple and easy way to create or modify the log in screen on linux / FreeBSD