Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### COMANDOS USADOS NO TUTORIAL ####
- yum update
- yum upgrade
- yum update httpd
- yum install httpd
- systemctl start httpd
- systemctl status httpd
- mkdir -p /var/www/SEUSITE.COM.BR/html
- mkdir -p /var/www/SEUSITE.COM.BR/log
- chmod -R 755 /var/www
- vi /var/www/SEUSITE.COM.BR/html/index.html
- mkdir /etc/httpd/sites-available /etc/httpd/sites-enabled
- vi /etc/httpd/conf/httpd.conf
- IncludeOptional sites-enabled/*.conf
- vi /etc/httpd/sites-available/SEUSITE.COM.BR.conf
- <VirtualHost *:80>
- ServerName www.SEUSITE.COM.BR
- ServerAlias SEUSITE.COM.BR
- DocumentRoot /var/www/SEUSITE.COM.BR/html
- ErrorLog /var/www/SEUSITE.COM.BR/log/error.log
- CustomLog /var/www/SEUSITE.COM.BR/log/requests.log combined
- </VirtualHost>
- ln -s /etc/httpd/sites-available/SEUSITE.COM.BR/etc/httpd/sites-enabled/SEUSITE.COM.BR.conf
- systemctl restart httpd
- #### FIM DOS COMANDOS USADOS NO TUTORIAL ####
Advertisement
Add Comment
Please, Sign In to add comment