Difference between revisions of "SchoolOnffLine: Memastikan Semua Server Beroperasi saat nyala"

From OnnoWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
  /etc/init.d/dansguardian restart
 
  /etc/init.d/dansguardian restart
  
 +
 +
Biasanya jika jaringan [[LAN]] terdapat [[DHCP server]] akan mengubah [[IP address]] eth0.
 +
Untuk menjamin bahwa [[IP address]] 192.168.0.254 digunakan ada baiknya di pasang
 +
 +
ifconfig eth0:254 192.168.0.254
 +
cp /etc/resolv.conf.nawala /etc/resolv.conf
  
  

Revision as of 03:50, 6 August 2009

Edit file

# vi /etc/rc.local

Isi sebelum kata-kata exit0

/etc/init.d/dovecot restart
/etc/init.d/apache2 restart
/etc/init.d/mysql restart
/etc/init.d/webmin restart
/etc/init.d/dhcp3-server restart
/etc/init.d/ejabberd start
/etc/init.d/bind9 restart
/etc/init.d/ntp restart
/etc/init.d/tinyproxy restart
/etc/init.d/dansguardian restart


Biasanya jika jaringan LAN terdapat DHCP server akan mengubah IP address eth0. Untuk menjamin bahwa IP address 192.168.0.254 digunakan ada baiknya di pasang

ifconfig eth0:254 192.168.0.254
cp /etc/resolv.conf.nawala /etc/resolv.conf




Pranala Menarik