By default the root user will not have a root password set, you need to run mysql_secure_installation command to set new root password and secure mysql installation as shown below. Once mariadb installation complete, you can start and enable MariaDB to auto start at system boot by issuing the following commands: # systemctl start mariadbĨ. To complete the install of MariaDB in Fedora 22 issue the following commands: # dnf install mariadb-serverħ. It is slowly becoming the preferred option for a relational database engine. MariaDB is meant to remain free under the GNU GPL. MariaDB has been forked by the MySQL creators due to concerns of Oracle acquisition. MariaDB is an open source fork of the famous MySQL relational database. Note: The default Apache directory root for your website files is /var/www/html/, make sure to place your files in there. To ensure that Apache will start upon sytem boot run the following command. Open Apache Ports on Firewall Fedora 22 Apache Default Pageĥ. # firewall-cmd -permanent –add-service=https You can allow connections on the default Apache ports ( 80 and 443) by using: # firewall-cmd -permanent –add-service=http Note: In case you are not able to reach the page, it could be that the firewall is blocking connection on port 80. Once you know the IP address, you can enter your IP address in the browser you should see the default Apache page: You can find your IP address with command such as: # ifconfig | grep inetĤ. To verify that Apache is working properly open your server’s IP address in a web browser. Once the install is complete you can power on Apache by issuing the following command: # systemctl start httpdģ. To install Apache in Fedora 22 you can simply run the following command as root: # dnf install httpdĢ. It is very flexible in terms of customization and its security can be greatly improved with modules such as mod_security and mod_evasive. Apache web server powers millions of websites across the web. I will separate the installation process in 3 different steps to make the whole process easier for you. Once Fedora 22 has been installed, you will need to do a full system update by issuing the following command: # dnf update Fedora 22 Workstation Installation Guide.Since you already have Fedora installed, the Linux part is complete, else you can follow the following guides to install Fedora 22. The LAMP abbreviations is taken from the first letter of each package that it has – Linux, Apache, MariaDB and PHP. LAMP is a suite of tools needed to build your web server with support for relational database such as MariaDb with the new package manager ( DNF) in Fedora 22, there is a slight difference from the usual steps you have to perform the install. Fedora 22 has been released just a few days ago and you can now install LAMP on it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |