鱼C论坛

 找回密码
 立即注册
查看: 3376|回复: 1

[技术交流] webmin安装

[复制链接]
发表于 2013-7-31 17:24:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
系统环境: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 [/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):

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。显示如下图。
QQ图片20130731172901.jpg
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2013-8-4 15:44:15 | 显示全部楼层
看起来很牛x的样子   只是现在还在win的怀抱
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-12-23 05:12

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表