Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
7 - ZeroStopBits
1 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
nano /etc/sysconfig/selinux
SELINUX=enabled
27/07/2016 11:49
2 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
SELINUX=disabled
nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
shutdown -r now
httpd-2.2
php-5.3
mysql-5.1
ntp-4.2
wget-1.12
27/07/2016 11:49
3 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
chkconfig ntpd on
ntpdate pool.ntp.org
service ntpd start
mkdir -p /var/www/virtual/
chown -R apache:apache /var/www/virtual/
chmod -R 755 /var/www/virtual/
nano /etc/httpd/conf/httpd.conf
27/07/2016 11:49
4 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
ServerSignature Off
ServerTokens Prod
chkconfig httpd on
service httpd start
nano /etc/sysconfig/iptables
-A INPUT -i lo -j ACCEPT
chkconfig mysqld on
service mysqld start
27/07/2016 11:49
5 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
mysql_secure_installation
27/07/2016 11:49
6 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
27/07/2016 11:49
7 sur 7
https://www.zerostopbits.com/how-to-install-apache-mysql-and-php-o...
27/07/2016 11:49