VPS ဆာဗာပေါ်တွင် Nginx ကို တပ်ဆင်ခြင်း
ကျွန်ုပ်တို့၏ VPS ဆာဗာပေါ်တွင် Nginx ကို တပ်ဆင်ကြပါစို့။ စတင်ရန် အောက်ပါ command ကို run ပါမည်။
apt install software-properties-common
ယခု Nginx ၏ နောက်ဆုံးဗားရှင်းကို ရယူပါမည်။
apt-add-repository ppa:nginx/stable
နောက်တစ်ဆင့်အနေဖြင့် repository များမှ package list များကို update လုပ်ပါမည်။
apt update
Nginx ကို တပ်ဆင်ပါမည်။
apt install nginx
�ာဗာ reboot ပြန်လည်၍စတင်ပြီးနောက် အလိုအလျောက် စတင်လာစေရန် Nginx ကို auto-start ထဲသို့ ထည့်သွင်းပါမည်။
systemctl enable nginx
Nginx တပ်ဆင်ပြီးပြီ ဆိုတာ စစ်ဆေးကြည့်ပါမည်။
nginx -v
Nginx ကို တပ်ဆင်ပါ။