install on freebsd 6.2

SimpleX

Verified User
Joined
Jul 25, 2007
Messages
12
hi

i see alot of people saying the install works without errors, a fresh install of 6.2 and directadmin just wont install, can anyone enlighten me?
 

kke

Verified User
Joined
Apr 4, 2006
Messages
202
Location
Thailand
Install FreeBSD 6.2 with minimal distribution without ports collection*
*upon install process you must create an user (yourusername) with invite to wheel group so this user can su to root via ssh

Then after reboot do
#ee /etc/ssh/sshd_config
add the last line as follow
AllowUsers yourusername

#ee /etc/group
Check the first line have yourusername in wheel group, if not add it
wheel:root,yourusername

#cd /usr
#fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
#tar xzf ports.tar.gz
#pkg_add -r perl
#rehash

Then download setup.sh and do setup

After completed setup I recomend to secured your server as follows
- config firewall
- update to dovecot
- update to apache2
- install mod_security
- install mod_evasive
- mount /tmp with noexec,nosuid
- install clamav
- config exim to scan email with clamav
- setup/enable spamassassin
- disable functions in php.ini
- gen SSL key for DA + use DA via SSL

Additional
- zend optimizer
- snmpd + mrtg
- chkrootkit / rkhunter
- bfd

Or if you have trouble, I do all above tasks after first reboot (fresh OS install with minimal distribution) or after fresh DA install at $69
 
Top