Académique Documents
Professionnel Documents
Culture Documents
#!/bin/bash
yum install httpd php php-mysql -y
service httpd start
systemctl enable httpd
echo "<h1>Hello World</h1>" >> /var/www/html/index.html
Ressources et Annexes :
******************************** Section pour le serveur 1********************************
#!/bin/bash
yum install httpd –y
service httpd start
echo "<h1>SERVEUR NUMERO 1</h1>" >> /var/www/html/index.html
******************************** Section pour le serveur 2********************************
#!/bin/bash
yum install httpd –y
service httpd start
echo "<h1>SERVEUR NUMERO 2</h1>" >> /var/www/html/index.html
******************************** Section pour le serveur 3********************************
#!/bin/bash
yum install httpd –y
service httpd start
echo "<h1>SERVEUR NUMERO 3</h1>" >> /var/www/html/index.html