Advertisement
Javi

Azure: Install and run apache on Ubuntu

Apr 3rd, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. sudo apt-get install -y apache2
  4. sudo sh -c 'echo "<html><body>Creation date: $(date) </body></html>" > /var/www/html/index.html'
  5. sudo /etc/init.d/apache2 start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement