rpm –qa | grep subversion
방화벽 설정(svn 외부 접속)
vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3690 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
방화벽 설정을 적용시킨다.
]# service iptables restart
echo $LANG
#jenkins...
sudo service jenkins start
$ sudo service jenkins status
$ sudo chkconfig jenkins on
Allow the ports on firewall
Allow the required ports on firewall for public access.
[Open a Port on CentOS/RHEL 7 & Fedora]
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload
Open a Port on CentOS/RHEL 6
$ sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
$ sudo iptables -I INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
$ sudo service iptables save