FOR APACHE CENTOS 6:
Mã:cd echo 0 > /selinux/enforce setenforce 0 chkconfig mysqld on chkconfig httpd on chkconfig crond on chkconfig ntpd on systemctl enable mariadb systemctl enable httpd systemctl enable crond systemctl enable ntpd chown -R apache:apache /usr/share/nginx chown -R apache:apache /var/www/html chown -R apache:apache /home chown -R apache:apache /var/lib/php chmod 0777 -R /var/lib/php/session chmod 0777 -R /var/lib/php/wsdlcache ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime /etc/init.d/iptables save /etc/init.d/iptables stop chkconfig iptables off service httpd restart service mysqld restart service crond restart service ntpd restart cd /root rm -rf install-apacheos6.log rm -rf apacheos6.sh apacheos6php7.sh history -cw reboot cd



LinkBack URL
About LinkBacks








Trả lời kèm Trích dẫn
