日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

WEBMIN在命令行下的安装

發布時間:2024/9/30 编程问答 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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在命令行下的安装的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。