Control Panels for Managing a CentOS Server

CentOS Web Panel

  • Cài đặt
    • Thực hiện theo link http://centos-webpanel.com/cwp-installation
    • Thực hiện các lệnh sau
1
2
3
4
5
6
7
8
yum -y install wget
yum -y update
reboot

cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest
reboot
  • Tham khảo:
    • http://centos-webpanel.com/

Webmin

  • Cài đặt
    • Thực hiện theo link http://doxfer.webmin.com/Webmin/Installation
    • Thực hiện các lệnh sau để cài đặt
1
2
3
4
5
6
7
(echo "[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1
gpgcheck=1
gpgkey=http://www.webmin.com/jcameron-key.asc" >/etc/yum.repos.d/webmin.repo;
yum -y install webmin)
  • Mở port
    • Lấy iptable chuyển vào tập tin tạm
    • Chỉnh sửa theo nội dung
    • Ghi đè vào iptable
    • Khởi động lại tường lửa (firewall)
1
2
iptables-save > /tmp/tabsav
vi /tmp/tabsav

Nội dung của file tabsav

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Generated by iptables-save v1.4.7 on Thu Sep 26 00:02:49 2013
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3044:1198306]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 10000 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Thu Sep 26 00:02:49 2013
1
2
3
iptables-restore < /tmp/tabsav
firewall-cmd --zone=public --add-port=10000/tcp --permanent
firewall-cmd --reload
  • Sử dụng
    • Mở link https://192.168.1.100:10000/ => ip của máy
    • User & Pass là mật khẩu đăng nhập của máy
  • Tham khảo:
    • http://www.webmin.com/

Tham khảo

  • https://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels
  • http://www.hostingadvice.com/blog/cpanel-vs-plesk-vs-webpanel/
  • http://www.tecmint.com/web-control-panels-to-manage-linux-servers/
  • http://www.nuxified.org/article/best-control-panels-if-any-managing-linux-server