{"id":6295,"date":"2018-04-07T09:42:16","date_gmt":"2018-04-07T14:42:16","guid":{"rendered":"http:\/\/www.carnaghan.com\/?post_type=epkb_post_type_1&p=6295"},"modified":"2018-04-07T09:42:16","modified_gmt":"2018-04-07T14:42:16","slug":"how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/","title":{"rendered":"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15"},"content":{"rendered":"

NOTE<\/strong><\/u>: This is a basic guide to setup\u00a0LAMP<\/strong>\u00a0on\u00a0Localhost<\/strong><\/p>\n

We will start off by installing\u00a0mySql Server\u00a0<\/strong>first<\/p>\n

\n
\n
sudo yum install mysql-server<\/pre>\n<\/div>\n<\/div>\n

Now we will need to\u00a0start<\/strong>\u00a0the\u00a0mySql Server<\/strong><\/p>\n

\n
\n
<\/div>\n
sudo service mysqld start<\/pre>\n<\/div>\n<\/div>\n

We set a\u00a0password<\/strong>\u00a0for\u00a0mySql<\/strong><\/p>\n

\n
\n
sudo mysqladmin -u root password ENTER_YOUR_PASSWORD_HERE<\/pre>\n<\/div>\n<\/div>\n

The next step will be to install\u00a0phpMyAdmin<\/strong>, when we install\u00a0phpMyAdmin<\/strong>, the\u00a0yum installer<\/strong>\u00a0automatically<\/strong>\u00a0gets all\u00a0dependencies<\/strong>\u00a0and then installs\u00a0Apache<\/strong>\u00a0and\u00a0PHP<\/strong>together with\u00a0phpMyAdmin<\/strong><\/p>\n

\n
\n
sudo yum install phpmyadmin<\/pre>\n<\/div>\n<\/div>\n

All needed software\u00a0packages<\/strong>\u00a0are installed and now we will need to restart\u00a0Apache<\/strong>and\u00a0mySql<\/strong><\/p>\n

Restart\u00a0mySql<\/strong><\/p>\n

\n
\n
sudo service mysqld restart<\/pre>\n<\/div>\n<\/div>\n

Restart\u00a0Apache<\/strong><\/p>\n

\n
\n
sudo service httpd restart<\/pre>\n<\/div>\n<\/div>\n

The above two command will need to be run everytime the PC reboots in order to start the\u00a0Apache<\/strong>\u00a0and\u00a0mySql services<\/strong>\u00a0to automatically start these\u00a0services<\/strong>\u00a0when the PC reboots enter the commands below as root<\/p>\n

\n
\n
sudo chkconfig --add httpd\r\n\u00a0\r\nsudo chkconfig httpd on\r\n\u00a0\r\nsudo chkconfig --add mysqld\r\n\u00a0\r\nsudo chkconfig mysqld on<\/pre>\n<\/div>\n<\/div>\n

That’s all for a basic\u00a0LAMP<\/strong>\u00a0install<\/p>\n","protected":false},"excerpt":{"rendered":"

NOTE: This is a basic guide to setup\u00a0LAMP\u00a0on\u00a0Localhost We will start off by installing\u00a0mySql Server\u00a0first sudo yum install mysql-server Now we will need to\u00a0start\u00a0the\u00a0mySql Server sudo service mysqld start We set a\u00a0password\u00a0for\u00a0mySql sudo mysqladmin -u root password ENTER_YOUR_PASSWORD_HERE The next step will be to install\u00a0phpMyAdmin, when we install\u00a0phpMyAdmin, the\u00a0yum installer\u00a0automatically\u00a0gets all\u00a0dependencies\u00a0and then installs\u00a0Apache\u00a0and\u00a0PHPtogether with\u00a0phpMyAdmin sudo […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[4412],"epkb_post_type_1_tag":[],"yoast_head":"\nHow to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan<\/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.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan\" \/>\n<meta property=\"og:description\" content=\"NOTE: This is a basic guide to setup\u00a0LAMP\u00a0on\u00a0Localhost We will start off by installing\u00a0mySql Server\u00a0first sudo yum install mysql-server Now we will need to\u00a0start\u00a0the\u00a0mySql Server sudo service mysqld start We set a\u00a0password\u00a0for\u00a0mySql sudo mysqladmin -u root password ENTER_YOUR_PASSWORD_HERE The next step will be to install\u00a0phpMyAdmin, when we install\u00a0phpMyAdmin, the\u00a0yum installer\u00a0automatically\u00a0gets all\u00a0dependencies\u00a0and then installs\u00a0Apache\u00a0and\u00a0PHPtogether with\u00a0phpMyAdmin sudo […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/\" \/>\n<meta property=\"og:site_name\" content=\"Ian Carnaghan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@icarnaghan\" \/>\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.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/\",\"url\":\"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/\",\"name\":\"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan\",\"isPartOf\":{\"@id\":\"https:\/\/www.carnaghan.com\/#website\"},\"datePublished\":\"2018-04-07T14:42:16+00:00\",\"dateModified\":\"2018-04-07T14:42:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.carnaghan.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.carnaghan.com\/#website\",\"url\":\"https:\/\/www.carnaghan.com\/\",\"name\":\"Ian Carnaghan\",\"description\":\"Software Developer, Blogger, Educator\",\"publisher\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.carnaghan.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\",\"name\":\"Ian Carnaghan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"caption\":\"Ian Carnaghan\"},\"logo\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\"},\"description\":\"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.\",\"sameAs\":[\"http:\/\/www.carnaghan.com\",\"https:\/\/x.com\/icarnaghan\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan","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.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/","og_locale":"en_US","og_type":"article","og_title":"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan","og_description":"NOTE: This is a basic guide to setup\u00a0LAMP\u00a0on\u00a0Localhost We will start off by installing\u00a0mySql Server\u00a0first sudo yum install mysql-server Now we will need to\u00a0start\u00a0the\u00a0mySql Server sudo service mysqld start We set a\u00a0password\u00a0for\u00a0mySql sudo mysqladmin -u root password ENTER_YOUR_PASSWORD_HERE The next step will be to install\u00a0phpMyAdmin, when we install\u00a0phpMyAdmin, the\u00a0yum installer\u00a0automatically\u00a0gets all\u00a0dependencies\u00a0and then installs\u00a0Apache\u00a0and\u00a0PHPtogether with\u00a0phpMyAdmin sudo […]","og_url":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/","og_site_name":"Ian Carnaghan","twitter_card":"summary_large_image","twitter_site":"@icarnaghan","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/","url":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/","name":"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15 - Ian Carnaghan","isPartOf":{"@id":"https:\/\/www.carnaghan.com\/#website"},"datePublished":"2018-04-07T14:42:16+00:00","dateModified":"2018-04-07T14:42:16+00:00","breadcrumb":{"@id":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-setup-lamp-linux-apache-mysql-php-and-phpmyadmin-in-fedora-core-15\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.carnaghan.com\/"},{"@type":"ListItem","position":2,"name":"How to setup LAMP (Linux, Apache, mySql, PHP) and phpMyAdmin in Fedora Core 15"}]},{"@type":"WebSite","@id":"https:\/\/www.carnaghan.com\/#website","url":"https:\/\/www.carnaghan.com\/","name":"Ian Carnaghan","description":"Software Developer, Blogger, Educator","publisher":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.carnaghan.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5","name":"Ian Carnaghan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","caption":"Ian Carnaghan"},"logo":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/"},"description":"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.","sameAs":["http:\/\/www.carnaghan.com","https:\/\/x.com\/icarnaghan"]}]}},"_links":{"self":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/epkb_post_type_1\/6295"}],"collection":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/comments?post=6295"}],"version-history":[{"count":0,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/epkb_post_type_1\/6295\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/media?parent=6295"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=6295"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=6295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}