Setting Up LAMP (Linux, Apache, MariaDB and PHP) on Fedora 24 Server

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

24 Responses

  1. Anthony Smigielski says:

    In Fedora 25 you will need to install
    instead of

  2. Rick says:

    repeat the command with sudo

  3. kamel says:

    Hello, after executing mysql_install_db command i got this error :
    Installing MariaDB/MySQL system tables in ‘/var/lib/mysql’ …
    2017-08-12 19:34:55 139953582225664 [Note] /usr/libexec/mysqld (mysqld 10.1.25-MariaDB) starting as process 5851 …

    Installation of system tables failed! Examine the logs in
    /var/lib/mysql for more information.

    The problem could be conflicting information in an external
    my.cnf files. You can ignore these by doing:

    shell> /usr/bin/scripts/mysql_install_db –defaults-file=~/.my.cnf

    You can also try to start the mysqld daemon with:

    shell> /usr/libexec/mysqld –skip-grant –general-log &

    and use the command line tool /usr/bin/mysql
    to connect to the mysql database and look at the grant tables:

    shell> /usr/bin/mysql -u root mysql
    mysql> show tables;

    Try ‘mysqld –help’ if you have problems with paths. Using
    –general-log gives you a log in /var/lib/mysql that may be helpful.

    The latest information about mysql_install_db is available at
    MariaDB is hosted on launchpad; You can find the latest source and
    email lists at

    Please check all of the above before submitting a bug report

    i use fedora 26

Leave a Reply to Aaron Kili Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.