{"id":2129,"date":"2023-01-27T11:27:36","date_gmt":"2023-01-27T05:57:36","guid":{"rendered":"https:\/\/trysiteprice.com\/blog\/?p=2129"},"modified":"2024-05-22T16:45:20","modified_gmt":"2024-05-22T11:15:20","slug":"how-to-install-lamp-on-debian-10-buster","status":"publish","type":"post","link":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/","title":{"rendered":"How to install LAMP on Debian 10 (Buster)"},"content":{"rendered":"<div class=\"flex-1 overflow-hidden\">\n<div class=\"react-scroll-to-bottom--css-iuyaj-79elbk h-full dark:bg-gray-800\">\n<div class=\"react-scroll-to-bottom--css-iuyaj-1n7m0yu\">\n<div class=\"flex flex-col items-center text-sm h-full dark:bg-gray-800\">\n<div class=\"w-full border-b border-black\/10 dark:border-gray-900\/50 text-gray-800 dark:text-gray-100 group bg-gray-50 dark:bg-[#444654]\">\n<div class=\"text-base gap-4 md:gap-6 m-auto md:max-w-2xl lg:max-w-2xl xl:max-w-3xl p-4 md:py-6 flex lg:px-0\">\n<div class=\"relative flex w-[calc(100%-50px)] md:flex-col lg:w-[calc(100%-115px)]\">\n<div class=\"flex flex-grow flex-col gap-3\">\n<div class=\"min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>&nbsp;<\/p>\n<p>To install LAMP (Linux, Apache, MySQL, PHP) on Debian 10 (Buster), you can use the following steps:<\/p>\n<ol>\n<li>Install Apache web server:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-sql\">sudo apt<span class=\"hljs-operator\">-<\/span><span class=\"hljs-keyword\">get<\/span> <span class=\"hljs-keyword\">update<\/span><br \/>\nsudo apt<span class=\"hljs-operator\">-<\/span><span class=\"hljs-keyword\">get<\/span> install apache2 <span class=\"hljs-operator\">-<\/span>y<br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"2\">\n<li>Install MySQL server:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-csharp\">sudo apt-<span class=\"hljs-keyword\">get<\/span> install mysql-server -y<br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"3\">\n<li>Install PHP and necessary modules:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-vbnet\">sudo apt-<span class=\"hljs-keyword\">get<\/span> install php php-mysql libapache2-<span class=\"hljs-built_in\">mod<\/span>-php -y<br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"4\">\n<li>After installation, start Apache and MySQL services:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-sql\">sudo systemctl <span class=\"hljs-keyword\">start<\/span> apache2<br \/>\nsudo systemctl <span class=\"hljs-keyword\">start<\/span> mysql<br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"5\">\n<li>To start the Apache and MySQL services on boot:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-bash\">sudo systemctl <span class=\"hljs-built_in\">enable<\/span> apache2<br \/>\nsudo systemctl <span class=\"hljs-built_in\">enable<\/span> mysql<br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"6\">\n<li>To test your LAMP installation, create a new file in <code>\/var\/www\/html\/<\/code> directory with the name <code>info.php<\/code> and add the following line in it:<\/li>\n<\/ol>\n<div class=\"bg-black mb-4 rounded-md\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre-wrap hljs language-php\"><span class=\"hljs-meta\">&lt;?php<\/span> <span class=\"hljs-title function_ invoke__\">phpinfo<\/span>(); <span class=\"hljs-meta\">?&gt;<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<ol start=\"7\">\n<li>Access the file in a web browser by visiting <code>http:\/\/your-ip-address\/info.php<\/code>. You should see the PHP information page, indicating that LAMP is correctly installed.<\/li>\n<\/ol>\n<p>Note: You should secure your mysql installation with mysql_secure_installation command, set a root password and remove test user and test databases.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>(<a href=\"https:\/\/www.sellerlabs.com\/xanax\">Alprazolam<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; To install LAMP (Linux, Apache, MySQL, PHP) on Debian 10 (Buster), you can use the following steps: Install Apache web server: sudo apt-get update sudo apt-get install apache2 -y Install MySQL server: sudo apt-get install mysql-server -y Install PHP and necessary modules: sudo apt-get install php php-mysql libapache2-mod-php -y After installation, start Apache and &#8230; <a title=\"How to install LAMP on Debian 10 (Buster)\" class=\"read-more\" href=\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\" aria-label=\"Read more about How to install LAMP on Debian 10 (Buster)\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2129","post","type-post","status-publish","format-standard","hentry","category-best-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install LAMP on Debian 10 (Buster) - TrySitePrice<\/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:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install LAMP on Debian 10 (Buster) - TrySitePrice\" \/>\n<meta property=\"og:description\" content=\"&nbsp; To install LAMP (Linux, Apache, MySQL, PHP) on Debian 10 (Buster), you can use the following steps: Install Apache web server: sudo apt-get update sudo apt-get install apache2 -y Install MySQL server: sudo apt-get install mysql-server -y Install PHP and necessary modules: sudo apt-get install php php-mysql libapache2-mod-php -y After installation, start Apache and ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\" \/>\n<meta property=\"og:site_name\" content=\"TrySitePrice\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-27T05:57:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-22T11:15:20+00:00\" \/>\n<meta name=\"author\" content=\"Rahul Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\"},\"author\":{\"name\":\"Rahul Sahu\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/358e04eeea4281deacad2f30c58e67f4\"},\"headline\":\"How to install LAMP on Debian 10 (Buster)\",\"datePublished\":\"2023-01-27T05:57:36+00:00\",\"dateModified\":\"2024-05-22T11:15:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\"},\"wordCount\":119,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/#organization\"},\"articleSection\":[\"Best\/Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\",\"url\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\",\"name\":\"How to install LAMP on Debian 10 (Buster) - TrySitePrice\",\"isPartOf\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/#website\"},\"datePublished\":\"2023-01-27T05:57:36+00:00\",\"dateModified\":\"2024-05-22T11:15:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/trysiteprice.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install LAMP on Debian 10 (Buster)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#website\",\"url\":\"https:\/\/trysiteprice.com\/blog\/\",\"name\":\"TrySitePrice\",\"description\":\"Free Website Value Calculator Tool\",\"publisher\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/trysiteprice.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#organization\",\"name\":\"TrySitePrice\",\"url\":\"https:\/\/trysiteprice.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/trysiteprice.com\/blog\/wp-content\/uploads\/2021\/12\/cropped-trysiteprice-logo.png\",\"contentUrl\":\"https:\/\/trysiteprice.com\/blog\/wp-content\/uploads\/2021\/12\/cropped-trysiteprice-logo.png\",\"width\":395,\"height\":268,\"caption\":\"TrySitePrice\"},\"image\":{\"@id\":\"https:\/\/trysiteprice.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/358e04eeea4281deacad2f30c58e67f4\",\"name\":\"Rahul Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51f0f95f7b95665f62baed2211572165?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51f0f95f7b95665f62baed2211572165?s=96&d=mm&r=g\",\"caption\":\"Rahul Sahu\"},\"sameAs\":[\"https:\/\/trysiteprice.com\/blog\"],\"url\":\"https:\/\/trysiteprice.com\/blog\/author\/rsahu4242_trysiteprice\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install LAMP on Debian 10 (Buster) - TrySitePrice","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:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/","og_locale":"en_US","og_type":"article","og_title":"How to install LAMP on Debian 10 (Buster) - TrySitePrice","og_description":"&nbsp; To install LAMP (Linux, Apache, MySQL, PHP) on Debian 10 (Buster), you can use the following steps: Install Apache web server: sudo apt-get update sudo apt-get install apache2 -y Install MySQL server: sudo apt-get install mysql-server -y Install PHP and necessary modules: sudo apt-get install php php-mysql libapache2-mod-php -y After installation, start Apache and ... Read more","og_url":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/","og_site_name":"TrySitePrice","article_published_time":"2023-01-27T05:57:36+00:00","article_modified_time":"2024-05-22T11:15:20+00:00","author":"Rahul Sahu","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#article","isPartOf":{"@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/"},"author":{"name":"Rahul Sahu","@id":"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/358e04eeea4281deacad2f30c58e67f4"},"headline":"How to install LAMP on Debian 10 (Buster)","datePublished":"2023-01-27T05:57:36+00:00","dateModified":"2024-05-22T11:15:20+00:00","mainEntityOfPage":{"@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/"},"wordCount":119,"commentCount":0,"publisher":{"@id":"https:\/\/trysiteprice.com\/blog\/#organization"},"articleSection":["Best\/Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/","url":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/","name":"How to install LAMP on Debian 10 (Buster) - TrySitePrice","isPartOf":{"@id":"https:\/\/trysiteprice.com\/blog\/#website"},"datePublished":"2023-01-27T05:57:36+00:00","dateModified":"2024-05-22T11:15:20+00:00","breadcrumb":{"@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/trysiteprice.com\/blog\/how-to-install-lamp-on-debian-10-buster\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/trysiteprice.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install LAMP on Debian 10 (Buster)"}]},{"@type":"WebSite","@id":"https:\/\/trysiteprice.com\/blog\/#website","url":"https:\/\/trysiteprice.com\/blog\/","name":"TrySitePrice","description":"Free Website Value Calculator Tool","publisher":{"@id":"https:\/\/trysiteprice.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trysiteprice.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/trysiteprice.com\/blog\/#organization","name":"TrySitePrice","url":"https:\/\/trysiteprice.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/trysiteprice.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/trysiteprice.com\/blog\/wp-content\/uploads\/2021\/12\/cropped-trysiteprice-logo.png","contentUrl":"https:\/\/trysiteprice.com\/blog\/wp-content\/uploads\/2021\/12\/cropped-trysiteprice-logo.png","width":395,"height":268,"caption":"TrySitePrice"},"image":{"@id":"https:\/\/trysiteprice.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/358e04eeea4281deacad2f30c58e67f4","name":"Rahul Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/trysiteprice.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51f0f95f7b95665f62baed2211572165?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51f0f95f7b95665f62baed2211572165?s=96&d=mm&r=g","caption":"Rahul Sahu"},"sameAs":["https:\/\/trysiteprice.com\/blog"],"url":"https:\/\/trysiteprice.com\/blog\/author\/rsahu4242_trysiteprice\/"}]}},"_links":{"self":[{"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/posts\/2129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/comments?post=2129"}],"version-history":[{"count":2,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/posts\/2129\/revisions"}],"predecessor-version":[{"id":7328,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/posts\/2129\/revisions\/7328"}],"wp:attachment":[{"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/media?parent=2129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/categories?post=2129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trysiteprice.com\/blog\/wp-json\/wp\/v2\/tags?post=2129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}