这个工具其实我在两年前的小白时期还是经常用的,因为那时候对Linux比较陌生在为数server的时候帮了我很多工作,现在周末外面下雨,闲来无事莫名其妙的想起他来。
工具优点:最大特点是他是脚本安装 不需要手动编译; 图形界面 直观简单。功能强大可以管理类似web apache 用户管理DNS 等等服务
缺点:消耗资源,不利于对Linux的理解,有一些底层的错误无法通过该工具进行维护。
工具获取:http://sourceforge.net/projects/webadmin/files/webmin/ 有很多版本,我就不在去下载了 我的数据盘里有1.6的所以我就不在去下载了
当然你如果在Linux 下载wget http://sourceforge.net/projects/webadmin/files/webmin/1.610/webmin-1.610.tar.gz
windows 下载:http://sourceforge.net/projects/webadmin/files/webmin/1.610/webmin-1.610.tar.gz 可以通过工具传到Linux server上
1 下载完成后 2 tar zxvf webmin-1.160.tar.gz 3 cd webmin.1.160/ 4 运行脚本 5 [[email protected] webmin-1.610]# ./setup.sh 6 [[email protected] webmin-1.610]# ./setup.sh 7 *********************************************************************** 8 * Welcome to the Webmin setup script, version 1.610 * 9 *********************************************************************** 10 Webmin is a web-based interface that allows Unix-like operating 11 systems and common Unix services to be easily administered. 12 13 Installing Webmin in /opt/webmin-1.610 ... 14 15 *********************************************************************** 16 Webmin uses separate directories for configuration files and log files. 17 Unless you want to run multiple versions of Webmin at the same time 18 you can just accept the defaults. 19 20 Config file directory [/etc/webmin]: 21 Log file directory [/var/webmin]: 22 23 *********************************************************************** 24 Webmin is written entirely in Perl. Please enter the full path to the 25 Perl 5 interpreter on your system. 26 27 Full path to perl (default /usr/bin/perl): 28 29 Testing Perl ... 30 Perl seems to be installed ok 31 32 *********************************************************************** 33 Operating system name: CentOS Linux 34 Operating system version: 6.4 35 36 *********************************************************************** 37 Webmin uses its own password protected web server to provide access 38 to the administration programs. The setup script needs to know : 39 - What port to run the web server on. There must not be another 40 web server already using this port. 41 - The login name required to access the web server. 42 - The password required to access the web server. 43 - If the webserver should use SSL (if your system supports it). 44 - Whether to start webmin at boot time. 45 46 Web server port (default 10000): 47 Login name (default admin): admin 48 Login password: 49 Password again: 50 The Perl SSLeay library is not installed. SSL not available. 51 Start Webmin at boot time (y/n): y 52 *********************************************************************** 53 Creating web server config files.. 54 ..done 55 56 Creating access control file.. 57 ..done 58 59 Inserting path to perl into scripts.. 60 ..done 61 62 Creating start and stop scripts.. 63 ..done 64 65 Copying config files.. 66 ..done 67 68 Configuring Webmin to start at boot time.. 69 ..done 70 71 Creating uninstall script /etc/webmin/uninstall.sh .. 72 ..done 73 74 Changing ownership and permissions .. 75 ..done 76 77 Running postinstall scripts .. 78 PID file /var/webmin/miniserv.pid does not exist 79 ..done 80 81 Enabling background status collection .. 82 PID file /var/webmin/miniserv.pid does not exist 83 ..done 84 85 Attempting to start Webmin mini web server.. 86 Starting Webmin server in /opt/webmin-1.610 87 Pre-loaded WebminCore 88 ..done 89 90 *********************************************************************** 91 Webmin has been installed and started successfully. Use your web 92 browser to go to 93 94 http://A1:10000/ 95 96 and login with the name and password you entered previously. 97 98 [[email protected] webmin-1.610]# curl http://localhost:10000
[[email protected] webmin-1.610]# ./setup.sh *********************************************************************** * Welcome to the Webmin setup script, version 1.610 * *********************************************************************** Webmin is a web-based interface that allows Unix-like operating systems and common Unix services to be easily administered. Installing Webmin in /opt/webmin-1.610 ... *********************************************************************** 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): admin Login password: Password again: The Perl SSLeay library is not installed. SSL not available. Start Webmin at boot time (y/n): y *********************************************************************** 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.. ..done Creating uninstall script /etc/webmin/uninstall.sh .. ..done Changing ownership and permissions .. ..done Running postinstall scripts .. PID file /var/webmin/miniserv.pid does not exist ..done Enabling background status collection .. PID file /var/webmin/miniserv.pid does not exist ..done Attempting to start Webmin mini web server.. Starting Webmin server in /opt/webmin-1.610 Pre-loaded WebminCore ..done *********************************************************************** Webmin has been installed and started successfully. Use your web browser to go to http://A1:10000/ and login with the name and password you entered previously. [[email protected] webmin-1.610]# curl http://localhost:10000
如果可以通过curl 访问那么证明安装成功,但如果我们想在其他pc上浏览需要注意的是在iptables 中开启10000端口
这个程序是支持中文的 可以再里面进行设置
不在过多叙述!
时间: 2024-11-08 06:36:58