Fedora Setup with mysql and apache

October 23, 2015 1.7k views
Apache MySQL

I just can’t find the tutorial(s) for setting up a server. Are there any instructions for installing apache and mysql?

Also, why isn’t fedora listed under distributions?

1 Answer

You can install MySQL and Apache by running the following commands.

yum update
sudo yum install httpd
sudo service httpd start
sudo yum install mysql mysql-server
sudo service mysqld start

And then to setup your MySQL root password, run:

sudo /usr/bin/mysql_secure_installation
Have another answer? Share your knowledge.