[webmin]
웹 상에서 시스템에 종합 관리 툴. <다운로드 및 설치> http://sourceforge.net/projects/webadmin/files/webmin/1.490/webmin-1.490.tar.gz/download [root@jo:/usr/local]#wget http://sourceforge.net/projects/webadmin/files/webmin/1.490/webmin-1.490.tar.gz/download
[root@jo:/usr/local]#tar xvfz webmin-1.490.tar.gz
[root@jo:/usr/local]#mv webmin-1.490 webmin [root@jo:/usr/local]#cd webmin |
--
[root@jo:/usr/local/webmin]#./setup.sh *********************************************************************** * 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 in /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.3 . *********************************************************************** 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. //접속하고 싶은 포트 번호로 바꾸면 된다. //이거를 하고 나서 iptables를 바꿔줘야 한다. Web server port (default 10000): 12345 Login name (default admin): Login password: Password again: Use SSL (y/n): yes Start Webmin at boot time (y/n): yes *********************************************************************** 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 .. ..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 . http://jo.cho.iss:12345/ . and login with the name and password you entered previously. |
--
[root@jo:/usr/local/webmin]#cd [root@jo:~]#vi fwrule.sh 맨 밑에 추가 ## 11. Webmin Allow # xp -> FW Webmin allow iptables -A INPUT -p tcp --s 192.168.10.26 --sport 1024: --dport 12345 -m state --state NEW -j ACCEPT |
--
[root@jo:~]#./fwrule.sh iptables: Chain already exists [root@jo:~]#service iptables save Saving firewall rules to /etc/sysconfig/iptables: [ OK ] |
--
<webmin 실행>
--
--
--
<webmin 실행>
--
--
--
Iptables 룰 적용한 것 다 나와 있다.
--