Difference between revisions of "RockCluster: Web Server Lokal"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
  
 
=== Ganglia ===
 
=== Ganglia ===
Pada halaman wordpress, akses menu "Cluster Status",
+
Akses melalui alamat
sehingga muncul halaman Ganglia Cluster Monitoring.
 
  
[[Berkas:Ganglia.png|480px]]
+
https://ip-rock-front-end/ganglia
  
 +
muncul halaman Ganglia Cluster Monitoring.
 +
 +
[[Image:Ganglia.jpeg|center|200px|thumb]]
  
 
=== Membuka web server ===
 
=== Membuka web server ===
Agar web server bisa diakses oleh publik, edit file /etc/syscon_g/iptables,
+
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 -p tcp --dport https -j ACCEPT
+
-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 40:
 
Setelah itu restart iptables.
 
Setelah itu restart iptables.
 
  #service iptables restart
 
  #service iptables restart
 
  
 
==Referensi==
 
==Referensi==

Latest revision as of 14:17, 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

Akses melalui alamat

https://ip-rock-front-end/ganglia

muncul halaman Ganglia Cluster Monitoring.

Ganglia.jpeg

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

Referensi

Pranala Menarik