Bomi
分类: 系统运维
2012-02-05 00:43:59
如果你选择的是完整安装,那么Webmin的软件包已经安装到你的机器上了,我们只**行下配置脚本就可用了!
1.切换到软件包所在目录:
# cd /usr/sfw/lib/webmin
2.安装Webmin 必须以root用户登入,所以我从当前终端su到root
$ su
Password:
# pwd
/usr/sfw/lib/webmin
3行安装脚步进行Webmin的安装
# ./setup.sh
***********************************************************************
* Welcome to the Webmin setup script, version 1.170 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /usr/sfw/lib/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.
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name: Sun Solaris
Operating system version: 10
***********************************************************************
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): 10017//这里我使用端口: 10017
Login name (default admin): Login password: ***********************************************************************
Creating web server config files..
..done
Creating access control file..
..done
Creating start and stop scripts..
..done
Copying config files..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Attempting to start Webmin mini web server..
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
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页面来配置你的服务器了!
[ 本帖最后由 云杉上的蝴蝶 于 2008-8-3 18:26 编辑 ]