{"id":1104,"date":"2019-12-30T07:04:37","date_gmt":"2019-12-30T00:04:37","guid":{"rendered":"https:\/\/www.linuxid.net\/post\/?p=1104"},"modified":"2025-04-18T15:21:19","modified_gmt":"2025-04-18T08:21:19","slug":"cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8","status":"publish","type":"post","link":"https:\/\/www.linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/","title":{"rendered":"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8"},"content":{"rendered":"<p>Drupal adalah sistem manajemen konten free, open-source, dan scalable yang dapat digunakan oleh individu untuk membuat dan mengelola segala jenis situs web. Drupal ditulis dalam PHP dan menggunakan MySQL\/MariaDB untuk menyimpan datanya.<\/p>\n<p>Drupal menyediakan beragam fitur yang dapat diperluas dengan ribuan add-on. Drupal mendukung banyak server web termasuk, Apache, Nginx, IIS, Lighttpd dan database MySQL, MariaDB, MongoDB, SQLite, PostgreSQL, dan MS SQL server. Drupal hadir dengan UI web sederhana dan ramah pengguna yang memungkinkan Anda membuat situs web tanpa pengetahuan coding.<\/p>\n<p>Dalam tutorial ini, kami akan menunjukkan kepada Anda bagaimana menginstal Drupal 8 pada server CentOS 8 dan mengamankannya dengan\u00a0SSL gratis Let\u2019s Encrypt.<\/p>\n<h2>Persyaratan Tutorial<\/h2>\n<ul>\n<li>Server yang menjalankan CentOS 8.<\/li>\n<li>Nama domain yang valid ditunjukkan dengan IP server Anda<\/li>\n<li>Masuk sebagai root atau user dengan hak <a href=\"https:\/\/www.linuxid.net\/post\/cara-mengubah-user-biasa-menjadi-user-sudo-di-centos\/\">sudo<\/a><\/li>\n<\/ul>\n<h2 id=\"install-nginx-mariadb-and-php\">Install Nginx, MariaDB and PHP<\/h2>\n<p>Pertama, kita install LEMP web server, Linux Nginx dan MariaDB\u00a0server dan PHP dengan perintah berikut:<\/p>\n<pre>dnf install nginx mariadb-server php php-fpm php-cli php-mbstring php-gd php-xml php-curl php-mysqlnd php-pdo php-json php-opcache -y<\/pre>\n<p>Setelah semua paket diinstal, mulai layanan Nginx, MariaDB dan PHP-FPM dan aktifkan untuk memulai setelah\u00a0system reboot \u00a0dengan perintah berikut:<\/p>\n<pre>systemctl start nginx&#13;\n systemctl start php-fpm&#13;\n systemctl start mariadb&#13;\n systemctl enable nginx&#13;\n systemctl enable php-fpm&#13;\n systemctl enable mariadb<\/pre>\n<p>Setelah selesai, Anda dapat melanjutkan ke langkah berikutnya<\/p>\n<h2>Konfigurasikan Database MariaDB<\/h2>\n<p>Secara default, MariaDB tidak diamankan. Anda dapat mengamankannya dengan skrip berikut:<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>Perintah ini akan mengubah kata sandi root, menghapus pengguna anonim, melarang login root dari jarak jauh dan menghapus database pengujian.<\/p>\n<p>Jawab pertanyaan seperti yang ditunjukkan di bawah ini dan pastikan untuk memilih kata sandi yang aman untuk pengguna root:<\/p>\n<pre>Enter current password for root (enter for none):&#13;\nSet root password? [Y\/n] Y&#13;\nNew password:&#13;\nRe-enter new password:&#13;\nRemove anonymous users? [Y\/n] Y&#13;\nDisallow root login remotely? [Y\/n] Y&#13;\nRemove test database and access to it? [Y\/n] Y&#13;\nReload privilege tables now? [Y\/n] Y&#13;\n<\/pre>\n<p>Setelah MariaDB diamankan, masuk ke shell MariaDB dengan perintah berikut:<\/p>\n<pre>mysql -u root -p<\/pre>\n<p>Berikan kata sandi root Anda, lalu<a href=\"https:\/\/www.linuxid.net\/post\/cara-membuat-database-mysql-di-linux-terminal\/\"> buat database<\/a> dan <a href=\"https:\/\/www.linuxid.net\/post\/cara-membuat-user-mysql-dan-hak-akses-mysql\/\">user database<\/a> untuk\u00a0<span style=\"font-family: Verdana, Geneva, sans-serif; font-size: 15px; color: #222222;\">Drupal\u00a0\u00a0dengan perintah berikut:<\/span><\/p>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE drupaldb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;&#13;\n MariaDB [(none)]&gt; CREATE USER drupal@localhost IDENTIFIED BY \"<span style=\"color: #ff0000;\">g4nt!_d3n9an_p4$$w0rd<\/span>\";<\/pre>\n<p>Selanjutnya Grant privileges ke drupaldb dengan perintah berikut :<\/p>\n<pre>MariaDB [(none)]&gt; GRANT ALL ON drupaldb.* TO drupal@localhost IDENTIFIED BY \"password\";<\/pre>\n<p>Selanjutnya, flush privilege dan keluar dari shell MariaDB dengan perintah berikut:<\/p>\n<pre>MariaDB [(none)]&gt; FLUSH PRIVILEGES;&#13;\n MariaDB [(none)]&gt; EXIT;<\/pre>\n<h2 id=\"download-drupal\">Download Drupal<\/h2>\n<p>Pertama, Anda perlu download Drupal versi terbaru dari situs web resmi dengan perintah <a href=\"https:\/\/www.linuxid.net\/post\/tutorial-menggunakan-command-wget-di-terminal\/\"><code>wget<\/code><\/a>. Anda dapat mengunduhnya dengan perintah berikut:<\/p>\n<pre>wget https:\/\/ftp.drupal.org\/files\/projects\/drupal-8.7.10.tar.gz<\/pre>\n<p><em><strong>Note<\/strong> : pada saat penulisan, versi drupal adalah versi <code>8.7.10<\/code>, silahkan kunjungi <a href=\"https:\/\/www.drupal.org\/download\" target=\"_blank\" rel=\"noopener\">halaman resmi drupal<\/a> dan perbarui link download jika ada rilis yang lebih baru.<\/em><\/p>\n<p>Setelah diunduh, <a href=\"https:\/\/www.linuxid.net\/post\/tutorial-perintah-tar-dan-penggunaan-di-linux-terminal\/\">ekstrak file<\/a> yang diunduh dengan perintah berikut:<\/p>\n<pre>tar -xvzf drupal-8.7.10.tar.gz<\/pre>\n<p>Selanjutnya,<a href=\"https:\/\/www.linuxid.net\/post\/tutorial-perintah-mv-dan-penggunaan-di-linux-terminal\/\"> pindahkan direktori<\/a> yang diekstraksi ke direktori root web Nginx dengan perintah berikut:<\/p>\n<pre>mv drupal-8.7.10 \/var\/www\/html\/drupal<\/pre>\n<p>Selanjutnya, <a href=\"https:\/\/www.linuxid.net\/post\/membuat-direktori-di-linux-terminal-menggunakan-mkdir\/\">buat direktori<\/a> untuk menyimpan file situs web dan <a href=\"https:\/\/www.linuxid.net\/post\/cara-copy-file-dan-directory-di-terminal-linux\/\">ganti nama file<\/a> <code>default.settings.php<\/code> seperti yang ditunjukkan di bawah ini:<\/p>\n<pre>mkdir \/var\/www\/html\/drupal\/sites\/default\/files&#13;\n cp \/var\/www\/html\/drupal\/sites\/default\/default.settings.php \/var\/www\/html\/drupal\/sites\/default\/settings.php<\/pre>\n<p>Selanjutnya, <a href=\"https:\/\/www.linuxid.net\/post\/tutorial-perintah-chown-di-terminal-linux-dan-penggunaan\/\">ubah kepemilikan<\/a> direktori Drupal ke <code>nginx<\/code> seperti yang ditunjukkan di bawah ini:<\/p>\n<pre>chown -R nginx:nginx \/var\/www\/html\/drupal\/<\/pre>\n<h2>Konfigurasikan Nginx untuk Drupal<\/h2>\n<p>Pertama, buat file konfigurasi php-fpm untuk Drupal dengan perintah berikut:<\/p>\n<pre>nano \/etc\/php-fpm.d\/drupal.conf<\/pre>\n<p>tambahkan baris berikut<\/p>\n<pre>[drupal]&#13;\nuser = nginx&#13;\ngroup = nginx&#13;\nlisten.owner = nginx&#13;\nlisten.group = nginx&#13;\nlisten = \/run\/php-fpm\/drupal.sock&#13;\npm = ondemand&#13;\npm.max_children =  50&#13;\npm.process_idle_timeout = 10s&#13;\npm.max_requests = 500&#13;\nchdir = \/&#13;\n<\/pre>\n<p>Simpan dan tutup file setelah Anda selesai. Kemudian, buat file konfigurasi <a href=\"https:\/\/www.linuxid.net\/post\/tutorial-konfigurasi-apache-virtual-hosts-di-centos-7\/\">virtual host<\/a> Nginx untuk Drupal:<\/p>\n<pre>nano \/etc\/nginx\/conf.d\/drupal.conf<\/pre>\n<p>Tambahkan baris berikut:<\/p>\n<pre>server {&#13;\n    listen 80;&#13;\n    server_name example.com;&#13;\n&#13;\n    root \/var\/www\/html\/drupal;&#13;\n&#13;\n    access_log \/var\/log\/nginx\/example.com.access.log;&#13;\n    error_log \/var\/log\/nginx\/example.com.error.log;&#13;\n&#13;\n    location = \/favicon.ico {&#13;\n        log_not_found off;&#13;\n        access_log off;&#13;\n    }&#13;\n&#13;\n    location = \/robots.txt {&#13;\n        allow all;&#13;\n        log_not_found off;&#13;\n        access_log off;&#13;\n    }&#13;\n&#13;\n    location ~ \\..*\/.*\\.php$ {&#13;\n        return 403;&#13;\n    }&#13;\n&#13;\n    location ~ ^\/sites\/.*\/private\/ {&#13;\n        return 403;&#13;\n    }&#13;\n&#13;\n    # Block access to scripts in site files directory&#13;\n    location ~ ^\/sites\/[^\/]+\/files\/.*\\.php$ {&#13;\n        deny all;&#13;\n    }&#13;\n    location ~ (^|\/)\\. {&#13;\n        return 403;&#13;\n    }&#13;\n&#13;\n    location \/ {&#13;\n        try_files $uri \/index.php?$query_string;&#13;\n    }&#13;\n&#13;\n    location @rewrite {&#13;\n        rewrite ^\/(.*)$ \/index.php?q=$1;&#13;\n    }&#13;\n    location ~ \/vendor\/.*\\.php$ {&#13;\n        deny all;&#13;\n        return 404;&#13;\n    }&#13;\n&#13;\n&#13;\n    location ~ '\\.php$|^\/update.php' {&#13;\n        fastcgi_split_path_info ^(.+?\\.php)(|\/.*)$;&#13;\n        include fastcgi_params;&#13;\n       \t# Block httpoxy attacks. See https:\/\/httpoxy.org\/.&#13;\n        fastcgi_param HTTP_PROXY \"\";&#13;\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;&#13;\n        fastcgi_param PATH_INFO $fastcgi_path_info;&#13;\n        fastcgi_param QUERY_STRING $query_string;&#13;\n        fastcgi_intercept_errors on;&#13;\n        fastcgi_pass unix:\/run\/php-fpm\/drupal.sock;&#13;\n    }&#13;\n    location ~ ^\/sites\/.*\/files\/styles\/ { # For Drupal &gt;= 7&#13;\n        try_files $uri @rewrite;&#13;\n    }&#13;\n&#13;\n    # Handle private files through Drupal. Private file's path can come&#13;\n    # with a language prefix.&#13;\n    location ~ ^(\/[a-z\\-]+)?\/system\/files\/ { # For Drupal &gt;= 7&#13;\n        try_files $uri \/index.php?$query_string;&#13;\n    }&#13;\n&#13;\n    location ~* \\.(js|css|png|jpg|jpeg|gif|ico|svg)$ {&#13;\n        try_files $uri @rewrite;&#13;\n        expires max;&#13;\n        log_not_found off;&#13;\n    }&#13;\n}&#13;\n<\/pre>\n<p>Simpan dan tutup file. Kemudian, restart layanan php-fpm dan Nginx untuk menerapkan perubahan:<\/p>\n<pre>systemctl restart php-fpm&#13;\n systemctl restart nginx<\/pre>\n<h2>Konfigurasikan SELinux dan Firewall<\/h2>\n<p>Secara default, SELinux diaktifkan di CentOS 8. Jadi Anda perlu mengkonfigurasi SELinux agar Drupal berfungsi dengan benar.<\/p>\n<p>Pertama, memungkinkan Drupal untuk memiliki hak akses write\u00a0 ke direktori file public dan private dengan perintah berikut:<\/p>\n<pre>semanage fcontext -a -t httpd_sys_rw_content_t \"\/var\/www\/html\/drupal(\/.*)?\"&#13;\n semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/html\/drupal\/sites\/default\/settings.php'&#13;\n semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/html\/drupal\/sites\/default\/files'&#13;\n restorecon -Rv \/var\/www\/html\/drupal&#13;\n restorecon -v \/var\/www\/html\/drupal\/sites\/default\/settings.php&#13;\n restorecon -Rv \/var\/www\/html\/drupal\/sites\/default\/files<\/pre>\n<p>Selanjutnya, memungkinkan Drupal untuk mengirim email keluar dengan perintah berikut:<\/p>\n<pre>setsebool -P httpd_can_sendmail on<\/pre>\n<p>Selanjutnya, Anda harus membuat aturan firewall untuk mengizinkan layanan HTTP dan HTTPS dari jaringan eksternal. Anda dapat mengizinkannya dengan perintah berikut:<\/p>\n<pre>firewall-cmd --permanent --add-service=http<\/pre>\n<pre>firewall-cmd --permanent --add-service=https&#13;\n firewall-cmd --reload<\/pre>\n<h2>Secure Drupal dengan\u00a0SSL Let\u2019s Encrypt<\/h2>\n<p>Drupal sekarang diinstal dan dikonfigurasi. Saatnya untuk mengamankannya dengan\u00a0SSL gratis Let\u2019s Encrypt.<\/p>\n<p>Untuk melakukannya, Anda harus mengunduh klien certbot di server. Anda dapat mengunduh dan mengatur izin yang benar dengan menjalankan perintah berikut:<\/p>\n<pre>wget https:\/\/dl.eff.org\/certbot-auto&#13;\n mv certbot-auto \/usr\/local\/bin\/certbot-auto&#13;\n chown root \/usr\/local\/bin\/certbot-auto&#13;\n chmod 0755 \/usr\/local\/bin\/certbot-auto<\/pre>\n<p>Sekarang, jalankan perintah berikut untuk mendapatkan dan menginstal sertifikat SSL untuk situs web Drupal Anda.<\/p>\n<pre>certbot-auto --nginx -d example.com<\/pre>\n<p>Perintah di atas akan menginstal semua dependensi yang diperlukan ke server Anda. Setelah diinstal, Anda akan diminta untuk memberikan alamat email dan menerima ketentuan layanan seperti yang ditunjukkan di bawah ini:<\/p>\n<pre>Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log&#13;\nPlugins selected: Authenticator apache, Installer apache&#13;\nEnter email address (used for urgent renewal and security notices) (Enter 'c' to&#13;\ncancel): <a href=\"https:\/\/www.linuxid.net\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"89e8ede4e0e7c9e5e0e7fcf1e0eda7e7ecfd\">[email\u00a0protected]<\/a>&#13;\n&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\nPlease read the Terms of Service at&#13;\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf. You must&#13;\nagree in order to register with the ACME server at&#13;\nhttps:\/\/acme-v02.api.letsencrypt.org\/directory&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\n(A)gree\/(C)ancel: A&#13;\n&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\nWould you be willing to share your email address with the Electronic Frontier&#13;\nFoundation, a founding partner of the Let's Encrypt project and the non-profit&#13;\norganization that develops Certbot? We'd like to send you email about our work&#13;\nencrypting the web, EFF news, campaigns, and ways to support digital freedom.&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\n(Y)es\/(N)o: Y &#13;\n&#13;\n&#13;\nObtaining a new certificate&#13;\nPerforming the following challenges:&#13;\nhttp-01 challenge for example.com&#13;\nWaiting for verification...&#13;\nCleaning up challenges&#13;\nDeploying Certificate to VirtualHost \/etc\/nginx\/conf.d\/drupal.conf&#13;\n<\/pre>\n<p>Selanjutnya, Anda harus memilih untuk mengarahkan lalu lintas dari HTTP ke HTTPS atau tidak? seperti ditunjukkan di bawah ini:<\/p>\n<pre>Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\n1: No redirect - Make no further changes to the webserver configuration.&#13;\n2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for&#13;\nnew sites, or if you're confident your site works on HTTPS. You can undo this&#13;\nchange by editing your web server's configuration.&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\nSelect the appropriate number [1-2] then [enter] (press 'c' to cancel): 2&#13;\n<\/pre>\n<p>Ketik 2 dan tekan <strong>Enter<\/strong> untuk melanjutkan. Setelah instalasi selesai, Anda akan melihat output berikut:<\/p>\n<pre>Redirecting all traffic on port 80 to ssl in \/etc\/nginx\/conf.d\/drupal.conf&#13;\n&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\nCongratulations! You have successfully enabled https:\/\/example.com&#13;\n&#13;\nYou should test your configuration at:&#13;\nhttps:\/\/www.ssllabs.com\/ssltest\/analyze.html?d=example.com&#13;\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#13;\n&#13;\nIMPORTANT NOTES:&#13;\n - Congratulations! Your certificate and chain have been saved at:&#13;\n   \/etc\/letsencrypt\/live\/example.com\/fullchain.pem&#13;\n   Your key file has been saved at:&#13;\n   \/etc\/letsencrypt\/live\/example.com\/privkey.pem&#13;\n   Your cert will expire on 2020-03-23. To obtain a new or tweaked&#13;\n   version of this certificate in the future, simply run certbot-auto&#13;\n   again with the \"certonly\" option. To non-interactively renew *all*&#13;\n   of your certificates, run \"certbot-auto renew\"&#13;\n - If you like Certbot, please consider supporting our work by:&#13;\n&#13;\n   Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate&#13;\n   Donating to EFF:         https:\/\/eff.org\/donate-le&#13;\n<\/pre>\n<h2>Akses Situs Web Drupal<\/h2>\n<p>Sekarang, buka browser web dan ketik URL website drupal Anda, maka akan diarahkan ke halaman berikut:<\/p>\n<p><a href=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-1-Choose-language.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-large wp-image-34678\" src=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-1-Choose-language-750x346.jpg\" alt=\"page 1 - Choose language\" width=\"696\" height=\"321\"\/><\/a><\/p>\n<p>Pilih bahasa yang Anda inginkan dan klik tombol <strong>Save and continue<\/strong>. Anda akan melihat halaman berikut:<\/p>\n<p><a href=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-2-Select-installation-profile.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-34679\" src=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-2-Select-installation-profile-750x358.jpg\" alt=\"page 2 - Select installation profile\" width=\"696\" height=\"332\"\/><\/a><\/p>\n<p>Pilih profil instalasi Anda dan klik tombol <strong>Save and continue<\/strong>. Anda akan melihat halaman berikut:<\/p>\n<p><a href=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-3-Database-configuration-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-34681\" src=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-3-Database-configuration-1-750x394.jpg\" alt=\"page 3 - Database configuration\" width=\"696\" height=\"366\"\/><\/a><\/p>\n<p>Berikan detail basis data Anda dan klik tombol <strong>Save and continue<\/strong>. Anda akan melihat halaman berikut:<\/p>\n<p><a href=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-5-Configure-web-site.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-34682\" src=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-5-Configure-web-site-750x523.jpg\" alt=\"page 5 - Configure web site\" width=\"696\" height=\"485\"\/><\/a><\/p>\n<p>Berikan nama situs Anda, nama pengguna admin, kata sandi dan klik tombol <strong>Save and continue<\/strong>. Anda akan melihat dasboard Drupal Anda di halaman berikut:<\/p>\n<p><a href=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-6-Welcome-to-your-Drupal-site.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-34683\" src=\"https:\/\/www.linuxid.net\/assets\/media\/centos\/33955\/page-6-Welcome-to-your-Drupal-site-750x373.jpg\" alt=\"page 6 - Welcome to your Drupal site\" width=\"696\" height=\"346\"\/><\/a><\/p>\n<p>Selamat! Anda telah berhasil menginstal dan mengamankan Drupal di server CentOS 8.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drupal adalah sistem manajemen konten free, open-source, dan scalable yang dapat digunakan oleh individu untuk&hellip;<\/p>\n","protected":false},"author":2,"featured_media":1105,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[15,111,44,180,28,14],"class_list":["post-1104","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos","tag-centos-8","tag-cms","tag-drupal","tag-nginx","tag-web-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid\" \/>\n<meta property=\"og:description\" content=\"Drupal adalah sistem manajemen konten free, open-source, dan scalable yang dapat digunakan oleh individu untuk&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/\" \/>\n<meta property=\"og:site_name\" content=\"Linuxid\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-30T00:04:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-18T08:21:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"530\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"xsand\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ditulis oleh\" \/>\n\t<meta name=\"twitter:data1\" content=\"xsand\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/\",\"url\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/\",\"name\":\"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid\",\"isPartOf\":{\"@id\":\"https:\/\/linuxid.net\/post\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg\",\"datePublished\":\"2019-12-30T00:04:37+00:00\",\"dateModified\":\"2025-04-18T08:21:19+00:00\",\"author\":{\"@id\":\"https:\/\/linuxid.net\/post\/#\/schema\/person\/e6642d26041eab9fef2677e204e89d79\"},\"breadcrumb\":{\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage\",\"url\":\"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg\",\"contentUrl\":\"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg\",\"width\":1000,\"height\":530},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Beranda\",\"item\":\"https:\/\/linuxid.net\/post\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxid.net\/post\/#website\",\"url\":\"https:\/\/linuxid.net\/post\/\",\"name\":\"Linuxid\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxid.net\/post\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxid.net\/post\/#\/schema\/person\/e6642d26041eab9fef2677e204e89d79\",\"name\":\"xsand\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/linuxid.net\/post\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc8513768e15fa0758099a0ba5b898f3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc8513768e15fa0758099a0ba5b898f3?s=96&d=mm&r=g\",\"caption\":\"xsand\"},\"url\":\"https:\/\/www.linuxid.net\/post\/author\/xsand\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/","og_locale":"id_ID","og_type":"article","og_title":"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid","og_description":"Drupal adalah sistem manajemen konten free, open-source, dan scalable yang dapat digunakan oleh individu untuk&hellip;","og_url":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/","og_site_name":"Linuxid","article_published_time":"2019-12-30T00:04:37+00:00","article_modified_time":"2025-04-18T08:21:19+00:00","og_image":[{"width":1000,"height":530,"url":"https:\/\/linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg","type":"image\/jpeg"}],"author":"xsand","twitter_card":"summary_large_image","twitter_misc":{"Ditulis oleh":"xsand","Estimasi waktu membaca":"10 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/","url":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/","name":"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8 - Linuxid","isPartOf":{"@id":"https:\/\/linuxid.net\/post\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage"},"image":{"@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg","datePublished":"2019-12-30T00:04:37+00:00","dateModified":"2025-04-18T08:21:19+00:00","author":{"@id":"https:\/\/linuxid.net\/post\/#\/schema\/person\/e6642d26041eab9fef2677e204e89d79"},"breadcrumb":{"@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#primaryimage","url":"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg","contentUrl":"https:\/\/www.linuxid.net\/post\/wp-content\/uploads\/2025\/03\/Install-Drupal-8-di-CentOS-8.jpg","width":1000,"height":530},{"@type":"BreadcrumbList","@id":"https:\/\/linuxid.net\/post\/cara-install-dan-konfigurasi-drupal-8-di-nginx-centos-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Beranda","item":"https:\/\/linuxid.net\/post\/"},{"@type":"ListItem","position":2,"name":"Cara Install dan Konfigurasi Drupal 8 di Nginx CentOS 8"}]},{"@type":"WebSite","@id":"https:\/\/linuxid.net\/post\/#website","url":"https:\/\/linuxid.net\/post\/","name":"Linuxid","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxid.net\/post\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Person","@id":"https:\/\/linuxid.net\/post\/#\/schema\/person\/e6642d26041eab9fef2677e204e89d79","name":"xsand","image":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/linuxid.net\/post\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc8513768e15fa0758099a0ba5b898f3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc8513768e15fa0758099a0ba5b898f3?s=96&d=mm&r=g","caption":"xsand"},"url":"https:\/\/www.linuxid.net\/post\/author\/xsand\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/posts\/1104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/comments?post=1104"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/posts\/1104\/revisions"}],"predecessor-version":[{"id":2733,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/posts\/1104\/revisions\/2733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/media\/1105"}],"wp:attachment":[{"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/media?parent=1104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/categories?post=1104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxid.net\/post\/wp-json\/wp\/v2\/tags?post=1104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}