{"id":1909,"date":"2018-12-17T04:22:30","date_gmt":"2018-12-17T04:22:30","guid":{"rendered":"https:\/\/www.hostnic.id\/blog\/?p=1909"},"modified":"2018-12-17T04:29:49","modified_gmt":"2018-12-17T04:29:49","slug":"cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7","status":"publish","type":"post","link":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","title":{"rendered":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7"},"content":{"rendered":"<p>Lighttpd adalah server web open source, aman, cepat, fleksibel, dan lebih optimal yang dirancang untuk lingkungan yang sangat kritis dengan penggunaan memori yang lebih sedikit dibandingkan dengan server web lainnya.\u00a0Dapat menangani hingga 10.000 koneksi dalam satu server dengan manajemen beban cpu yang efektif dan dilengkapi dengan fitur canggih seperti FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting dan banyak lagi.<\/p>\n<p>Lighttpd adalah solusi yang sangat baik untuk server Linux, karena infrastruktur io berkecepatan tinggi yang memungkinkan kita untuk menskalakan beberapa kali kinerja yang lebih baik dengan perangkat keras yang sama daripada dengan web-server alternatif lainnya.<\/p>\n<p>Pada artikel ini, kita akan membahas bagaimana cara install <strong>Lighttpd<\/strong>\u00a0dengan\u00a0<strong>PHP-FPM<\/strong>\u00a0dan\u00a0<strong>MariaDB<\/strong>\u00a0pada\u00a0<strong>CentOS\/RHEL 7<\/strong>\u00a0dengan contoh hostname\u00a0<strong>tecmint.example.com<\/strong>\u00a0dan IP address <strong>192.168.0.103<\/strong>.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_75 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Daftar Isi<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f57d9c66a98\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f57d9c66a98\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Step_1_Install_Lighttpd_pada_CentOS_7\" >Step 1: Install Lighttpd pada CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Step_2_Installing_MariaDB_as_MySQL_in_CentOS_7\" >Step 2: Installing MariaDB as MySQL in CentOS 7<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Sample_Output\" >Sample Output<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Sample_Output-2\" >Sample Output<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Step_3_Installing_PHP_and_PHP-FPM_with_FastCGI_on_CentOS_7\" >Step 3: Installing PHP and PHP-FPM with FastCGI on CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Step_4_Enabling_PHP_and_PHP-FPM_with_FastCGI_in_Lighttpd\" >Step 4: Enabling PHP and PHP-FPM with FastCGI in Lighttpd<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#Step_5_Testing_PHP_and_PHP-FPM_with_FastCGI_Support_in_Lighttpd\" >Step 5: Testing PHP and PHP-FPM with FastCGI Support in Lighttpd<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Install_Lighttpd_pada_CentOS_7\"><\/span>Step 1: Install Lighttpd pada CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>1.<\/strong>\u00a0Untuk install <strong>Lighttpd<\/strong>, pertama kamu membutuhkan update system software menggunakan command.<\/p>\n<pre class=\"\"># yum -y update\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Selanjutnya, membutuhkan EPEL repository.<\/p>\n<pre class=\"\"># yum -y install epel-release\r\n# yum -y update\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Setelah EPEL repository aktif, kamu dapat menginstall\u00a0<strong>Lighttpd<\/strong>.<\/p>\n<pre class=\"\"># yum install lighttpd\r\n<\/pre>\n<p><strong>4.<\/strong> Setelah\u00a0<strong>Lighttpd<\/strong>\u00a0terinstal, kamu dapat menjalankan dan mengaktifkan layanan auto start saat system di reboot.<\/p>\n<pre class=\"\"># systemctl start lighttpd\r\n# systemctl enable lighttpd\r\n# systemctl status lighttpd\r\n<\/pre>\n<p>Jika melihat pesan error seperti di bawah, kamu memerlukan perbaikan.<\/p>\n<pre class=\"\">Dec 10 02:14:26 tecmint.com lighttpd[1463]: 2018-12-10 02:14:26: (network.c.167) warning: please use server.use-ipv6 only for hostnames, not without server.bind \/ empty address...ONLY changes\r\nDec 10 02:14:26 tecmint.com lighttpd[1463]: 2018-12-10 02:14:26: (server.c.1352) can't have more connections than fds\/2:  1024 1024\r\nHint: Some lines were ellipsized, use -l to show in full.\r\n<\/pre>\n<p>Buka file\u00a0<strong>\/etc\/lighttpd\/lighttpd.conf<\/strong>\u00a0dengan editor lainnya.<\/p>\n<pre class=\"\"># nano \/etc\/lighttpd\/lighttpd.conf\r\n<\/pre>\n<p>Ubah line\u00a0<strong>server.use-ipv6<\/strong>\u00a0dari\u00a0<code>enable<\/code>\u00a0ke\u00a0<code>disable<\/code>.<\/p>\n<pre class=\"lang:default decode:true\">##\r\n## Use IPv6?\r\n##\r\nserver.use-ipv6 = \"disable\"<\/pre>\n<p>Now try again to start <strong>Lighttpd<\/strong>, it should work <strong>100%<\/strong> without any error messages.<\/p>\n<pre class=\"\"># systemctl restart lighttpd\r\n# systemctl status lighttpd\r\n<\/pre>\n<p><strong>5.<\/strong> Now verify the version of <strong>Lighttpd<\/strong> installed on your system using the following command.<\/p>\n<pre class=\"lang:default decode:true\"># lighttpd -v\r\n\r\nlighttpd\/1.4.51 (ssl) - a light and fast webserver\r\n<\/pre>\n<p><strong>6.<\/strong> Now you need to allow <strong>HTTP<\/strong> and <strong>HTTPS<\/strong> traffic on your firewall.<\/p>\n<pre class=\"\"># firewall-cmd --permanent --zone=public --add-service=http\r\n# firewall-cmd --permanent --zone=public --add-service=https\r\n# firewall-cmd --reload\r\n<\/pre>\n<p><strong>7.<\/strong> Now open your browser and point to the following URL to see your <strong>Lighttpd<\/strong> web server working.<\/p>\n<pre class=\"\">http:\/\/Your-Domain.com\r\nOR\r\nhttp:\/\/Your-IP-addr\r\n<\/pre>\n<div id=\"attachment_31238\" class=\"wp-caption aligncenter\" style=\"width: 884px;\">\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1912\" data-permalink=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/attachment\/check-lighttpd-page\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&amp;ssl=1\" data-orig-size=\"874,595\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Check-Lighttpd-Page\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&amp;ssl=1\" class=\"alignnone size-full wp-image-1912\" src=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?resize=874%2C595&#038;ssl=1\" alt=\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7\" width=\"874\" height=\"595\" srcset=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?w=874&amp;ssl=1 874w, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?resize=300%2C204&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?resize=768%2C523&amp;ssl=1 768w\" sizes=\"auto, (max-width: 874px) 100vw, 874px\" \/><\/p>\n<p class=\"wp-caption-text\">Check Lighttpd Page<\/p>\n<\/div>\n<p>The default document root directory for Lighttpd is <strong>\/var\/www\/lighttpd\/<\/strong> and the main configuration file is located under <strong>\/etc\/lighttpd\/lighttpd.conf<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Installing_MariaDB_as_MySQL_in_CentOS_7\"><\/span>Step 2: Installing MariaDB as MySQL in CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>8.<\/strong> Next, install <strong>MySQL<\/strong> support for <strong>Lighttpd<\/strong> using following commands.<\/p>\n<pre class=\"\"># yum -y install mariadb mariadb-server\r\n<\/pre>\n<p><strong>9.<\/strong> Once the installation is complete, start, enable and verify the status of MariaDB using following commands.<\/p>\n<pre class=\"\"># systemctl start mariadb.service\r\n# systemctl enable mariadb.service\r\n# systemctl status mariadb.service\r\n<\/pre>\n<p><strong>10.<\/strong> Finally, you will need to secure your MariaDB installation by issuing the following command.<\/p>\n<pre class=\"\"># mysql_secure_installation\r\n<\/pre>\n<p>You will be prompted a few different questions regarding your MariaDB installation and how you would like to secure it. You can change the database root user password, disable the test database, disable anonymous users, and disable root login remotely.<\/p>\n<h5><span class=\"ez-toc-section\" id=\"Sample_Output\"><\/span>Sample Output<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<pre class=\"lang:default decode:true\">NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\r\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\r\n\r\nIn order to log into MariaDB to secure it, we'll need the current\r\npassword for the root user.  If you've just installed MariaDB, and\r\nyou haven't set the root password yet, the password will be blank,\r\nso you should just press enter here.\r\n\r\nEnter current password for root (enter for none): Enter OK, successfully used password, moving on... Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation. Set root password? [Y\/n] &lt;code&gt;y&lt;\/code&gt; New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success! By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y\/n] &lt;code&gt;y&lt;\/code&gt; ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y\/n] &lt;code&gt;y&lt;\/code&gt; ... Success! By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y\/n] &lt;code&gt;y&lt;\/code&gt; - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y\/n] y ... Success! Cleaning up... All done! If you've completed all of the above steps, your MariaDB installation should now be secure. Thanks for using MariaDB!<\/pre>\n<p><strong>11.<\/strong> Try connecting to MySQL server and review the existing databases on your database server with following commands on the terminal.<\/p>\n<pre class=\"\"># mysql -u root -p<\/pre>\n<h5><span class=\"ez-toc-section\" id=\"Sample_Output-2\"><\/span>Sample Output<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<pre class=\"lang:default decode:true\">Enter password: \r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 10\r\nServer version: 5.5.60-MariaDB MariaDB Server\r\n\r\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt; show databases;\r\n+--------------------+\r\n| Database           |\r\n+--------------------+\r\n| information_schema |\r\n| mysql              |\r\n| performance_schema |\r\n+--------------------+\r\n3 rows in set (0.00 sec)\r\n\r\nMariaDB [(none)]&gt;\r\n<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Installing_PHP_and_PHP-FPM_with_FastCGI_on_CentOS_7\"><\/span>Step 3: Installing PHP and PHP-FPM with FastCGI on CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>12.<\/strong> To enable <strong>PHP-FPM<\/strong> with <strong>FastCGI<\/strong> support, first you need to install <strong>PHP<\/strong> along with necessary extensions using following command.<\/p>\n<pre class=\"\"># yum -y install php php-mysqlnd php-pdo php-gd php-mbstring\r\n<\/pre>\n<p><strong>13.<\/strong> Once <strong>PHP<\/strong> installed, now enable <strong>PHP-FPM<\/strong> and <strong>FastCGI<\/strong> support for <strong>Lighttpd<\/strong>, to do this you need to install these packages too.<\/p>\n<pre class=\"\"># yum -y install php-fpm lighttpd-fastcgi\r\n<\/pre>\n<p><strong>14.<\/strong> Now open a file called <strong>\/etc\/php-fpm.d\/www.conf<\/strong>.<\/p>\n<pre class=\"\"># vi \/etc\/php-fpm.d\/www.conf<\/pre>\n<p>Set the user and group to <strong>lighttpd<\/strong>.<\/p>\n<pre class=\"lang:default decode:true\">; Unix user\/group of processes\r\n; Note: The user is mandatory. If the group is not set, the default user's group\r\n;       will be used.\r\n; RPM: apache Choosed to be able to access some dir as httpd\r\nuser = lighttpd\r\n; RPM: Keep a group allowed to write in log dir.\r\ngroup = lighttpd<\/pre>\n<p><strong>15.<\/strong> Now start <strong>PHP-FPM<\/strong> service and make sure to enable it to automatically start at boot time using the following commands.<\/p>\n<pre class=\"\"># systemctl start php-fpm.service\r\n# systemctl enable php-fpm.service\r\n<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Enabling_PHP_and_PHP-FPM_with_FastCGI_in_Lighttpd\"><\/span>Step 4: Enabling PHP and PHP-FPM with FastCGI in Lighttpd<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>16.<\/strong> Here, we need to modify three files <strong>\/etc\/php.ini<\/strong>, <strong>\/etc\/lighttpd\/modules.conf<\/strong> and <strong>\/etc\/lighttpd\/conf.d\/fastcgi.conf<\/strong> to enable <strong>PHP<\/strong> support for <strong>Lighttpd<\/strong>.<\/p>\n<p>Open first file <strong>\/etc\/php.ini<\/strong>.<\/p>\n<pre class=\"\"># vi \/etc\/php.ini<\/pre>\n<p>Un-comment the following line that says <strong>line cgi.fix_pathinfo=1<\/strong>.<\/p>\n<pre class=\"lang:default decode:true\">; cgi.fix_pathinfo provides *real* PATH_INFO\/PATH_TRANSLATED support for CGI.  PHP's\r\n; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok\r\n; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting\r\n; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting\r\n; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts\r\n; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.\r\n; http:\/\/php.net\/cgi.fix-pathinfo\r\ncgi.fix_pathinfo=1<\/pre>\n<p>Then open second file called <strong>\/etc\/lighttpd\/modules.conf<\/strong>.<\/p>\n<pre class=\"\"># vi \/etc\/lighttpd\/modules.conf<\/pre>\n<p>Un-comment the following line that says <strong>include \u201cconf.d\/fastcgi.conf\u201d<\/strong>.<\/p>\n<pre class=\"lang:default decode:true\">##\r\n## FastCGI (mod_fastcgi)\r\n##\r\ninclude \"conf.d\/fastcgi.conf\"<\/pre>\n<p>Next, open third file called <strong>\/etc\/lighttpd\/conf.d\/fastcgi.conf<\/strong>.<\/p>\n<pre class=\"\"># vi \/etc\/lighttpd\/conf.d\/fastcgi.conf<\/pre>\n<p>Now add the following container at the bottom of the file and save it.<\/p>\n<pre class=\"lang:default decode:true \">fastcgi.server += ( \".php\" =&gt;\r\n        ((\r\n                \"host\" =&gt; \"127.0.0.1\",\r\n                \"port\" =&gt; \"9000\",\r\n                \"broken-scriptfilename\" =&gt; \"enable\"\r\n        ))\r\n)<\/pre>\n<p>Restart the <strong>Lighttpd<\/strong> service to reflect changes and enable <strong>PHP<\/strong> support.<\/p>\n<pre class=\"\"># systemctl restart lighttpd\r\n<\/pre>\n<h4><span class=\"ez-toc-section\" id=\"Step_5_Testing_PHP_and_PHP-FPM_with_FastCGI_Support_in_Lighttpd\"><\/span>Step 5: Testing PHP and PHP-FPM with FastCGI Support in Lighttpd<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>17.<\/strong> As We said above that the default document root for <strong>Lighttpd<\/strong> is <strong>\/var\/www\/lighttpd\/<\/strong>. So, here we will create a <strong>phpinfo.php<\/strong> file into this directory.<\/p>\n<pre class=\"\"># vi \/var\/www\/lighttpd\/info.php<\/pre>\n<p>Add the following lines to it. This small piece of code will display information about <strong>PHP<\/strong> installation with their versions.<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nphpinfo();\r\n?&gt;\r\n<\/pre>\n<p><strong>18.<\/strong> Open your browser and navigate to the following links.<\/p>\n<pre class=\"\">http:\/\/Your-Domain.com\r\nOR\r\nhttp:\/\/Your-IP-addr\r\n<\/pre>\n<div id=\"attachment_31248\" class=\"wp-caption aligncenter\" style=\"width: 877px;\">\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1913\" data-permalink=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/attachment\/check-php-support-in-centos-7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?fit=867%2C797&amp;ssl=1\" data-orig-size=\"867,797\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Check-PHP-Support-in-CentOS-7\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?fit=867%2C797&amp;ssl=1\" class=\"alignnone size-full wp-image-1913\" src=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?resize=867%2C797&#038;ssl=1\" alt=\"\" width=\"867\" height=\"797\" srcset=\"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?w=867&amp;ssl=1 867w, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?resize=300%2C276&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-PHP-Support-in-CentOS-7.png?resize=768%2C706&amp;ssl=1 768w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/p>\n<p class=\"wp-caption-text\">Check PHP Support in CentOS 7<\/p>\n<\/div>\n<p>You will see working information of <strong>PHP<\/strong>, <strong>PHP-FPM<\/strong> and <strong>MySQL<\/strong> with lots of other modules that are already enabled.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lighttpd adalah server web open source, aman, cepat, fleksibel, dan lebih optimal yang dirancang untuk lingkungan yang sangat kritis dengan penggunaan memori yang lebih sedikit dibandingkan dengan server web lainnya.\u00a0Dapat menangani hingga 10.000 koneksi dalam satu server dengan manajemen beban cpu yang efektif dan dilengkapi dengan fitur canggih seperti FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting dan [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[91],"tags":[],"class_list":["post-1909","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id<\/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:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id\" \/>\n<meta property=\"og:description\" content=\"Lighttpd adalah server web open source, aman, cepat, fleksibel, dan lebih optimal yang dirancang untuk lingkungan yang sangat kritis dengan penggunaan memori yang lebih sedikit dibandingkan dengan server web lainnya.\u00a0Dapat menangani hingga 10.000 koneksi dalam satu server dengan manajemen beban cpu yang efektif dan dilengkapi dengan fitur canggih seperti FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting dan [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostnic.id\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-17T04:22:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-17T04:29:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png\" \/>\n\t<meta property=\"og:image:width\" content=\"874\" \/>\n\t<meta property=\"og:image:height\" content=\"595\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ari Sigit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ditulis oleh\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ari Sigit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/\"},\"author\":{\"name\":\"Ari Sigit\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\"},\"headline\":\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7\",\"datePublished\":\"2018-12-17T04:22:30+00:00\",\"dateModified\":\"2018-12-17T04:29:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/\"},\"wordCount\":672,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.hostnic.id\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/\",\"name\":\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.hostnic.id\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1\",\"datePublished\":\"2018-12-17T04:22:30+00:00\",\"dateModified\":\"2018-12-17T04:29:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.hostnic.id\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.hostnic.id\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1\",\"width\":874,\"height\":595,\"caption\":\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/\",\"name\":\"hostnic.id\",\"description\":\"Info, Tips dan Tutorial Seputar Layanan Hostnic\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\",\"name\":\"Ari Sigit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"caption\":\"Ari Sigit\"},\"description\":\"Application Developer &amp; Support Specialist\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id","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:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","og_locale":"id_ID","og_type":"article","og_title":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id","og_description":"Lighttpd adalah server web open source, aman, cepat, fleksibel, dan lebih optimal yang dirancang untuk lingkungan yang sangat kritis dengan penggunaan memori yang lebih sedikit dibandingkan dengan server web lainnya.\u00a0Dapat menangani hingga 10.000 koneksi dalam satu server dengan manajemen beban cpu yang efektif dan dilengkapi dengan fitur canggih seperti FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting dan [&hellip;]","og_url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","og_site_name":"Hostnic.id","article_published_time":"2018-12-17T04:22:30+00:00","article_modified_time":"2018-12-17T04:29:49+00:00","og_image":[{"width":874,"height":595,"url":"https:\/\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png","type":"image\/png"}],"author":"Ari Sigit","twitter_card":"summary_large_image","twitter_misc":{"Ditulis oleh":"Ari Sigit","Estimasi waktu membaca":"7 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/"},"author":{"name":"Ari Sigit","@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49"},"headline":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7","datePublished":"2018-12-17T04:22:30+00:00","dateModified":"2018-12-17T04:29:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/"},"wordCount":672,"commentCount":0,"image":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1","articleSection":["Linux"],"inLanguage":"id","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","name":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7 - Hostnic.id","isPartOf":{"@id":"https:\/\/www.hostnic.id\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1","datePublished":"2018-12-17T04:22:30+00:00","dateModified":"2018-12-17T04:29:49+00:00","author":{"@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49"},"breadcrumb":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#primaryimage","url":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1","width":874,"height":595,"caption":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostnic.id\/blog\/"},{"@type":"ListItem","position":2,"name":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.hostnic.id\/blog\/#website","url":"https:\/\/www.hostnic.id\/blog\/","name":"hostnic.id","description":"Info, Tips dan Tutorial Seputar Layanan Hostnic","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostnic.id\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Person","@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49","name":"Ari Sigit","image":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","caption":"Ari Sigit"},"description":"Application Developer &amp; Support Specialist","url":"https:\/\/www.hostnic.id\/blog\/author\/admin\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8D2mv-uN","jetpack-related-posts":[{"id":1900,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-invoiceplane-dengan-nginx-di-centos-7\/","url_meta":{"origin":1909,"position":0},"title":"Cara Install InvoicePlane dengan Nginx di CentOS 7","author":"Ari Sigit","date":"2018-12-13","format":false,"excerpt":"InvoicePlane adalah aplikasi faktur sumber terbuka dan gratis. Kode sumbernya dapat ditemukan di Github. Tutorial kali ini akan menunjukkan cara menginstal InvoicePlane pada sistem CentOS 7 yang baru. Requirements WebServer (Apache, NGINX).\u00a0This tutorial will use Nginx. MySQL\u00a0version 5.5 or greater or the equivalent version of MariaDB. PHP version 7.0 or\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3763,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/cara-install-mariadb-mysql-di-centos-8\/","url_meta":{"origin":1909,"position":1},"title":"Cara install MariaDB (Mysql) di CentOS 8","author":"Monic","date":"2020-07-28","format":false,"excerpt":"Sebelumnya kita sudah menginstall Apache sebagai Web Server dan PHP, langkah selanjutnya untuk database kita menggunakan MariaDB atau Mysql. Cara install Apache Web Server di CentOS 8 Cara install PHP di CentOS 8 \u00a0 Berikut cara instalasi nya : Install mariadb atau mysql menggunakan perintah berikut dnf install mariadb-server -y\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/mariadb-and-mysql.png?fit=620%2C472&ssl=1%3Fv%3D1595933871&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/mariadb-and-mysql.png?fit=620%2C472&ssl=1%3Fv%3D1595933871&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/mariadb-and-mysql.png?fit=620%2C472&ssl=1%3Fv%3D1595933871&resize=525%2C300 1.5x"},"classes":[]},{"id":3757,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/cara-install-php-di-centos-8\/","url_meta":{"origin":1909,"position":2},"title":"Cara install PHP di CentOS 8","author":"Monic","date":"2020-07-28","format":false,"excerpt":"\u00a0 Setelah kita menginstall Apache langkah selanjutnya adalah install agar aplikasi dapat dijalankan. Cara install Apache Web Server di CentOS 8 Berikut instalasi nya : Pertama, install php menggunakan perintah berikut : dnf install php -y atau jika ingin memperluas fungsi PHP kalian dapat menggunakan perintah seperti ini : dnf\u2026","rel":"","context":"dalam &quot;Belajar PHP&quot;","block_context":{"text":"Belajar PHP","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/belajar-php\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/04\/php.png?fit=467%2C227&ssl=1%3Fv%3D1587371139&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3752,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-apache-web-server-di-centos-8\/","url_meta":{"origin":1909,"position":3},"title":"Cara install Apache Web Server di CentOS 8","author":"Monic","date":"2020-07-28","format":false,"excerpt":"Apache merupakan salah satu webserver yang banyak digunakan oleh banyak orang dan sifatnya open-source (gratis). Untul instalasi sama seperti di CentOS 7, hanya saja disini saya akan menggunakan command\u00a0dnf\u00a0yang dimana biasanya kita selalu menggunakan command\u00a0yum\u00a0untuk akses root. Tapi jangan khawatir, untuk yang terbiasa menggunakan\u00a0yum masih bisa kok. Cara installnya seperti\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=700%2C400 2x"},"classes":[]},{"id":3702,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/konfigurasi-awal-centos-web-panel-cwp\/","url_meta":{"origin":1909,"position":4},"title":"Konfigurasi awal CentOS Web Panel (CWP)","author":"Monic","date":"2020-07-21","format":false,"excerpt":"Sebelumnya tutorial menginstall cwp bisa dibaca di link ini : Cara install CentOS Web Panel (CWP) Jika sudah menginstall CentOS Web Panel masuk ke cwp menggunakan akses http:\/\/Server-IP:2030 atau https:\/\/Server-IP:2031 lalu login dan akan muncul dashboard CWP Langkah selanjutnya adalah konfigurasi awal agar cwp dapat digunakan sesuai keinginan kita. Pertama,\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/Screenshot_74.png?fit=1200%2C647&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/Screenshot_74.png?fit=1200%2C647&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/Screenshot_74.png?fit=1200%2C647&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/Screenshot_74.png?fit=1200%2C647&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/Screenshot_74.png?fit=1200%2C647&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1989,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-apache-mysql-mariadb-dan-php-pada-rhel-8\/","url_meta":{"origin":1909,"position":5},"title":"Cara Install Apache, MySQL\/MariaDB dan PHP pada RHEL 8","author":"Ari Sigit","date":"2018-12-31","format":false,"excerpt":"Dalam tutorial ini, Anda akan belajar cara menginstal LAMP stack - Linux, Apache, MySQL \/ MariaDB, PHP pada sistem RHEL 8. Tutorial ini menganggap bahwa Anda telah mengaktifkan langganan RHEL 8 dan bahwa Anda memiliki akses root ke sistem Anda. Step 1: Install Apache Web Server 1. Pertama, kita akan\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"Cara Install Apache, MySQL\/MariaDB dan PHP pada RHEL 8","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/lamp.png?fit=940%2C529&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/lamp.png?fit=940%2C529&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/lamp.png?fit=940%2C529&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/lamp.png?fit=940%2C529&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/1909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":5,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"predecessor-version":[{"id":1917,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/1909\/revisions\/1917"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/media\/1912"}],"wp:attachment":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}