SELinux
To disable SELinux, edit
1 |
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config |
Now you need to reboot. If you don’t want to reboot, disable it for current session with
1 |
setenforce 0 |
If you use SELinux, you may need to configure it for each applications.
For web server
1 2 |
setsebool httpd_can_network_connect true setsebool -P httpd_can_network_connect_db 1 |
CURL ERROR 7 could not establish a secure connection to WordPress.org
SELinux allow non default SSH port