管理Linux不想用命令行?可以试试Webmin!最新CentOS8上体验一下( 二 )


28) X/OS Linux 29) Haansoft Linux 30) cAos Linux 
31) Wind River Linux 32) Amazon Linux 33) Redhat Linux 
34) Fedora Linux 35) White Dwarf Linux 36) Slamd64 Linux 
37) Slackware Linux 38) Xandros Linux 39) APLINUX 
40) BigBlock 41) Ubuntu Linux 42) Mepis Linux 
43) Devuan Linux 44) Raspbian Linux 45) Linux Mint 
46) Debian Linux 47) SuSE OpenExchange Li 48) SuSE SLES Linux 
49) SuSE Linux 50) United Linux 51) Corel Linux 
52) TurboLinux 53) Cobalt Linux 54) Mandrake Linux Corpo 
55) pclinuxos Linux 56) Mageia Linux 57) Mandrake Linux 
58) Mandriva Linux 59) Mandriva Linux Enter 60) Conectiva Linux 
61) ThizLinux Desktop 62) ThizServer 63) MSC Linux 
64) SCI Linux 65) LinuxPPC 66) Trustix SE 
67) Trustix 68) Tawie Server Linux 69) TinySofa Linux 
70) Cendio LBS Linux 71) Ute Linux 72) Lanthan Linux 
73) Yellow Dog Linux 74) Corvus Latinux 75) Immunix Linux 
76) Gentoo Linux 77) Secure Linux 78) OpenNA Linux 
79) SoL Linux 80) Coherent Technology 81) Playstation Linux 
82) StartCom Linux 83) Yoper Linux 84) Caixa Magica 
85) openmamba Linux 86) FreeBSD 87) DragonFly BSD 
88) OpenBSD 89) NetBSD 90) BSDI 
91) HP/UX 92) SGI Irix 93) DEC/Compaq OSF/1 
94) IBM AIX 95) SCO UnixWare 96) SCO OpenServer 
97) mac OS X 98) Darwin 99) OpenDarwin 
100) Cygwin 101) Sun JAVA Desktop Sys 102) Synology DSM 
103) Generic Linux 104) windows 
Operating system: 25
Please enter the version of Redhat Enterprise Linux you are running
Version: 8
Operating system name: Redhat Enterprise Linux
Operating system version: 8
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
What port to run the web server on. There must not be another
web server already using this port.
The login name required to access the web server.
The password required to access the web server.
If the webserver should use SSL (if your system supports it).
Whether to start webmin at boot time. 
Web server port (default 10000): 
Login name (default admin): 
Login password: 
Password again: 
Use SSL (y/n): y
Webmin does not support being started at boot time on your system.
Creating web server config files..
..done
Creating access control file..
..done
Inserting path to perl into scripts..
..done
Creating start and stop scripts..
..done
Copying config files..
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Enabling background status collection ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin
Cron 15467891196435 missing any time spec
..done
Webmin has been installed and started successfully. Use your web
browser to go to
https://rhel8.local:10000/
and login with the name and password you entered previously.
Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.
3. 在CentOS8或RHEL8上配置webmin
为了能够从网络访问Webmin Web界面,您需要允许防火墙中的TCP端口10000 。
sudo firewall-cmd --add-port=10000/tcp --permanentsudo firewall-cmd --reload访问Webmin界面:
现在你已经在CentOS8或者RHEL8上安装了Webmin,打开你的服务器URL或者IP地址端口10000 。比如https://192.168.122.197:10000
如果提示“Invalid Certificate”,点击Continue Anyway

管理Linux不想用命令行?可以试试Webmin!最新CentOS8上体验一下

文章插图
在CentOS8或RHEL8上配置webmin访问Webmin界面
 
使用安装过程中指定的用户名及其密码登录
管理Linux不想用命令行?可以试试Webmin!最新CentOS8上体验一下

文章插图
使用安装过程中指定的用户名及其密码登录webmin
 
【管理Linux不想用命令行?可以试试Webmin!最新CentOS8上体验一下】显示的默认页面是系统详细信息的摘要
管理Linux不想用命令行?可以试试Webmin!最新CentOS8上体验一下

文章插图
显示webmin的默认页面是系统详细信息的摘要
 
4. 总结
通过本文,您应该可以了解到如何在RHEL8或者CentOS8系统上安装Webmin 。通过Webmin 的web界面,您可以完成很多Linux管理工作 。类似的工具是Cockpit,可以参考以下指南 。


推荐阅读