[[email protected] ~]# tar -zxvf webmin-1.610.tar.gz
進入解壓目錄,命令如下:[[email protected] ~]# cd webmin-1.610
執行安裝程式 setup.sh,並指定功能選項,命令如下:
[[email protected] webmin-1.610]# ./setup.sh
**************************
* Welcome to the Webmin setup script,version 1.610 *
**************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /root/webmin-1.610...
**************************
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]:
#選擇安裝位置,預設安裝在/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 peri (default /usr/bin/perl):
#指定Perl語言的安裝位置,直接回車,選擇預設位置,Perl預設就安裝這裡
Testing Perl...
Perl seems to be installed ok
**************************
Operating system name: CentOS Linux Operating system version: 6.3
**************************
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):
#指定Webmin監聽的埠,直接回車,預設選定 10000
Login name (default admin):admin #輸入登入Webmin的使用者名稱
Login password:
Password again:
#輸入登陸密碼
The Perl SSLeay library is not installed.SSL not available.
#apache預設沒有啟動SSl功能,所以SSl沒有被啟用
Start Webmin at boot time (y/n):y
#是否在開機的同時啟動Webmin
…安裝過程省略…
Webmin has been installed and started successfully.Use your web browser to go to
http://localhost:10000/
and login with the name and password you entered previously.
#安裝完成