Mar 17
ubuntu下WEBMIN的安装
Linux/Unix
下载webmin的tar.gz包,因为我没能找到在源里我到了官方主页下载
http://www.webmin.com/
网上找到的一个Webmin安装指南 (出自http//jesse.blogschina.com/200510/67.html)
Jesse Lee 发表于 2005年10月24日 22:33 | 433 查看
现在在互联网上可以找到非常多的免费的Linux管理工具,这的确大大方便了对系统的管理。对于一个有经验的系统管理员来说,如果能够方便地找到这些工 具,并正确自如地加以运用,管理一个Linux系统将是一个非常容易的事情。而Webmin就是一个免费的基于web界面的系统管理工具,可以通过浏览器 对Linux系统进行远程配置和管理。
从Webmin的主页(http://www.webmin.com)介绍,可以知道,Webmin内置一个web server,web server和所有的cgi程序都是用perl 5编写的。目前的Webmin版本支持多种UNIX和Linux版本,支持最好的是Solaris、Linux (尤其是Redhat)和FreeBSD。Webmin同时提供多种语言的界面支持,包括简体中文,不过,考虑到老外对中文的翻译水平,其翻译并不彻底, 一些配置说明仍然是英文的。
一. Webmin下载
http://www.webmin.com 或者这里
在webmin首页的右上角即可看到最新版本的下载信息,其下载包括两种包装,一种是tar压缩包,一种是rpm安装包。
1. Webmin安装
1). 压缩包安装
在该目录下有个README文件,指出了运行setup.sh即可完成安装过程,但是在安装后,不能删除本目录,因为webmin将从该目录运行。
***********************************************************************
* Welcome to the Webmin setup script, version 1.100 *
***********************************************************************
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.100 ...
***********************************************************************
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: Redhat Linux
Operating system version: 8.0
***********************************************************************
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.100
..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开机启动可以用下面的方法启动
现在您可以在浏览器里输入http://localhost:10000
或者http://127.0.0.1:1000 来使用webmin管理你安装的php+apache2+mysql 正常登录
你可以修改语言为中文选中webmin的Change Language and Theme
百度搜索 Google搜索 YaHoo搜索
http://www.webmin.com/
网上找到的一个Webmin安装指南 (出自http//jesse.blogschina.com/200510/67.html)
Jesse Lee 发表于 2005年10月24日 22:33 | 433 查看
现在在互联网上可以找到非常多的免费的Linux管理工具,这的确大大方便了对系统的管理。对于一个有经验的系统管理员来说,如果能够方便地找到这些工 具,并正确自如地加以运用,管理一个Linux系统将是一个非常容易的事情。而Webmin就是一个免费的基于web界面的系统管理工具,可以通过浏览器 对Linux系统进行远程配置和管理。
从Webmin的主页(http://www.webmin.com)介绍,可以知道,Webmin内置一个web server,web server和所有的cgi程序都是用perl 5编写的。目前的Webmin版本支持多种UNIX和Linux版本,支持最好的是Solaris、Linux (尤其是Redhat)和FreeBSD。Webmin同时提供多种语言的界面支持,包括简体中文,不过,考虑到老外对中文的翻译水平,其翻译并不彻底, 一些配置说明仍然是英文的。
一. Webmin下载
http://www.webmin.com 或者这里
| 代码: |
| wget -c http://prdownloads.sourceforge.net/webadmin/webmin-1.270.tar.gz |
在webmin首页的右上角即可看到最新版本的下载信息,其下载包括两种包装,一种是tar压缩包,一种是rpm安装包。
1. Webmin安装
1). 压缩包安装
| 代码: |
| 我把它拷贝到了/usr/loacl |
| 代码: |
| # tar xvzf webmin-1.100.tar.gz # cd webmin-1.100 |
在该目录下有个README文件,指出了运行setup.sh即可完成安装过程,但是在安装后,不能删除本目录,因为webmin将从该目录运行。
| 代码: |
| 如果是一般用户切换到root |
| 代码: |
| #sudo su # ./setup.sh |
***********************************************************************
* Welcome to the Webmin setup script, version 1.100 *
***********************************************************************
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.100 ...
***********************************************************************
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: Redhat Linux
Operating system version: 8.0
***********************************************************************
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.100
..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
赞助商