Tag: RHEL7

firewalld examples on RHEL7

firewall-cmd –get-zones MYSQL SERVER firewall-cmd --permanent --zone=public --change-interface=eth0 firewall-cmd --permanent --zone=public --list-all firewall-cmd --permanent --zone=public --add-port=3306/tcp firewall-cmd --reload CONFLUENCE, JIRA & QUALYS firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --permanent --zone=public --add-port=443/tcp firewall-cmd --permanent --zone=public --add-port=8090/tcp firewall-cmd --permanent --zone=public --add-port=8080/tcp firewall-cmd --permanent --zone=public...

Create systemd service on RHEL7 for Atlassian Crowd

[root@testserv]# cat /usr/lib/systemd/system/crowd.service [Unit] Description=Crowd Service After=network.target iptables.service firewalld.service firewalld.service httpd.service [Service] Type=forking User=root Environment=JRE_HOME=/usr/java/jdk1.8.0_74 ExecStart=/opt/atlassian/atlassian-crowd-2.8.4/bin/start_crowd.sh ExecStop=/opt/atlassian/atlassian-crowd-2.8.4/bin/stop_crowd.sh ExecReload=/opt/atlassian/atlassian-crowd-2.8.4/bin/stop_crowd.sh | sleep 60 | //opt/atlassian/atlassian-crowd-2.8.4/bin/start_crowd.sh [Install] WantedBy=multi-user.target Register new service systemctl daemon-reload systemctl enable crowd.service systemctl start crowd.service   Please follow and like...