CentOS 安装webmin

下载地址

http://download.webmin.com/download/yum/

安装依赖

sudo yum -y install openssl perl perl-Net-SSLeay perl-IO-Tty perl-Crypt-SSLeay perl-Encode-Detect perl-Digest-MD5 perl-Digest-SHA autoconf

安装

rpm -ivh webmin-2.021-1.noarch.rpm

重置密码

/usr/libexec/webmin/changepass.pl /etc/webmin root lxw@123 

webmin的用户名是root,密码为lxw@123
webmin的配置目录是/etc/webmin

如果有安全需要,则更改webmin服务默认端口号

进入miniserv.conf 配置文件

vim /etc/webmin/miniserv.conf 

修改默认端口号port=10000和listen=10000为如下即可(自己随便设置端口号)

port=10001
listen=10001

webmin服务命令

/etc/webmin/restart # 重启
/etc/webmin/start # 启动
/etc/webmin/stop # 停止

如果下载不了,可以试试我下载好的webmin-2.021 及其相关依赖包

webmin-2.021 及其相关依赖包​​​​​​​

猜你喜欢

转载自blog.csdn.net/lw112190/article/details/129832100
今日推荐