2017年4月2日 星期日

安裝Webmin/Virtualmin 管理Server


有兩個方法, 都可以在 www.webmin.com 查看

1, RPM

首先下載Webmin:

wget https://prdownloads.sourceforge.net/webadmin/webmin-1.962-1.noarch.rpm  

然后安裝可能缺少的套件:
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

安裝Webmin:
rpm -U webmin-1.831-1.noarch.rpm

2, YUM

首先到 /etc/yum.repos.d 建立 webmin 的repo 檔

cd /etc/yum.repos.d
touch webmin.repo

修改 /etc/yum.repos.d/webmin.repo 跟下面一樣

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

安裝Webmin 的 GPG Key
wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc

安裝Webmin
yum install webmin

Webmin 的端口是 10000

https://Server:10000

習慣用YUM ,總是可以用到最新及穩定的的版本

---------------------------------------------------------------------------

Install the Virtualmin 


yum -y update

yum -y install perl wget nano

wget http://software.virtualmin.com/gpl/scripts/install.sh

chmod +x install.sh

./install.sh


Login by root a/c




-------------------------------------------------------------------------------
SpamAssassin appears error :

Warning!  SpamAssassin does not appear to be set up in the system's Procmail configuration file /etc/procmailrc, so any configuration done using this module will have no effect unless users have it set up individually.

Fixed:

Goto "Webmin >> Servers >> SpamAssassin Mail Filter", then clicking  "Setup Procmail For SpamAssassin icon, done!

----------------------------------------------------------------------------







沒有留言:

張貼留言

 YUM ( or DNF) upgrade PHP  listed running PHP version yum list installed |grep PHP Remove the old version yum remove php* Then install the ...