WEBMIN在命令行下的安装
?從Webmin的主頁(http://www.webmin.com)介紹,可以知道,Webmin內置一個web server,web server和所有的cgi程序都是用perl 5編寫的。目前的Webmin版本支持多種UNIX和Linux版本,支持最好的是Solaris、Linux (尤其是Redhat)和FreeBSD。Webmin同時提供多種語言的界面支持,包括簡體中文,不過,考慮到老外對中文的翻譯水平,其翻譯并不徹底, 一些配置說明仍然是英文的。
1 在ubuntu的命令行下 下載
wget -c http://prdownloads.sourceforge.net/webadmin/webmin-1.441.tar.gz
目前最新是1.441
下載完成
?
2 解壓
tar xvzf webmin-1.441.tar.gz
?
3 然后進入cd webmin-1.441
4 輸入 setup.sh 開始安裝
?
***********************************************************************
* Welcome to the Webmin setup script, version 1.441 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /usr/webmin-1.441 ...
***********************************************************************
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): 檢查Perl安裝 或者直接鍵入回車
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name: Ubuntu
***********************************************************************
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 web server的端口
Login name (default admin): 通過瀏覽器登錄webmin的用戶名,默認為admin[建議修改為自己的一個登錄帳號]
Login password: 輸入用戶登錄密碼
Password again: 再次輸入用戶登錄密碼
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y 是否在linux啟動時運行webmin
***********************************************************************
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..
Created init script /etc/rc.d/init.d/webmin
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /usr/webmin-1.441
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web browser to go to
http://hostname:10000/
and login with the name and password you entered previously.
安裝結束。
如果沒有讓webmin開機啟動可以用下面的方法啟動
代碼:
# /etc/webmin/stop
//停止服務
# /etc/webmin/start
//啟動服務
現在您可以在瀏覽器里輸入http://localhost:10000
或者http://127.0.0.1:1000 來使用webmin管理你安裝的php+apache2+mysql 正常登錄
你可以修改語言為中文選中webmin的Change Language and Theme
總結
以上是生活随笔為你收集整理的WEBMIN在命令行下的安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ActionScript 3.0 优化
- 下一篇: WEBMIN里添加VSFTP控制模块