Cara Mudah Install WordPress di VPS DigitalOcean

DigitalOcean menyediakan Marketplace yang berisi berbagai images cloud yang sudah dikustomisasi atau siap pakai seperti LAMP, LEMP, WordPress, dll tanpa harus melakukan install paket aplikasi satu per satu.

Contohnya install WordPress secara manual sebelumnya kita harus install paket web server terlebih dahulu, yaitu Apache atau Nginx, PHP, MySQL atau MariaDB, lalu kemudian WordPress. Tapi dengan image WordPress dari Marketplace DigitalOcean semuanya sudah siap.

Di dalam image WordPress sudah tersedia Ubuntu, WordPress, Apache, MySQL, PHP, Fail2ban, Postfix, dan Certbot.

Software default di dalam image WordPress

*Membuat Droplet WordPress*

Login ke dashboard DigitalOcean, klik menu Discover -> Markeplace.

Gunakan kolom Search keyword untuk memudahkan pencarian image WordPress.

Marketplace DigitalOcean

Lalu klik Create WordPress Droplet.

Image WordPress di Marketplace

Lanjutkan dengan memilih spesifikasi droplet, lokasi server, SSH key jika ingin login tanpa password, dan hostname.

Lalu klik Create Droplet.

*DNS Records*

Pasang IP VPS (Droplet) pada A record DNS.

DNS Records

*Konfigurasi Droplet*

Login SSH ke droplet WordPress yang telah dibuat.

Masukkan nama domain.

[INPUT]

1 2 3 4 Enter the domain name for your new WordPress site. (ex. example.org or test.example.org) do not include www or http/s ————————————————– Domain/Subdomain name: superuser.web.id  

Masukkan nama domain

Masukkan email, username, dan password untuk akun administrator WordPress.

[INPUT]

1 2 3 4 5 6 Now we will create your new admin user account for WordPress.   Your Email Address: hai@musaamin.web.id Username: admin Password: Blog Title: WordPress at DigitalOcean

Akun Administrator WordPress

Gunakan Let’s Encrypt untuk sertifikat SSL (HTTPS).

[INPUT]

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Would you like to use LetsEncrypt (certbot) to configure SSL(https) for your new site? (y/n): y   – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must agree in order to register with the ACME server at https://acme-v02.api.letsencrypt.org/directory – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – (A)gree/(C)ancel: A   – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Would you be willing to share your email address with the Electronic Frontier Foundation, a founding partner of the Let’s Encrypt project and the non-profit organization that develops Certbot? We’d like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – (Y)es/(N)o: N   Which names would you like to activate HTTPS for? – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 1: superuser.web.id 2: www.superuser.web.id – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter ‘c’ to cancel): ENTER   Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 1: No redirect – Make no further changes to the webserver configuration. 2: Redirect – Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you’re confident your site works on HTTPS. You can undo this change by editing your web server’s configuration. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2  

Install Let’s Encrypt SSL

Selanjutnya system melakukan install dan konfigurasi secara otomatis.

Akan ditampilkan pesan Installation complete. Access your new WordPress site in a browser to continue jika install berhasil.

Instalasi selesai

*Akses WordPress*

Terakhir melakukan pengujian akses ke domain apakah WordPress sudah terinstall dengan baik.

Halaman depan WordPress

*/Gratis saldo $100 untuk pendaftaran baru di DigitalOcean. Daftar sekarang juga./*

Selamat mencoba 🙂

Leave a Reply

Your email address will not be published.