Enviado em 25/07/2015 - 15:14h
Galera alguém ajuda por favor.Enviado em 25/07/2015 - 19:31h
Olá,sudo chmod -R 775 /home/diego/www
sudo chown -R apache:apache /home/diego/www
sudo service apache2 restart
sudo sed -i '/SELINUX/ s/enforcing/disabled/1' /etc/selinux/config
sudo reboot
Enviado em 26/07/2015 - 13:55h
sudo chmod -R 775 /home/diego/www
sudo chown -R apache:apache /home/diego/www
sudo service apache2 restart
sudo sed -i '/SELINUX/ s/enforcing/disabled/1' /etc/selinux/config
sudo reboot
Enviado em 26/07/2015 - 14:08h
Opa,history service httpd status service apache2 status whereis httpd whereis apache2 ls -la /home/diego/www cat -n /etc/apache2/sites-enabled/* cat -n /etc/httpd/conf/httpd.conf
Enviado em 26/07/2015 - 15:15h
history service httpd status service apache2 status whereis httpd whereis apache2 ls -la /home/diego/www cat -n /etc/apache2/sites-enabled/* cat -n /etc/httpd/conf/httpd.conf
[root@ns500529 ~]# service httpd status Redirecting to /bin/systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: active (running) since Sun 2015-07-26 12:48:51 EDT; 1h 1min ago Main PID: 14381 (httpd) Status: "Total requests: 10; Current requests/sec: 0; Current traffic: 0 B/sec" CGroup: /system.slice/httpd.service ├─14381 /usr/sbin/httpd -DFOREGROUND ├─14383 /usr/sbin/httpd -DFOREGROUND ├─14384 /usr/sbin/httpd -DFOREGROUND ├─14385 /usr/sbin/httpd -DFOREGROUND ├─14386 /usr/sbin/httpd -DFOREGROUND ├─14387 /usr/sbin/httpd -DFOREGROUND └─14388 /usr/sbin/httpd -DFOREGROUND Jul 26 12:48:51 ns500529.ip-192-99-1.net systemd[1]: Started The Apache HTTP ... Hint: Some lines were ellipsized, use -l to show in full.
[root@ns500529 ~]# service apache2 status Redirecting to /bin/systemctl status apache2.service apache2.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
[root@ns500529 ~]# whereis httpd httpd: /usr/sbin/httpd /usr/lib64/httpd /etc/httpd /usr/share/httpd /usr/share/man/man8/httpd.8.gz
[root@ns500529 ~]# whereis apache2 apache2:[root@ns500529 ~]#
[root@ns500529 ~]# ls -la /home/diego/www total 24 drwxrwxr-x 5 apache apache 4096 Jul 25 12:42 . drwxrw---- 28 diego diego 4096 Jul 26 12:39 .. drwxrwxr-x 2 apache apache 4096 Jul 25 12:02 cgi-bin drwxrwxr-x 2 apache apache 4096 Jul 25 12:42 html -rwxrwxr-x 1 apache apache 7 Jul 25 12:03 index.php drwxrwxr-x 3 apache apache 4096 Jul 25 13:09 Torrent
[root@ns500529 ~]# cat -n /etc/apache2/sites-enabled/* cat: /etc/apache2/sites-enabled/*: No such file or directory [root@ns500529 ~]# cat -n /etc/httpd/sites-enabled/* cat: /etc/httpd/sites-enabled/*: No such file or directory
Enviado em 26/07/2015 - 15:52h
Estava redigindo a resposta, quando achei esse tuto: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7Enviado em 27/07/2015 - 18:51h
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
Solução rápida para o problema do Network Manager conectar mas não navegar
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
Erro na atualização dos apps na barra de tarefas (8)
Microtik Wan IPv6 é Lan IPv4 (0)