Setelah sekian lama ga sempet nulis di blog saya coba belajar menulis lagi nih walaupun dgn waktu yg sudah mepet..
Baru-baru ini saya instal server ubuntu 8.04 untuk siswa belajar..
Yang saya install di server ada dibawah ini, tapi penjelasannya nanti lagi ah kalau ada waktu, mudah-mudahan bermanfa’at:
DNS (untuk belajar saja)
DHCP (biar ga usah set ip address tiap komputer)
install.. caranya banyak di blog lain
Share Internet:
di /etc/rc.local saya tulis:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ip4/ip_forward
DANSGUARDIAN
(biar siswa selamat dari situs dgn konten negatif)
Dansguardian pake port 8080, biar ga usah set tiap komputer saya alihkan saja port 80 (http request – tcp/ip) dari klien ke 8080:
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT –to-port 8080
konsekuensinya internet jadi agak lambat memang (maklum servernya komp. server-serveran)..
MOODLE
sudo apt-get install moodle
moodle dibagi ke komp. lain:
sudo nano /etc/apache2/conf.d/moodle
baris
#allow from all
hilangkan # -nya
biar diakses pake ip address lebih nyaman:
sudo nano /etc/moodle/config.php,
jadikan: wwwroot = ‘http://(ip address server belajar siswa)/moodle’;
restart apache
sudo /etc/init.d/apache2 restart
Mohon masukan kalau ada yg memiliki cara yg lebih efektif..
Moodle:
sudo apt-get install moodle
This moodle install will only work from the localhost. To make it accessible from other hosts you must edit the file /etc/apache2/conf.d/moodle. Type
sudo nano /etc/apache2/conf.d/moodle
(This is actually a soft link from /etc/moodle/apache.conf). This fires up the ‘nano’ text editor which is command line text editor and the sudo gives you the write access you need.
About 10 lines down you see the following line
#allow from all
The # indicates it is commented out, so remove the # and use CTRL+O to save the file.
Now restart apache by typing
sudo /etc/init.d/apache2 restart