GNU/Linux comes bundled with two core security components:
- A firewall (typically either iptables or firewalld), which will block incoming connections that were not specifically allowed.
- SELinux, a kernel security module that enforces access control policies on software, files and network resources.
The default configuration for these components will prevent clients from connecting to a Harmony database server. This installation guide provides instructions on how to add security exceptions to these components so that they do not have to be disabled. However, you may prefer to disable them so as to simplify the installation process or to rule out security components as possible causes when troubleshooting an issue.
-
In a terminal, enter the following commands:
$ sudo chkconfig iptables off
$ sudo service iptables stop
-
In a terminal, enter the following commands:
$ sudo systemctl disable firewalld
$ sudo systemctl stop firewalld
-
In a terminal, enter the following command:
$ sudo vi /etc/selinux/config
-
Find the line with the following parameter:
SELINUX=enforcing
-
Replace enforcing with disabled:
SELINUX=disabled
IMPORTANT Double-check to make sure you did not make any typo. An error in the SELinux configuration file may cause GNU/Linux to fail to boot. - Save and quit.
- Reboot to apply the new configuration.
Comments
0 comments
Article is closed for comments.