0

[Solaris]AMPS for Solaris 10

Apache Login as root and copy the /etc/apache2/httpd.conf-example to httpd.conf # cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf Edit /etc/apache2/httpd.conf Set ServerName Set ServerAdmin Enable apache2 # svcadm enable apache2 MySQL Login as root and initalize the database tables # /usr/sfw/bin/mysql_install_db Create mysql user… Continue Reading

0

[FreeBSD]Network Time Server

To setup NTP on FreeBSD : Edit /etc/rc.conf ### Network Time Services options: ### ntpd_enable=”YES” ntpd_program=”/usr/sbin/ntpd” ntpd_flags=”-p /var/run/ntpd.pid -f /var/db/ntpd.drift” Create /etc/ntp.conf server time.nist.gov prefer server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /var/db/ntpd.drift Reboot the computer or start ntpd manually… Continue Reading