在书上看到有关webmin的介绍,感觉是个很有用的东西,而且可以简化linux的配置程序。有些东西不用敲命令就可以搞定,还是很不错的。于是决定安装、配置一下。
首先在[url]http://www.webmin.com[/url](webmin的官方网站上)下载webmin的最新版本。我这里用的是webmin-1.441.tar.gz。
***********************************************************************
* 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 /root/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]: /etc/webmin-1.441
--这步一定要选另一个安装路径,我用默认的总是安装不成功。
Log file directory [/var/webmin]: /etc/webmin-1.441
--同上
***********************************************************************
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.2
***********************************************************************
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):
--设置端口号,默认是10000
Login name (default admin):
--设置登录名,默认是admin
Login password:
Password again:
Use SSL (y/n): n
--是否需要SSL验证
Start Webmin at boot time (y/n): y
--是否在系统启动时启动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-1.441/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /root/webmin-1.441
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
[url]http://localhost.localdomain:10000/[/url] --访问webmin的路径
and login with the name and password you entered previously.
以上配置完毕就可以登陆webmin了。
通过这个窗口就可以登陆进webmin了
关于webmin内如何操作 敬请期待...