Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
Langkah Setup VPS dan HTTPS
bundet
Isidentil
step 1
transfer domain
setting dns (domain & subdomain)
step 2
generate ssh key
configurasikan ke cloud provider kesayangan anda
Umum
install ubuntu
install nginx
config domain
tes domain dg simple html
config sub domain
tes sub domain dg simple html
config ssl lets enkrip
install php
tes domain & sub domain dengan simple php
install mysql
setup user utk masing-masing sites & user khusu remote sql
config firewall
config remote sql di app
config ftp
migrasi⦠done!
Kesimpulan remote sql
cukup config bind-address: * di /etc/mysq/conf.d
tidak perlu aktifkan ufw (pakai default saja)
tidak bisa pakai localhost, jadi buat user@ipvps dan grant all (khsus buat remote)
gunakan user sql khsus untuk masing-masing web dan restrict berdasarkan db masing-masing
Referensi
https://www.linuxbabe.com/ubuntu/install-lemp-stack-ubuntu-20-04-server-desktop
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04-id