Difference between revisions of "SchoolOnffLine: Mengubah nama mesin dan DNS Server lokal"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Misalnya nama server yang anda inginkan adalah '''sekolah.sch.id''' ==Set /etc/hostname== # echo '''sekolah.sch.id''' > /etc/hostname ==Set /etc/hosts== # vi /etc/hosts isi dengan...) |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
==Set DNS Server== | ==Set DNS Server== | ||
− | + | * [[SchoolOnffLine:Manual DNS Server Menggunakan Webmin]] | |
Pastikan '''Create New Master Zone''' dengan Entry kira-kira | Pastikan '''Create New Master Zone''' dengan Entry kira-kira | ||
Line 75: | Line 75: | ||
* [[SchoolOnffLine: Manual Administrator]] | * [[SchoolOnffLine: Manual Administrator]] | ||
* [[SchoolOnffLine: Server Berbasis Ubuntu]] | * [[SchoolOnffLine: Server Berbasis Ubuntu]] | ||
+ | |||
+ | [[Category: Linux]] | ||
+ | [[Category: Distro Linux]] | ||
+ | [[Category: SchoolOnffLine]] |
Latest revision as of 08:48, 11 May 2010
Misalnya nama server yang anda inginkan adalah
sekolah.sch.id
Set /etc/hostname
# echo sekolah.sch.id > /etc/hostname
Set /etc/hosts
# vi /etc/hosts
isi dengan
127.0.0.1 localhost 192.168.0.254 sekolah.sch.id ukm mahara.sekolah.sch.id www.sekolah.sch.id ip.add.server sekolah.sch.id ukm mahara.sekolah.sch.id www.sekolah.sch.id
Set DNS Server
Pastikan Create New Master Zone dengan Entry kira-kira
$ttl 38400 sekolah.sch.id. IN SOA sekolah.sch.id. admin1.sekolah.sch.id. ( 1262744478 10800 3600 604800 38400 ) sekolah.sch.id. IN NS sekolah.sch.id. sekolah.sch.id. IN A 192.168.0.254 www.sekolah.sch.id. IN A 192.168.0.254 mahara.sekolah.sch.id. IN A 192.168.0.254 mail.sekolah.sch.id. IN A 192.168.0.254 smtp.sekolah.sch.id. IN A 192.168.0.254 pop3.sekolah.sch.id. IN A 192.168.0.254 imap.sekolah.sch.id. IN A 192.168.0.254 sekolah.sch.id. IN MX 10 sekolah.sch.id.
Set hostname pada Postfix SMTP Server
# vi /etc/postfix/main.cf
Misalnya
myhostname = sekolah.sch.id mydestination = sekolah.sch.id
Set nama hostname pada Webmail
/usr/sbin/squirrelmail-configure 2 -> 1 -> sekolah.sch.id -> S -> Q
Sesuaikan /etc/apache2/sites-enabled/mahara-httpd.conf
vi /etc/apache2/sites-enabled/mahara-httpd.conf
<VirtualHost *:80> ServerName mahara.sekolah.sch.id DocumentRoot /var/www/mahara/htdocs ErrorLog /var/log/apache2/mahara.error.log CustomLog /var/log/apache2/mahara.access.log combined <Directory /var/www/mahara/htdocs> AllowOverride All </Directory> </VirtualHost>