linux centos 安装 可视化管理工具 webmin - Go语言中文社区

linux centos 安装 可视化管理工具 webmin


介绍

【小白入门 通俗易懂】2021韩顺平 一周学会Linux
linux 可视化管理 webmin
https://www.bilibili.com/video/BV1Sv411r7vd?p=137
在这里插入图片描述在这里插入图片描述

webmin 安装

在这里插入图片描述

下载 webmin 网址
http://download.webmin.com/download/yum/
-----不可以安装在centos7.6 上面
wget http://download.webmin.com/download/yum/webmin-1.973-1.noarch.rpm
-----可以安装在centos7.6 上面
wget http://download.webmin.com/download/yum/webmin-1.700-1.noarch.rpm

[root@hell39 webmin]# cd /opt
[root@hell39 opt]# ll
total 195200
-rw-r--r--. 1 root root         0 Mar 26 19:45 boot.bak0.bz2
drwx--x--x. 4 root root        28 Mar 13 19:17 containerd
-rw-r--r--. 1 root root 136802912 Mar 26 19:50 dump_sda1
drwxr-xr-x. 2 root root         6 Oct 30  2018 rh
drwxr-xr-x. 2 root root       182 Feb 19 07:38 software
-rw-r--r--. 1 root root  22287607 Aug 11  2014 webmin-1.700-1.noarch.rpm
-rw-r--r--. 1 root root  40786680 Mar  7 14:26 webmin-1.973-1.noarch.rpm
-------开始安装 
[root@hell39 opt]# rpm -ivh webmin-1.700-1.noarch.rpm 

--------重置 webmin 用户 root  密码为 test  
[root@hell39 opt]# /usr/libexec/webmin/changepass.pl /etc/webmin/ root test
Updated password of Webmin user root

---------本机测试发现 6666 被FF 禁用了,所以改为  8081 
--------- 更改webmin 端口号为  8081 
[root@hell39 opt]# vim /etc/webmin/miniserv.conf 
port=8081           ------------------  修改点1 
root=/usr/libexec/webmin
...
...
logout=/etc/webmin/logout-flag
listen=8081         -----------------    修改点2 
denyfile=.pl$
log=1

webmin 启动

在这里插入图片描述
启动 webmin

[root@hell39 opt]# /etc/webmin/start
Starting Webmin server in /usr/libexec/webmin
Pre-loaded WebminCore

访问不了需要打开防火墙某个端口 8081

 -------查看防火墙状态 
[root@hell39 opt]# systemctl status firewalld[0m firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-03-26 20:45:18 PDT; 58min ago
     Docs: man:firewalld(1)
...
...
--------- 查看已经开放的端口号
[root@hell39 opt]# firewall-cmd --zone=public --list-ports
6666/tcp  
---- 增加8081为开放端口 
[root@hell39 opt]# firewall-cmd --zone=public --add-port=8081/tcp --permanent
success
-----重新加载防火墙配置 
[root@hell39 opt]# firewall-cmd --reload
success
------查看哪些端口开放了 
[root@hell39 opt]# firewall-cmd --zone=public --list-ports
6666/tcp 8081/tcp
[root@hell39 opt]# 

在这里插入图片描述

webmin 使用

输入 root test 可以正常访问了
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述在这里插入图片描述
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/wei198621/article/details/115263025
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢