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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值