Cara Install Apache di Debian Server 9 - Mas Fadli

Sunday 5 April 2020

Cara Install Apache di Debian Server 9

Apache merupakan salah satu software web server yang banyak digunakan. Alasan banyak digunakan karena cukup mumpuni dan mudah untuk di konfigurasi.

Langkah Install

1. Update terlebih dahulu Debian Servernya. Ketikkan perintah:

$sudo apt update


2. Jika sudah install apache2 dengan perintah:

$sudo apt install apache2 -y


3. Jika sudah cek status apache2 nya apakah sudah aktif atau belum. Ketikkan perintah:

$sudo service apache2 status


Jika statusnya active maka apache2 sudah berjalan. Bisa di cek juga melalui web server. ketikkan IP server kalian masing masing

Perintah di apache2

1. Stop apache2

$sudo systemctl stop apache2.service


2. Start apache2

$sudo systemctl start apache2.service


3. Restart apache2

$sudo systemctl restart apache2.service


4. Reload apache2

$sudo systemctl reload apache2.service


Share with your friends

Give us your opinion

Notification
This is just an example, you can fill it later with your own note.
Done
close