一直不太習慣用Linux下的圖形化的工具,但不得不說,現在Linux下的開源工具展示效果都還不錯,因為生産用的bacula備份軟體做備份,前段時間搭了一套bacula-web,用作備份展示都還不錯,但美中不足的是沒法再圖形界面配置備份和排程。晚上突然想起了Linux圖形化管理的一個神器webmin,在CenOS7下安裝和配置了下:
<code># wget https://nchc.dl.sourceforge.net/project/webadmin/webmin/1.870/webmin-1.870.tar.gz</code>
<code># tar -zxf webmin-1.870.tar.gz </code>
<code># ls</code>
<code>rh webmin-1.870 webmin-1.870.</code><code>tar</code><code>.gz</code>
<code># cd webmin-1.870/</code>
<code># whereis perl</code>
<code>perl: </code><code>/usr/bin/perl</code> <code>/usr/share/man/man1/perl</code><code>.1.gz</code>
<code># ./setup.sh </code>
<code>***********************************************************************</code>
<code>* Welcome to the Webmin setup script, version 1.870 *</code>
<code>Webmin is a web-based interface that allows Unix-like operating</code>
<code>systems and common Unix services to be easily administered.</code>
<code>Installing Webmin </code><code>in</code> <code>/opt/webmin-1</code><code>.870 ...</code>
<code>Webmin uses separate directories </code><code>for</code> <code>configuration files and log files.</code>
<code>Unless you want to run multiple versions of Webmin at the same </code><code>time</code>
<code>you can just accept the defaults.</code>
<code>Config </code><code>file</code> <code>directory [</code><code>/etc/webmin</code><code>]: </code>
<code>Log </code><code>file</code> <code>directory [</code><code>/var/webmin</code><code>]: </code>
<code>Webmin is written entirely </code><code>in</code> <code>Perl. Please enter the full path to the</code>
<code>Perl 5 interpreter on your system.</code>
<code>Full path to perl (default </code><code>/usr/bin/perl</code><code>): </code>
<code>Testing Perl ...</code>
<code>Perl seems to be installed ok</code>
<code>Operating system name: CentOS Linux</code>
<code>Operating system version: 7.3.1611</code>
<code>Webmin uses its own password protected web server to provide access</code>
<code>to the administration programs. The setup script needs to know :</code>
<code> </code><code>- What port to run the web server on. There must not be another</code>
<code> </code><code>web server already using this port.</code>
<code> </code><code>- The login name required to access the web server.</code>
<code> </code><code>- The password required to access the web server.</code>
<code> </code><code>- If the webserver should use SSL (</code><code>if</code> <code>your system supports it).</code>
<code> </code><code>- Whether to start webmin at boot </code><code>time</code><code>.</code>
<code>Web server port (default 10000): </code>
<code>Login name (default admin): </code>
<code>Login password: </code>
<code>Password again: </code>
<code>The Perl SSLeay library is not installed. SSL not available.</code>
<code>Start Webmin at boot </code><code>time</code> <code>(y</code><code>/n</code><code>): y</code>
<code>Creating web server config files..</code>
<code>..</code><code>done</code>
<code>Creating access control </code><code>file</code><code>..</code>
<code>Inserting path to perl into scripts..</code>
<code>Creating start and stop scripts..</code>
<code>Copying config files..</code>
<code>Configuring Webmin to start at boot </code><code>time</code><code>..</code>
<code>Creating uninstall script </code><code>/etc/webmin/uninstall</code><code>.sh ..</code>
<code>Changing ownership and permissions ..</code>
<code>Running postinstall scripts ..</code>
<code>Enabling background status collection ..</code>
<code>Attempting to start Webmin mini web server..</code>
<code>Starting Webmin server </code><code>in</code> <code>/opt/webmin-1</code><code>.870</code>
<code>Pre-loaded WebminCore</code>
<code>Webmin has been installed and started successfully. Use your web</code>
<code>browser to go to</code>
<code> </code><code>http:</code><code>//xxx</code><code>.xxx.xx.xx:10000/</code>
<code>and login with the name and password you entered previously.</code>
檢視下備份的排程:
Backup Jobs:
本文轉自 冰凍vs西瓜 51CTO部落格,原文連結:http://blog.51cto.com/molewan/2054947,如需轉載請自行聯系原作者