Linux管理工具--Webmin安装

一、Webmin简介

Webmin是目前功能最强大的基于Web的Unix系统管理工具。管理员通过浏览器访问Webmin的各种管理功能并完成相应的管理动作。目前Webmin支持绝大多数的Unix系统,这些系统除了各种版本的linux以外还包括:AIX、HPUX、Solaris、Unixware、Irix和FreeBSD等。

 

二、Webmin安装

1、下载

[root@bogon opt]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.740.tar.gz
--2016-02-25 05:33:46--  http://prdownloads.sourceforge.net/webadmin/webmin-1.740.tar.gz
http://120.52.73.45/nchc.dl.sourceforge.net/project/webadmin/webmin/1.740/webmin-1.740.tar.gz
Connecting to 120.52.73.45:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25222434 (24M) [application/x-gzip]
Saving to: 鈝ebmin-1.740.tar.gz?

100%[=============================>] 25,222,434   531K/s   in 47s    

2016-02-25 05:34:54 (520 KB/s) - ebmin-1.740.tar.gz aved [25222434/25222434]

2、解压缩

[root@bogon opt]# ls
rh  webmin-1.740.tar.gz
[root@bogon opt]# tar -zxvf webmin-1.740.tar.gz
[root@bogon opt]# mv webmin-1.740 webmin1.7
[root@bogon opt]# cd webmin1.7/

 

3、安装

进入安装目录:cd webmin1.7

执行命令./setup.sh

开始安装

[root@bogon webmin1.7]# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.740        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /opt/webmin1.7 ...

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

***********************************************************************
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: --设置确认口令
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n):
***********************************************************************
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

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..

Subroutine search_gpg_keys redefined at /opt/webmin1.7/webmin/gnupg-lib.pl line 442.
..done

Enabling background status collection ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /opt/webmin1.7
Pre-loaded WebminCore
..done

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

  http://bogon:10000/

and login with the name and password you entered previously.

 

4、验证

在浏览器输入开始http://bogon:10000/访问

 

 

你可能感兴趣的:(Linux管理工具--Webmin安装)