{"id":316,"date":"2017-11-07T11:48:16","date_gmt":"2017-11-07T06:18:16","guid":{"rendered":"https:\/\/www.nocturnalknight.com\/?p=316"},"modified":"2017-11-07T11:48:16","modified_gmt":"2017-11-07T06:18:16","slug":"devops-post-series-1-how-to-install-and-configure-lamp-on-aws-ec2","status":"publish","type":"post","link":"https:\/\/nocturnalknight.com\/?p=316","title":{"rendered":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2"},"content":{"rendered":"<p>In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working.<br \/>\n&nbsp;<br \/>\nIn this post, I will assume that you have already launched an EC2 instance type with the operating system of your choice. Generally, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Amazon_Machine_Image\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon Linux<\/a> (based on RedHat\/CentOS) or <a href=\"https:\/\/aws.amazon.com\/marketplace\/pp\/B01JBL2M0O?qid=1509703769456&amp;sr=0-1&amp;ref_=srh_res_product_title\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu<\/a> is the preferred OS of choice. In case you prefer an exotic flavour of Linux, which does not support either the rpm\/yum(RHEL\/CentOS\/Fedora\/AMI) or apt (Debian\/Ubuntu and derivatives)\u00a0 this article may not be of much use to you.<\/p>\n<ol>\n<li>Connect to your instance &#8211; Use the private key you downloaded during the ec2 launch.\n<ol>\n<li>If you&#8217;re in Linux or Mac &#8211; use the following by replacing it with your private key name and instance&#8217;s public dns &#8211;\u00a0<em><strong><code class=\"nohighlight\"><strong class=\"userinput\"><code class=\"\"><\/code> ssh -i \"loginserver.\"root@ec2-xx-xx-xx-xx.compute-1.amazonaws.com <\/strong><\/code><\/strong><\/em><\/li>\n<li>If you&#8217;ve launched an Amazon Linux, use &#8220;ec2-user&#8221; instead of &#8220;root&#8221;<\/li>\n<li>If you&#8217;ve launched an Ubuntu Linux, use &#8220;ubuntu&#8221; instead of &#8220;root&#8221;<\/li>\n<li>another important thing is to ensure that the private key has 0400 privilege and it is &#8220;owned&#8221; by the &#8220;User&#8221; as who you&#8217;ll execute the ssh connection.<\/li>\n<\/ol>\n<\/li>\n<li>Update your package manager\n<ol>\n<li>Amazon Linux : sudo<em><strong> yum update<\/strong><\/em><\/li>\n<li>Ubuntu Linux: sudo<em><strong> apt-get update<\/strong><\/em><\/li>\n<\/ol>\n<\/li>\n<li>Tools &amp; Utils (Optional\/Personal Preference) I normally prefer to have a couple of tools installed in the server for quick-hacks\/edits, monitoring etc.\n<ol>\n<li>Amazon Linux :<code class=\"nohighlight\"><strong class=\"userinput\"><code class=\"\"><\/code> sudo<em><strong> yum install -y mc nano tree multitail git lynx<br \/>\n<\/strong><\/em><\/strong><\/code><\/li>\n<li>Ubuntu Linux: <strong><code class=\"nohighlight\"><code class=\"nohighlight\"><strong class=\"userinput\"><code class=\"\"><\/code>sudo<em> apt-get -y mc nano tree multitail git\u00a0 lynx<\/em><\/strong><\/code><\/code><\/strong>\n<ol>\n<li>For details on the above-mentioned tools, refer the bottom of the article.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>LAMP Server\n<ol>\n<li>Amazon Linux :<code class=\"nohighlight\"><strong class=\"userinput\"><code class=\"\"><\/code>sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd mysql56-client<\/strong><\/code><\/li>\n<li>Ubuntu Linux:\u00a0<code class=\"nohighlight\"><strong class=\"userinput\">sudo apt-get install mysql-client-core-5.6 mysql-server-core-5.6 apache2 php libapache2-mod-php php-mcrypt php-mysql<\/strong><\/code>\n<ol>\n<li>Your operating system will start to download and install the specified software, as for MySQL, you will be prompted for a root password. After installation, I strongly recommend you to run\u00a0<span class=\"token command\"><strong><code>mysql_secure_installation<\/code><\/strong><\/span> and proceed with the onscreen instructions.<\/li>\n<li>Some of the critical things to do are remove the &#8220;test&#8221; db, remove access to <strong><code>\"root\"@\"%\"<\/code><strong>, <\/strong><\/strong>others are optional.<\/li>\n<li>The optional steps are,\n<ol>\n<li>remove the anonymous user accounts.<\/li>\n<li>disable the remote root login.<\/li>\n<li>reload the privilege tables and save your changes.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>Configuration and other dependencies\n<ol>\n<li>Amazon Linux :\n<pre class=\"programlisting\"><code class=\"nohighlight\"><strong class=\"userinput\"><code class=\"\"><span class=\"\">sudo<\/span> <span class=\"\">yum<\/span> <span class=\"\">install<\/span> <span class=\"\">php70-mbstring<\/span><span class=\"\">.x86_64<\/span> <span class=\"\">php70-zip<\/span><span class=\"\">.x86_64 composer node<\/span> <span class=\"\">-y<\/span><\/code><\/strong><\/code><\/pre>\n<\/li>\n<li>Ubuntu replace yum install with apt0get install<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Finally, restart the services and off you go. You have successfully installed LAMP server in EC2. Now, go to your browser and enter the publicDNS of the ec2 instance and you should be able to see the default apache page.\u00a0 If you get either a timeout or not found error, it may mean you have to configure the security group accordingly. You should &#8220;ALLOW&#8221; port 80\/443 (http\/Https) in the security group.<br \/>\n<a href=\"http:\/\/35.177.175.1.xip.io\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.40.48-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-321\" src=\"http:\/\/35.177.175.1.xip.io\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.40.48-AM.png\" alt=\"\" width=\"194\" height=\"167\" \/><\/a><br \/>\n<a href=\"http:\/\/35.177.175.1.xip.io\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.41.11-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-322\" src=\"http:\/\/35.177.175.1.xip.io\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.41.11-AM-300x29.png\" alt=\"\" width=\"300\" height=\"29\" srcset=\"https:\/\/nocturnalknight.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.41.11-AM-300x29.png 300w, https:\/\/nocturnalknight.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.41.11-AM-768x75.png 768w, https:\/\/nocturnalknight.com\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.41.11-AM.png 781w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. &nbsp; In this post, I will assume that you have already &hellip; <\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/nocturnalknight.com\/?p=316\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[276,286,491],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-datacenter","tag-devops","tag-startup"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ramkumar Sundarakalatharan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/nocturnalknight.com\/?p=316\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Nocturnalknight&#039;s Lair - Observations of a Random Wanderer!\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight&#039;s Lair\" \/>\n\t\t<meta property=\"og:description\" content=\"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/nocturnalknight.com\/?p=316\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-11-07T06:18:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-11-07T06:18:16+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@nocturnalknight\" \/>\n\t\t<meta name=\"twitter:title\" content=\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight&#039;s Lair\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@nocturnalknight\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#blogposting\",\"name\":\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair\",\"headline\":\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2\",\"author\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/35.177.175.1.xip.io\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/Screen-Shot-2017-11-07-at-11.40.48-AM.png\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316\\\/#articleImage\"},\"datePublished\":\"2017-11-07T11:48:16+00:00\",\"dateModified\":\"2017-11-07T11:48:16+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#webpage\"},\"articleSection\":\"Uncategorized, Datacenter, Devops, startup\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nocturnalknight.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?cat=1#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?cat=1#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/nocturnalknight.com\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#listItem\",\"name\":\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#listItem\",\"position\":3,\"name\":\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?cat=1#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/#organization\",\"name\":\"Nocturnalknight's Lair\",\"description\":\"Observations of a Random Wanderer!\",\"url\":\"https:\\\/\\\/nocturnalknight.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/nocturnalknight.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/cropped-Ram-Profile.avif\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316\\\/#organizationLogo\",\"width\":512,\"height\":512},\"image\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/nocturnalknight\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/nocturnalknight\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?author=2#author\",\"url\":\"https:\\\/\\\/nocturnalknight.com\\\/?author=2\",\"name\":\"Ramkumar Sundarakalatharan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/818bc4a4d5681de6957f83aca2601d598459bf37a0a8b17d5abb1a889e2b9298?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Ramkumar Sundarakalatharan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#webpage\",\"url\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316\",\"name\":\"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair\",\"description\":\"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?p=316#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/?author=2#author\"},\"datePublished\":\"2017-11-07T11:48:16+00:00\",\"dateModified\":\"2017-11-07T11:48:16+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/#website\",\"url\":\"https:\\\/\\\/nocturnalknight.com\\\/\",\"name\":\"Nocturnalknight's Lair\",\"description\":\"Observations of a Random Wanderer!\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/nocturnalknight.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair","description":"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already","canonical_url":"https:\/\/nocturnalknight.com\/?p=316","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/nocturnalknight.com\/?p=316#blogposting","name":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair","headline":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2","author":{"@id":"https:\/\/nocturnalknight.com\/?author=2#author"},"publisher":{"@id":"https:\/\/nocturnalknight.com\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/35.177.175.1.xip.io\/wp-content\/uploads\/2017\/11\/Screen-Shot-2017-11-07-at-11.40.48-AM.png","@id":"https:\/\/nocturnalknight.com\/?p=316\/#articleImage"},"datePublished":"2017-11-07T11:48:16+00:00","dateModified":"2017-11-07T11:48:16+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/nocturnalknight.com\/?p=316#webpage"},"isPartOf":{"@id":"https:\/\/nocturnalknight.com\/?p=316#webpage"},"articleSection":"Uncategorized, Datacenter, Devops, startup"},{"@type":"BreadcrumbList","@id":"https:\/\/nocturnalknight.com\/?p=316#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com#listItem","position":1,"name":"Home","item":"https:\/\/nocturnalknight.com","nextItem":{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com\/?cat=1#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com\/?cat=1#listItem","position":2,"name":"Uncategorized","item":"https:\/\/nocturnalknight.com\/?cat=1","nextItem":{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com\/?p=316#listItem","name":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2"},"previousItem":{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com\/?p=316#listItem","position":3,"name":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2","previousItem":{"@type":"ListItem","@id":"https:\/\/nocturnalknight.com\/?cat=1#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/nocturnalknight.com\/#organization","name":"Nocturnalknight's Lair","description":"Observations of a Random Wanderer!","url":"https:\/\/nocturnalknight.com\/","logo":{"@type":"ImageObject","url":"https:\/\/nocturnalknight.com\/wp-content\/uploads\/2026\/08\/cropped-Ram-Profile.avif","@id":"https:\/\/nocturnalknight.com\/?p=316\/#organizationLogo","width":512,"height":512},"image":{"@id":"https:\/\/nocturnalknight.com\/?p=316\/#organizationLogo"},"sameAs":["https:\/\/x.com\/nocturnalknight","https:\/\/www.linkedin.com\/in\/nocturnalknight\/"]},{"@type":"Person","@id":"https:\/\/nocturnalknight.com\/?author=2#author","url":"https:\/\/nocturnalknight.com\/?author=2","name":"Ramkumar Sundarakalatharan","image":{"@type":"ImageObject","@id":"https:\/\/nocturnalknight.com\/?p=316#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/818bc4a4d5681de6957f83aca2601d598459bf37a0a8b17d5abb1a889e2b9298?s=96&d=mm&r=g","width":96,"height":96,"caption":"Ramkumar Sundarakalatharan"}},{"@type":"WebPage","@id":"https:\/\/nocturnalknight.com\/?p=316#webpage","url":"https:\/\/nocturnalknight.com\/?p=316","name":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair","description":"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/nocturnalknight.com\/#website"},"breadcrumb":{"@id":"https:\/\/nocturnalknight.com\/?p=316#breadcrumblist"},"author":{"@id":"https:\/\/nocturnalknight.com\/?author=2#author"},"creator":{"@id":"https:\/\/nocturnalknight.com\/?author=2#author"},"datePublished":"2017-11-07T11:48:16+00:00","dateModified":"2017-11-07T11:48:16+00:00"},{"@type":"WebSite","@id":"https:\/\/nocturnalknight.com\/#website","url":"https:\/\/nocturnalknight.com\/","name":"Nocturnalknight's Lair","description":"Observations of a Random Wanderer!","inLanguage":"en-GB","publisher":{"@id":"https:\/\/nocturnalknight.com\/#organization"}}]},"og:locale":"en_GB","og:site_name":"Nocturnalknight's Lair - Observations of a Random Wanderer!","og:type":"article","og:title":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair","og:description":"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already","og:url":"https:\/\/nocturnalknight.com\/?p=316","article:published_time":"2017-11-07T06:18:16+00:00","article:modified_time":"2017-11-07T06:18:16+00:00","twitter:card":"summary_large_image","twitter:site":"@nocturnalknight","twitter:title":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2 - Nocturnalknight's Lair","twitter:description":"In this #DevOps centric series of blog posts, I will write about some of the interesting yet common problems and their solutions or quick guides and how-tos. This is the result of setting up a new #Datacenter setup for the #Startup I am working. In this post, I will assume that you have already","twitter:creator":"@nocturnalknight"},"aioseo_meta_data":{"post_id":"316","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-19 11:33:00","updated":"2026-08-19 11:33:00"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nocturnalknight.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nocturnalknight.com\/?cat=1\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDevOps Post Series : 1, How to install and configure LAMP on AWS EC2\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/nocturnalknight.com"},{"label":"Uncategorized","link":"https:\/\/nocturnalknight.com\/?cat=1"},{"label":"DevOps Post Series : 1, How to install and configure LAMP on AWS EC2","link":"https:\/\/nocturnalknight.com\/?p=316"}],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316"}],"version-history":[{"count":0,"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions"}],"wp:attachment":[{"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nocturnalknight.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}