Changes

From SME Server
Jump to navigationJump to search
532 bytes added ,  14:06, 18 March 2016
Line 581: Line 581:  
   yum update -y
 
   yum update -y
 
  yum install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim
 
  yum install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim
 +
 +
*disable SELinux
 +
SELinux is enabled by default. We want to disable it for there are a few services (e.g. httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command:
 +
getenforce
 +
 +
SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands:
 +
setenforce 0
 +
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 +
yum remove selinux-policy-targeted
 +
    
*  Enable SSH
 
*  Enable SSH
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu