Fedora Setup with mysql and apache

Posted October 23, 2015 2.8k views

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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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