Install Nginx di Debian 10

Sebenarnya untuk menginstall nginx, Packagenya sudah tersedia dalam repository debian.
Langkah pertama cukup update

[email protected]~ # apt update
[email protected]~ # apt install nginx

Nginx sudah terinstall di debian, coba dilihat status dari nginx services

[email protected]~ # systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-07-03 12:52:54 UTC; 4min 23s ago
     Docs: man:nginx(8)
 Main PID: 942 (nginx)
    Tasks: 3 (limit: 4719)
   Memory: 6.1M
   CGroup: /system.slice/nginx.service
           ├─942 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
           ├─943 nginx: worker process
           └─944 nginx: worker process

Kalau services masih dead/tidak active. gunakan perintah service untuk mengaktifkannya

[email protected]~ # systemctl restart nginx

Sekarang kita bisa check apakah sudah bisa browsing ke http://serverip/

Selamat anda sudah selesai menginstall Nginx..

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
%d bloggers like this: