Last active
April 3, 2021 15:02
-
-
Save hemanth22/495c13af924915912986761fbe88dd11 to your computer and use it in GitHub Desktop.
httpd installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install httpd -y | |
service httpd start | |
systemctl status -l httpd | |
echo "<h1>Served from Server2, Linux 2</h1>" > /var/www/html/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
Install-WindowsFeature -Name web-server -IncludeManagementTools | |
</powershell> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment