Difference between revisions of "RockCluster: Web Server Lokal"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 23: | Line 23: | ||
=== Membuka web server === | === Membuka web server === | ||
− | Agar web server bisa diakses oleh publik, edit file /etc/ | + | Agar web server bisa diakses oleh publik, edit file |
+ | |||
+ | vi /etc/sysconfig/iptables | ||
+ | |||
dan ubah baris berikut | dan ubah baris berikut | ||
<pre> | <pre> | ||
# http and https is allowed for all nodes on the public subnet | # http and https is allowed for all nodes on the public subnet | ||
− | -A INPUT -m state --state NEW - | + | -A INPUT -i eth1 -p tcp --dport https -m state --state NEW --source 192.168.0.0/255.255.255.0 -j ACCEPT |
− | -A INPUT -m state --state NEW -p tcp --dport www -j ACCEPT | + | -A INPUT -i eth1 -p tcp --dport ssh -m state --state NEW -j ACCEPT |
+ | -A INPUT -i eth1 -p tcp --dport www -m state --state NEW --source 192.168.0.0/255.255.255.0 -j ACCEPT | ||
</pre> | </pre> | ||
Line 34: | Line 38: | ||
Setelah itu restart iptables. | Setelah itu restart iptables. | ||
#service iptables restart | #service iptables restart | ||
− | |||
==Referensi== | ==Referensi== |
Revision as of 14:01, 29 July 2011
Segera setelah front-end terpasang, luncurkan web browser (dalam hal ini Firefox), lalu browse ke http://localhost . Akan muncul situs Front-End, ada lima menu yang langsung bisa diakses:
- Cluster Status, untuk menampilkan Ganglia
- Documentation for the installed rolls.
- Support
- Tripwire
- Users Guide
Wordpress
Situs utama web server lokal tersebut memakai CMS Wordpress. Jika perlu mengkonfigurasinya, login sebagai:
user: admin password: your root password for the cluster
Ganglia
Pada halaman wordpress, akses menu "Cluster Status", sehingga muncul halaman Ganglia Cluster Monitoring.
Membuka web server
Agar web server bisa diakses oleh publik, edit file
vi /etc/sysconfig/iptables
dan ubah baris berikut
# http and https is allowed for all nodes on the public subnet -A INPUT -i eth1 -p tcp --dport https -m state --state NEW --source 192.168.0.0/255.255.255.0 -j ACCEPT -A INPUT -i eth1 -p tcp --dport ssh -m state --state NEW -j ACCEPT -A INPUT -i eth1 -p tcp --dport www -m state --state NEW --source 192.168.0.0/255.255.255.0 -j ACCEPT
Setelah itu restart iptables.
#service iptables restart