1. 程式人生 > >好久不見webmin

好久不見webmin

webmin bacula

一直不太習慣用Linux下的圖形化的工具,但不得不說,現在Linux下的開源工具展示效果都還不錯,因為生產用的bacula備份軟件做備份,前段時間搭了一套bacula-web,用作備份展示都還不錯,但美中不足的是沒法再圖形界面配置備份和調度。晚上突然想起了Linux圖形化管理的一個神器webmin,在CenOS7下安裝和配置了下:

# wget https://nchc.dl.sourceforge.net/project/webadmin/webmin/1.870/webmin-1.870.tar.gz
# tar -zxf webmin-1.870.tar.gz 
# ls
rh  webmin-1.870  webmin-1.870.tar.gz
# cd webmin-1.870/
# whereis perl
perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz
# ./setup.sh 
***********************************************************************
*            Welcome to the Webmin setup script, version 1.870        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /opt/webmin-1.870 ...
***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]: 
Log file directory [/var/webmin]: 
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
Full path to perl (default /usr/bin/perl): 
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 7.3.1611
***********************************************************************
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: 
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
***********************************************************************
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
Configuring Webmin to start at boot time..
..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 /opt/webmin-1.870
Pre-loaded WebminCore
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
  http://xxx.xxx.xx.xx:10000/
and login with the name and password you entered previously.

技術分享圖片

查看下備份的調度:

技術分享圖片

Backup Jobs:

技術分享圖片


好久不見webmin