Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. apt-get update
  4. apt-get install -y apache2
  5.  
  6. echo "<html>
  7. <header><title>This is title</title></header>
  8. <body>
  9. Hello world
  10. </body>
  11. </html>
  12. " > /var/www/index.html
  13. sed -i 's/Allow from all/deny from all/i' /etc/apache2/sites-available/default
  14. service apache2 reload
  15.  
  16.  
  17.  
  18. echo '127.0.0.1 www.ascii-art.de' >> /etc/hosts
  19. ip route add 208.86.224.90/32 dev eth0 src 192.168.100.10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement