Disable firewall and SElinux for Oracle Linux or Red Hat Enterprise Linux

Disable firewall 

Stop the iptables service:
# service iptables stop
service ip6tables stop

Stop the iptables service from starting when you restart the server:
# chkconfig iptables off
chkconfig ip6tables off


Disabling SELinux

To disable SELinux, 

configure SELINUX=disabled in /etc/selinux/config

Reboot your system. After reboot, confirm that the getenforce command returns Disabled.

No comments:

java.sql.SQLSyntaxErrorException: Access was denied to the user in MySQL 8.4.

 java.sql.SQLSyntaxErrorException: Access denied for user 'SIT'@'%' to database 'SIT' means the MySQL user SIT does ...