Một trong những ứng dụng quản trị VPS mà tôi rát ưa chuộng ngoài Centos Web Panel (cho Centos) hay EasyEngine (cho Ubuntu) chính là Webmin. Điểm mạnh của Webmin chính là cài được cho bất cứ HDH nào kể cả Centos hay Ubuntu, hay cả Fedora, Solaris thậm chí cả Windows.
Ngoài ra đương nhiên là Webmin miễn phí, mã nguồn mở trên github tại đây http://github.com/webmin/webmin/commits/master
Webmin cho phép quản trị máy chủ VPS từ lớp câu lệnh đến cài đặt các gói addon, hoặc cấu hình máy chủ php, sendmail, apache …
Sử dụng Webmin cần biết tương đối một chút về máy chủ, không dễ như CWP hay EasyEngine.
Để cài Webmin cho Debian/Ubuntu, tải về bản cài deb.
cd /root
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.890_all.deb
rồi khi tải xong chạy lệnh cài này
dpkg --install webmin_1.890_all.deb
nếu báo lỗi thiếu thư viện, cài bổ sung thư viện như sau
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
hoặc có thể cài bằng repository
cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
rồi thêm repository vào apt
deb https://download.webmin.com/download/repository sarge contrib
rồi cài
apt-get install apt-transport-https
apt-get update
apt-get install webmin
nếu dùng Centos/RHEL, bạn có thê cài bằng rpm
cd ~
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.890-1.noarch.rpm
cài các dependencies
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect perl-Digest-MD5
rồi sau đó cài webmin-1.890-1.noarch.rpm
rpm -U webmin-1.890-1.noarch.rpm
Sau khi cài xong, cổng quản trị Webmin là 10000, truy cập http://IP_VPS:10000 để bắt đầu quản trị. Đăng nhập user root và password tương ứng
Gỡ bỏ webmin trên Centos
Cách 1:
service webmin stop
rpm -e $(rpm -qa | grep webmin)
Cách 2
yum remove webmin
Cách 3
/etc/webmin/uninstall.sh