Installation of webmin under CentOS 7

The process of installing webmin is summarized into three parts.
1. Download the webmin software package
2. Transfer to CentOS 7 for software installation
3. Start the webmin server, and you can access it in the browser

1. Download of webmin software package

To install webmin, you must first download the webmin installation package, and download the one at the end of tar.gz.
Download website: http://www.webmin.com/download.html

2. Transfer to CentOS 7 for software installation

Since I downloaded it on the host, I need to use the host’s software WinSCP, enter ifconfig in the virtual machine, get the IP address of CentOS 7, and then connect.
Of course, you can also directly download it in the "Applications-Favorites-Firefox" of CentOS 7 Download
Insert picture description here
Insert picture description here
in the browser” When this screen appears, select “Yes” to connect, and then transfer the webmin compressed package to the root user.
Insert picture description hereAt this time, you open the terminal, enter: ls, you can see the compressed package of webmin, use -C to decompress the file to a specific folder /usr/local/src/

[root@localhost ~]# ls
anaconda-ks.cfg       Tools                公共  视频  文档  音乐
initial-setup-ks.cfg  webmin-1.953.tar.gz  模板  图片  下载  桌面
[root@localhost ~]# tar -xzvf webmin-1.953.tar.gz -C /usr/local/src/

After decompression, during this process, you can enter the logic name you want, and then enter the password twice, except for Start Webmin at boot time (y/n): enter y, all others are Enter, and the installation is performed by default

[root@localhost ~]# cd /usr/local/src/
[root@localhost src]# ls
webmin-1.953
[root@localhost webmin-1.953]# ./setup.sh 
Config file directory [/etc/webmin]: 
Log file directory [/var/webmin]: 
Full path to perl (default /usr/bin/perl): 
Web server port (default 10000): 
Login name (default admin): 
Login password: 
Password again: 
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
Webmin has been installed and started successfully. Use your web
browser to go to

 http://localhost.CentOS7:10000/
 
and login with the name and password you entered previously.

3. The server is turned on and you can access it in the browser

As you can see from the above, http://localhost.CentOS7:10000/ is his website, but you must open its service to access it, and then open "Applications-Internet-Firefox" and place localhost.CentOS7 in it, Change to the URL of CentOS 7 to access it.

[root@localhost webmin-1.953]# /usr/local/src/webmin-1.953/webmin-init start

Insert picture description here
The URL is: http://192.168.60.132:10000/ The Insert picture description here
above operations are the installation and startup of webmin.
If you need to stop the service, enter

[root@localhost webmin-1.953]# /usr/local/src/webmin-1.953/webmin-init stop

webmin is installed and tested!

Guess you like

Origin blog.csdn.net/weixin_45950429/article/details/107464167