{"id":5631,"date":"2023-03-25T15:37:35","date_gmt":"2023-03-25T08:37:35","guid":{"rendered":"https:\/\/blog.biznetgio.com\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/"},"modified":"2025-09-12T10:19:50","modified_gmt":"2025-09-12T03:19:50","slug":"cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7","status":"publish","type":"post","link":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/","title":{"rendered":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>LAMP merupakan singkatan dari Linux, Apache, MySQL dan PHP adalah sebuah set instalasi yang sangat populer untuk sebuah web server yang mendukung PHP dan MySQL.<\/p>\n<p>Untuk masuk ke dalam root pada CentOS 7 VM anda, silahkan mengikuti tutorial kami berikut :<\/p>\n<p>SSH<br \/>\n<a href=\"http:\/\/faq.biznetgiocloud.com\/index.php?action=artikel&amp;cat=11&amp;id=104&amp;artlang=id&amp;highlight=ssh\">http:\/\/faq.biznetgiocloud.com\/index.php?action=artikel&amp;cat=11&amp;id=104&amp;artlang=id&amp;highlight=ssh<\/a><\/p>\n<p><strong>Langkah Pertama \u2013 Install Apache<\/strong><br \/>\nApache adalah open source software gratis yang berjalan pada lebih dari 50 % web server di dunia.Untuk menginstall Apache, buka terminal dan ketikkan command berikut:<\/p>\n<p>yum install httpd -y<br \/>\nSetelah menginstall itu , anda dapat mulai menjalanka service apache dengan command berikut:<\/p>\n<p>systemctl start.httpd service<br \/>\nUntuk memeriksa apakah apache sudah terinstall dengan baik, buka browser dengan IP publik VM anda (contoh: <a href=\"http:\/\/103.58.100.12\">http:\/\/103.58.100.12<\/a>). Berikut tampilan yang akan tampil jika apache berhasil terinstall:<\/p>\n<p>IMAGES<\/p>\n<p>Anda melihat IP publik yang digunakan oleh VM anda, jalankan command berikut:<\/p>\n<p>curl ifconfig.co<br \/>\nLangkah Kedua \u2013 Install MySQL (MariaDB)<\/p>\n<p>MySQL adalah sistem manajemen database yang kuat digunakan untuk mengatur dan mengambil data pada server virtual.<\/p>\n<p>Untuk menginstal MySQL (MariaDB), buka terminal dan ketik perintah ini :<\/p>\n<p>yum install mariadb-server mariadb<br \/>\nJalankan perintah berikut ini:<\/p>\n<p>systemctl start mariadb<br \/>\nSetelah itu, jalankan perintah ini:<\/p>\n<p>sudo \/usr\/bin\/mysql_secure_installation<br \/>\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB<br \/>\nSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!<\/p>\n<p>In order to log into MariaDB to secure it, we&#8217;ll need the current<br \/>\npassword for the root user. If you&#8217;ve just installed MariaDB, and<br \/>\nyou haven&#8217;t set the root password yet, the password will be blank,<br \/>\nso you should just press enter here.<\/p>\n<p>Enter current password for root (enter for none):<br \/>\nERROR 1045 (28000): Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: YES)<br \/>\nEnter current password for root (enter for none):<br \/>\nOK, successfully used password, moving on&#8230;<\/p>\n<p>Setting the root password ensures that nobody can log into the MariaDB<br \/>\nroot user without the proper authorisation.<\/p>\n<p>Set root password? [Y\/n] y<br \/>\nNew password:<br \/>\nRe-enter new password:<br \/>\nSorry, passwords do not match.<\/p>\n<p>New password:<br \/>\nRe-enter new password:<br \/>\nSorry, passwords do not match.<\/p>\n<p>New password:<br \/>\nRe-enter new password:<br \/>\nSorry, passwords do not match.<\/p>\n<p>New password:<br \/>\nRe-enter new password:<br \/>\nPassword updated successfully!<br \/>\nReloading privilege tables..<br \/>\n&#8230; Success!<\/p>\n<p>By default, a MariaDB installation has an anonymous user, allowing anyone<br \/>\nto log into MariaDB without having to have a user account created for<br \/>\nthem. This is intended only for testing, and to make the installation<br \/>\ngo a bit smoother. You should remove them before moving into a<br \/>\nproduction environment.<\/p>\n<p>Remove anonymous users? [Y\/n]<br \/>\n&#8230; Success!<\/p>\n<p>Normally, root should only be allowed to connect from &#8216;localhost&#8217;. This<br \/>\nensures that someone cannot guess at the root password from the network.<\/p>\n<p>Disallow root login remotely? [Y\/n]<br \/>\n&#8230; Success!<\/p>\n<p>By default, MariaDB comes with a database named &#8216;test&#8217; that anyone can<br \/>\naccess. This is also intended only for testing, and should be removed<br \/>\nbefore moving into a production environment.<\/p>\n<p>Remove test database and access to it? [Y\/n]<\/p>\n<ul>\n<li>Dropping test database&#8230;<br \/>\n&#8230; Success!<\/li>\n<li>Removing privileges on test database&#8230;<br \/>\n&#8230; Success!<\/li>\n<\/ul>\n<p>Reloading the privilege tables will ensure that all changes made so far<br \/>\nwill take effect immediately.<\/p>\n<p>Reload privilege tables now? [Y\/n]<br \/>\n&#8230; Success!<\/p>\n<p>Cleaning up&#8230;<\/p>\n<p>All done! If you&#8217;ve completed all of the above steps, your MariaDB<br \/>\ninstallation should now be secure.<\/p>\n<p>Thanks for using MariaDB!<br \/>\nAgar dapat langsung digunakan setelah boot, jalankan command berikut:<\/p>\n<p>systemctl enable mariadb.service<br \/>\nLangkah Ketiga \u2013 Install PHP<br \/>\nPHP merupakan open source web dengan bahasa script yang banyak digunakan untuk membangun halaman web dinamis.<br \/>\nUntuk menginstal PHP pada VM, ketik perintah ini:<\/p>\n<p>yum install php php-mysql \u2013y<br \/>\nSilahkan restart service apache dengan perintah ini:<\/p>\n<p>systemctl restart httpd.service<br \/>\nPHP juga memiliki berbagai library yang berguna dan modul yang dapat ditambahkan ke server Anda . Anda dapat melihat library yang tersedia dengan mengetik :<\/p>\n<p>yum search php-<br \/>\nTerminal kemudian akan menampilkan daftar modul PHP yang sudah terinstall. Maka akan terlihat seperti ini:<\/p>\n<p>============================== N\/S matched: php- ===============================<br \/>\nphp-bcmath.x86_64 : A module for PHP applications for using the bcmath library<br \/>\nphp-cli.x86_64 : Command-line interface for PHP<br \/>\nphp-common.x86_64 : Common files for PHP<br \/>\nphp-dba.x86_64 : A database abstraction layer module for PHP applications<br \/>\nphp-devel.x86_64 : Files needed for building PHP extensions<br \/>\nphp-embedded.x86_64 : PHP library for embedding in applications<br \/>\nphp-enchant.x86_64 : Enchant spelling extension for PHP applications<br \/>\nphp-fpm.x86_64 : PHP FastCGI Process Manager<br \/>\nphp-gd.x86_64 : A module for PHP applications for using the gd graphics library<br \/>\nphp-intl.x86_64 : Internationalization extension for PHP applications<br \/>\nphp-ldap.x86_64 : A module for PHP applications that use LDAP<br \/>\nphp-mbstring.x86_64 : A module for PHP applications which need multi-byte string<br \/>\n: handling<br \/>\nphp-mysql.x86_64 : A module for PHP applications that use MySQL databases<br \/>\nphp-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases<br \/>\nphp-odbc.x86_64 : A module for PHP applications that use ODBC databases<br \/>\nphp-pdo.x86_64 : A database access abstraction module for PHP applications<br \/>\nphp-pear.noarch : PHP Extension and Application Repository framework<br \/>\nphp-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon<br \/>\nphp-pgsql.x86_64 : A PostgreSQL database module for PHP<br \/>\nphp-process.x86_64 : Modules for PHP script using system process interfaces<br \/>\nphp-pspell.x86_64 : A module for PHP applications for using pspell interfaces<br \/>\nphp-recode.x86_64 : A module for PHP applications for using the recode library<br \/>\nphp-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices<br \/>\nphp-soap.x86_64 : A module for PHP applications that use the SOAP protocol<br \/>\nphp-xml.x86_64 : A module for PHP applications which use XML<br \/>\nphp-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol<\/p>\n<p>Name and summary matches only, use &#8220;search all&#8221; for everything.<br \/>\nLangkah Keempat<\/p>\n<p>Untuk membuat sebuah file php, buatlah file baru:<\/p>\n<p>vi \/var\/www\/html\/info.php<br \/>\nTambahkan perintah berikut:<\/p>\n<p> &lt;?php phpinfo(); ?&gt;<br \/>\nSetelah itu simpan dan keluar.<\/p>\n<p>Lalu akses ip publik anda melalui browser <a href=\"http:\/\/103.58.100.12\/info.php\">http:\/\/103.58.100.12\/info.php<\/a><\/p>\n<p>IMAGES<\/p>\n<p>Demikian langkah-langkah menginstall lamp pada CentOS 7.<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>LAMP merupakan singkatan dari Linux, Apache, MySQL dan PHP adalah sebuah set instalasi yang sangat populer untuk sebuah web server yang mendukung PHP dan MySQL. Untuk masuk ke dalam root pada CentOS 7 VM anda, silahkan mengikuti tutorial kami berikut : SSH http:\/\/faq.biznetgiocloud.com\/index.php?action=artikel&amp;cat=11&amp;id=104&amp;artlang=id&amp;highlight=ssh Langkah Pertama \u2013 Install Apache Apache adalah open source software gratis yang [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4839,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[93],"tags":[112],"class_list":["post-5631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-neo-lite"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7<\/title>\n<meta name=\"description\" content=\"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.\" \/>\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.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7\" \/>\n<meta property=\"og:description\" content=\"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Biznet Gio Cloud Official Articles\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/biznetgiocloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-25T08:37:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-12T03:19:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Biznet Gio Content Expert\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@biznetgiocloud\" \/>\n<meta name=\"twitter:site\" content=\"@biznetgiocloud\" \/>\n<meta name=\"twitter:label1\" content=\"Ditulis oleh\" \/>\n\t<meta name=\"twitter:data1\" content=\"Biznet Gio Content Expert\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/\"},\"author\":{\"name\":\"Biznet Gio Content Expert\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2d2e3a87866a9ae9698d16a0a96a23b0\"},\"headline\":\"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7\",\"datePublished\":\"2023-03-25T08:37:35+00:00\",\"dateModified\":\"2025-09-12T03:19:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/\"},\"wordCount\":969,\"publisher\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/biznetgio.png?wsr\",\"keywords\":[\"NEO Lite\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"id\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/\",\"name\":\"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/biznetgio.png?wsr\",\"datePublished\":\"2023-03-25T08:37:35+00:00\",\"dateModified\":\"2025-09-12T03:19:50+00:00\",\"description\":\"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/biznetgio.png?wsr\",\"contentUrl\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/biznetgio.png?wsr\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/\",\"name\":\"Biznet Gio Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#organization\",\"name\":\"Biznet Gio Cloud\",\"alternateName\":\"Biznet Gio Cloud\",\"url\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/favicon_ad5bda3529_343683d318_ffddb3bf95.svg?wsr\",\"contentUrl\":\"https:\\\/\\\/1f5plsjw.wp.neoapp.id\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/favicon_ad5bda3529_343683d318_ffddb3bf95.svg?wsr\",\"caption\":\"Biznet Gio Cloud\"},\"image\":{\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/biznetgiocloud\",\"https:\\\/\\\/x.com\\\/biznetgiocloud\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/biznet-gio-cloud\\\/mycompany\\\/\",\"https:\\\/\\\/www.instagram.com\\\/biznetgiocloud\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2d2e3a87866a9ae9698d16a0a96a23b0\",\"name\":\"Biznet Gio Content Expert\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g\",\"caption\":\"Biznet Gio Content Expert\"},\"description\":\"Tim Biznet Gio Content Expert berfokus menghadirkan artikel, insight, dan panduan teknologi cloud yang relevan untuk bisnis, developer, dan kebutuhan digital masa kini.\",\"sameAs\":[\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/\"],\"url\":\"https:\\\/\\\/www.biznetgio.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7","description":"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.","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.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/","og_locale":"id_ID","og_type":"article","og_title":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7","og_description":"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.","og_url":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/","og_site_name":"Biznet Gio Cloud Official Articles","article_publisher":"https:\/\/www.facebook.com\/biznetgiocloud","article_published_time":"2023-03-25T08:37:35+00:00","article_modified_time":"2025-09-12T03:19:50+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png","type":"image\/png"}],"author":"Biznet Gio Content Expert","twitter_card":"summary_large_image","twitter_creator":"@biznetgiocloud","twitter_site":"@biznetgiocloud","twitter_misc":{"Ditulis oleh":"Biznet Gio Content Expert","Estimasi waktu membaca":"5 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/"},"author":{"name":"Biznet Gio Content Expert","@id":"https:\/\/www.biznetgio.com\/blog\/#\/schema\/person\/2d2e3a87866a9ae9698d16a0a96a23b0"},"headline":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7","datePublished":"2023-03-25T08:37:35+00:00","dateModified":"2025-09-12T03:19:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/"},"wordCount":969,"publisher":{"@id":"https:\/\/www.biznetgio.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr","keywords":["NEO Lite"],"articleSection":["DevOps"],"inLanguage":"id"},{"@type":"WebPage","@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/","url":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/","name":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7","isPartOf":{"@id":"https:\/\/www.biznetgio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr","datePublished":"2023-03-25T08:37:35+00:00","dateModified":"2025-09-12T03:19:50+00:00","description":"Rancang, bangun dan jalankan berbagai proyek dengan infrastruktur cloud terintegrasi dan beroperasi secara aman dengan data center di Indonesia.","breadcrumb":{"@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#primaryimage","url":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr","contentUrl":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/www.biznetgio.com\/blog\/cara-menginstall-linux-apache-mysql-php-lamp-di-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.biznetgio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Cara Menginstall Linux, Apache, MySQL, PHP (LAMP) di CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.biznetgio.com\/blog\/#website","url":"https:\/\/www.biznetgio.com\/blog\/","name":"Biznet Gio Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.biznetgio.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.biznetgio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Organization","@id":"https:\/\/www.biznetgio.com\/blog\/#organization","name":"Biznet Gio Cloud","alternateName":"Biznet Gio Cloud","url":"https:\/\/www.biznetgio.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.biznetgio.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2023\/12\/favicon_ad5bda3529_343683d318_ffddb3bf95.svg?wsr","contentUrl":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2023\/12\/favicon_ad5bda3529_343683d318_ffddb3bf95.svg?wsr","caption":"Biznet Gio Cloud"},"image":{"@id":"https:\/\/www.biznetgio.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/biznetgiocloud","https:\/\/x.com\/biznetgiocloud","https:\/\/www.linkedin.com\/company\/biznet-gio-cloud\/mycompany\/","https:\/\/www.instagram.com\/biznetgiocloud\/"]},{"@type":"Person","@id":"https:\/\/www.biznetgio.com\/blog\/#\/schema\/person\/2d2e3a87866a9ae9698d16a0a96a23b0","name":"Biznet Gio Content Expert","image":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/secure.gravatar.com\/avatar\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/69b8dcce0a050b9d51d679a7412d958de2b532127a0de684a018ecce5cf1a0a6?s=96&r=g","caption":"Biznet Gio Content Expert"},"description":"Tim Biznet Gio Content Expert berfokus menghadirkan artikel, insight, dan panduan teknologi cloud yang relevan untuk bisnis, developer, dan kebutuhan digital masa kini.","sameAs":["https:\/\/www.biznetgio.com\/blog\/"],"url":"https:\/\/www.biznetgio.com\/blog\/author\/admin\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"thumbnail":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio-150x150.png?wsr",150,150,true],"medium":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"medium_large":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"large":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"1536x1536":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"2048x2048":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",200,200,false],"yarpp-thumbnail":["https:\/\/1f5plsjw.wp.neoapp.id\/wp-content\/uploads\/2025\/08\/biznetgio.png?wsr",120,120,false]},"uagb_author_info":{"display_name":"Biznet Gio Content Expert","author_link":"https:\/\/www.biznetgio.com\/blog\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"LAMP merupakan singkatan dari Linux, Apache, MySQL dan PHP adalah sebuah set instalasi yang sangat populer untuk sebuah web server yang mendukung PHP dan MySQL. Untuk masuk ke dalam root pada CentOS 7 VM anda, silahkan mengikuti tutorial kami berikut : SSH http:\/\/faq.biznetgiocloud.com\/index.php?action=artikel&amp;cat=11&amp;id=104&amp;artlang=id&amp;highlight=ssh Langkah Pertama \u2013 Install Apache Apache adalah open source software gratis yang&hellip;","_links":{"self":[{"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/posts\/5631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/comments?post=5631"}],"version-history":[{"count":1,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/posts\/5631\/revisions"}],"predecessor-version":[{"id":6006,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/posts\/5631\/revisions\/6006"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/media\/4839"}],"wp:attachment":[{"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/media?parent=5631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/categories?post=5631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1f5plsjw.wp.neoapp.id\/wp-json\/wp\/v2\/tags?post=5631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}