root@localhost Downloads]# rpm -ivh hudson-3.3.3-1.1.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:hudson-3.3.3-1.1 ################################# [100%]
[root@localhost Downloads]# cd /etc/init.d/
[root@localhost init.d]# ls
functions hudson netconsole network README
[root@localhost init.d]# ./hudson status
hudson is stopped
[root@localhost init.d]# ./hudson start
Starting Hudson [ OK ]
[root@localhost init.d]# service tomcat stop
Redirecting to /bin/systemctl stop tomcat.service
[root@localhost init.d]# ./hudson status
hudson dead but pid file exists
[root@localhost init.d]# ./hudson stop
Shutting down Hudson [FAILED]
[root@localhost init.d]# ./hudson start
Starting Hudson [ OK ]
[root@localhost init.d]# ./hudson status
hudson dead but pid file exists
[root@localhost init.d]# ./hudson start
Starting Hudson [ OK ]
[root@localhost init.d]# ./hudson restart
Shutting down Hudson [FAILED]
Starting Hudson [ OK ]
[root@localhost init.d]# setenforce 0
[root@localhost init.d]# getenforce
Permissive
[root@localhost init.d]# vi /etc/se
securetty selinux/ sestatus.conf setuptool.d/
security/ services setroubleshoot/
[root@localhost init.d]# vi /etc/se
securetty selinux/ sestatus.conf setuptool.d/
security/ services setroubleshoot/
[root@localhost init.d]# vi /etc/selinux/config
[root@localhost init.d]#
root@localhost Downloads]# firewall-cmd --zone=public --add-port=8080/tcp --permanent
success
http://192.168.223.129:8080/ worked from outside
Comments
Post a Comment