0% found this document useful (0 votes)
14 views1 page

Web Server Setup Guide

The document provides a step-by-step guide for setting up an Apache web server with PHP on a Debian system. It includes instructions for configuring the server, creating a website directory, and testing the setup by accessing a PHP info page through a web browser. The process involves modifying configuration files, enabling the new site, and ensuring network connectivity.

Uploaded by

Hafiz Hablillah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Web Server Setup Guide

The document provides a step-by-step guide for setting up an Apache web server with PHP on a Debian system. It includes instructions for configuring the server, creating a website directory, and testing the setup by accessing a PHP info page through a web browser. The process involves modifying configuration files, enabling the new site, and ensuring network connectivity.

Uploaded by

Hafiz Hablillah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

> apt-get install apache2 php7.

3 > yes
> cd /etc/apache2/sites-available
> cp [Link] [Link]
> nano [Link]
> dibagian ServerAdmin webmaster@localhost (Email Admin)
DocumentRoot /var/www/html (Folder Website)

> diganti ServerAdmin nemtech@[Link]


DocumentRoot /var/www/nemtech > Save
> a2dissite [Link] (Disable website default)
> a2ensite [Link] (Enable website yang kita buat)

> cd /var/www > enter


> mkdir nemtech (Buat Folder Website)
> cd nemtech (Masuk Folder Website)
> nano [Link]

> <html>
Nama :
Kelas :
</html>

> nano [Link]


<?php
phpinfo();
?> (Save)

> /etc/init.d/apache2 restart


> service apache2 status

> ip a (mengecek IP Debian) (contoh [Link]/27)


> masuk ke VMnet 1 di Control Panel, pastikan IP satu network dengan di Server
Debian

Pengecekan
> Buka Browser > lalu ketikan IP Server Debian
> [Link]/[Link]

You might also like