Install Web Server
A. Prepare materials for install Web server :
1. Debian Server 7.8.0
2. Virtual Box
3. Laptop OS Ubuntu as client
4. Apache2, PHP5, dan bind9
B. Step by step :
1. First install debian server on virtual box.
2. After debian installed, then setting network on debian. Before that you must Login as root. Then typing 'nano /etc/network/interfaces'
3. Then insert Ip address to server. Insert as this image.
4. Restart server network, typing '/etc/init.d/networking restart'
5. After that,setting network on virtual box. On Adapter 1, select NAT on option Attached , for server connect ISP or internet.
6. Setting Adapter 2, tick Enabled Network Adapter, on Attached select Host Only Adapter. This for connecting Server and client.
7. Then konfiguration IP for client, through Virtual Box. Open menu Prefrences on virtualbox. Then on menu network, select Host Only Adaptor.
8. Then click icon screwdriver, insert IP client together with server.
9. Klik Ok for save
10. after That test with ping server to client, client to server, and ping server to internet (Google.com).
![]() |
| Ping server to client |
![]() |
| ping client to server |
![]() |
| Ping server to internet |
11. Update debian server, typing 'apt-get update'
13. After update. Install Apache2 and Php5. 'apt- get install apache2 php5'.
14. Open browser on client. And typing IP address server. Web Server running on server.
15. Edit index.html in direktori /var/www/html. Typing 'nano /var/www/html/index.html.
![]() |
| before editing |
![]() |
| after editing |
16. Finally, check on browser.
![]() |
| web server after editing |
Install and konfigurasi web server finish. Thanks for visit.
Leave your comment.













#ref-menu
No comments:
Write comments