[1] Install required Perl module first.
[root@rfid ~]# yum -y install perl-Net-SSLeay
[2] Download Webmin and install it ( http://download.webmin.com/download/yum/ )
[root@rfid ~]# wget http://download.webmin.com/download/yum/webmin-1.610-1.noarch.rpm
--2013-01-11 16:33:08-- http://download.webmin.com/download/yum/webmin-1.610-1.noarch.rpm
Resolving download.webmin.com... 108.60.199.115
Connecting to download.webmin.com|108.60.199.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21497492 (21M) [application/octet-stream]
Saving to: “webmin-1.610-1.noarch.rpmâ€
100%[================================================================================================================================>] 21,497,492 1.27M/s in 22s
2013-01-11 16:33:31 (934 KB/s) - “webmin-1.610-1.noarch.rpmâ€
[root@rfid ~]#
[root@rfid ~]# rpm -Uvh webmin-1.610-1.noarch.rpm
warning: webmin-1.610-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
Preparing... ########################################### [100%]
Operating system is CentOS Linux
1:webmin ########################################### [100%]
Webmin install complete. You can now login to https://rfid:10000/
as root with your root password.
[root@rfid ~]#
[root@rfid bin]# vi /etc/sysconfig/iptables
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
[root@rfid bin]# service iptables restart
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
[root@rfid bin]#
[root@rfid bin]#
[root@rfid ~]#
[root@rfid ~]# /etc/rc.d/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
Starting Webmin server in /usr/libexec/webmin
Pre-loaded WebminCore
[root@rfid ~]#
'OS > Linux' 카테고리의 다른 글
Install PostgreSQL on CentOS 6.3 [ 설치 , 백업 , 복구 ] (0) | 2020.04.27 |
---|---|
Starting Tomcat as a Service on Linux (리눅스 부팅시 Tomcat 시작하기 ) (0) | 2020.04.27 |
CentOS / DNS server (0) | 2020.04.27 |
CentOS / setup / CentOS min의경우 설치안됨 (0) | 2020.04.26 |
CentOS / 보안 업데이트 및 설정관련사항 (0) | 2020.04.26 |