{"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 Now we will need to\u00a0start<\/strong>\u00a0the\u00a0mySql Server<\/strong><\/p>\n We set a\u00a0password<\/strong>\u00a0for\u00a0mySql<\/strong><\/p>\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 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 Restart\u00a0Apache<\/strong><\/p>\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 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":"\nsudo yum install mysql-server<\/pre>\n<\/div>\n<\/div>\n
sudo service mysqld start<\/pre>\n<\/div>\n<\/div>\n
sudo mysqladmin -u root password ENTER_YOUR_PASSWORD_HERE<\/pre>\n<\/div>\n<\/div>\n
sudo yum install phpmyadmin<\/pre>\n<\/div>\n<\/div>\n
sudo service mysqld restart<\/pre>\n<\/div>\n<\/div>\n
sudo service httpd restart<\/pre>\n<\/div>\n<\/div>\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