{"id":558,"date":"2020-12-15T05:03:48","date_gmt":"2020-12-15T05:03:48","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=558"},"modified":"2020-12-22T13:25:04","modified_gmt":"2020-12-22T13:25:04","slug":"install-lamp-with-one-command-linux-apache-mysql-php","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/","title":{"rendered":"How to Install LAMP (Linux Apache MySQL PHP) with one command?"},"content":{"rendered":"<p>LAMP is a very common example of a <a href=\"https:\/\/www.velaninfo.com\/portal-services\"><strong>web service<\/strong><\/a> stack that contains four components \u2013 Linux OS, Apache Web Server, MySQL Database and PHP programming language. LAMP Stack is suitable for building dynamic websites and web applications.<\/p>\n<p>The following command installs LAMP with a single command on Ubuntu based distro servers.<\/p>\n<p><strong><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 $ sudo apt-get install lamp-server^phpmyadmin<\/em><\/strong><\/p>\n<p>The one line does the installation of Apache Web Server, MySQL Database, PHP Programing language.<\/p>\n<p>When running this command, you will need to ensure you have proper internet access as there will several occasions when the command will try to download packages from the internet.<\/p>\n<p>Confirm all the downloads with a yes. The system will prompt you to setup of the MySQL root password.<\/p>\n<p>The system will also prompt you to if you want to configure Apache Web Server or Lighthttpd server. Choose Apache for the webserver.<\/p>\n<p>In the next step, you will be prompted to download the package for phpmyadmin. The phpmyadmin package must have a database installed and configured. This option can be handled with dbconfig-common. If you are not sure, please select yes for the install.<\/p>\n<p>During the next step, you will be prompted to setup phpmyadmin password with MySQL. You need to leave the password blank and a random strong password will be generated.<\/p>\n<p>At <strong>Velan<\/strong>, our server support engineers can help you with the installation of LAMP on your server. We troubleshoot problems like these for our clients every day.\u00a0If you are interested in our service, please fill the <a href=\"https:\/\/www.velaninfo.com\/contact\"><strong>Quick connect<\/strong><\/a> form to get in touch with us<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LAMP is a very common example of a web service stack that contains four components \u2013 Linux OS, Apache Web Server, MySQL Database and PHP programming language. LAMP Stack is suitable for building dynamic websites and web applications. The following command installs LAMP with a single command on Ubuntu based distro servers. \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 $ sudo&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-558","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-linux","Categories_tech_tip-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install LAMP with one command - Linux Apache MySQL PHP | Velan<\/title>\n<meta name=\"description\" content=\"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.\" \/>\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.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/\" \/>\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 (Linux Apache MySQL PHP) with one command?\" \/>\n<meta property=\"og:description\" content=\"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-22T13:25:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/install-lamp-with-one-command-linux-apache-mysql-php\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/install-lamp-with-one-command-linux-apache-mysql-php\\\/\",\"name\":\"How to install LAMP with one command - Linux Apache MySQL PHP | Velan\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2020-12-15T05:03:48+00:00\",\"dateModified\":\"2020-12-22T13:25:04+00:00\",\"description\":\"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/install-lamp-with-one-command-linux-apache-mysql-php\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/install-lamp-with-one-command-linux-apache-mysql-php\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/install-lamp-with-one-command-linux-apache-mysql-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install LAMP (Linux Apache MySQL PHP) with one command?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install LAMP with one command - Linux Apache MySQL PHP | Velan","description":"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.","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.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/","og_locale":"en_US","og_type":"article","og_title":"How to Install LAMP (Linux Apache MySQL PHP) with one command?","og_description":"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/","og_site_name":"Velan","article_modified_time":"2020-12-22T13:25:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/","name":"How to install LAMP with one command - Linux Apache MySQL PHP | Velan","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2020-12-15T05:03:48+00:00","dateModified":"2020-12-22T13:25:04+00:00","description":"How to install LAMP with one command - Linux Apache MySQL PHP | Velan offers Remote Server Support Services.","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/install-lamp-with-one-command-linux-apache-mysql-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to Install LAMP (Linux Apache MySQL PHP) with one command?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=558"}],"version-history":[{"count":1,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/558\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/558\/revisions\/559"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=558"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}