qwe8258@qq.com 发表于 2013-7-31 17:24:52

webmin安装

系统环境:centos6.0
webmin 是一款强大的Unix、Linux系统管理工具。管理Linux起来比较方便。
官方网站下载地址:www.webmin.com
我的Linux系统里面没有安装webmin,就想在自己的系统里面安装一个这东西玩玩。
使用命令:wget http://prdownloads.sourceforge.net/webadmin/webmin-1.490-minimal.tar.gz
下载一个webmin的源码包。使用tar -zxvf webmin-1.490-minimal.tar.gz 解压缩这个文件,会
在同一目录下面产生一个与文件名字相同的文件夹webmin-1.490-minimal。
进入webmin-1.490-minimal目录下面,找到setup.sh文件。./setup.sh/usr/webmin。执行这个shell脚本。
***********************************************************************
*            Welcome to the Webmin setup script, version 1.490      *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /home/webmin-1.490 to /usr/local/webmin ...

***********************************************************************
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 :
Log file directory :

***********************************************************************
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):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 5.5

***********************************************************************
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):
Login name (default admin):
Login password:
Password again:
Use SSL (y/n): y
Start Webmin at boot time (y/n): y

— — 前面的需要选择的可以一直的敲回车,直到最后需要输入登入密码的时候输入一个密码就OK。其他的都可以保持默认设置。不过要记住账户,登入webmin的账户是admin。端口是:10000
***********************************************************************
Copying files to /usr/local/webmin ..
..done

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/local/webmin
Pre-loaded WebminCore
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

https://centos:10000/

and login with the name and password you entered previously.

Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

启动 webmin之后,可以在其他机器上测试。
输入地址https://ip:10000。显示如下图。

G0398 发表于 2013-8-4 15:44:15

看起来很牛x的样子   只是现在还在win的怀抱
页: [1]
查看完整版本: webmin安装