We are going to go through brief steps of how to install WordPress on Redhat based servers.
WordPress Installation basic requirements are:
- PHP 5.2.4 or greater
- MySQL 5.0 or greater
- The mod_rewrite Apache module
First of all let’s download the latest copy of WordPress source files:
Download WordPress in tar.gz format
Download WordPress in Zip format
Extract the content of the compressed WordPress files to a temporary directory.
If you have Shell/SSH access then you can simply just do the following:
- wget http://wordpress.org/latest.tar.gz
- Then unzip the package using:
tar -xzvf latest.tar.gz
Create WordPress Database
Login to your MySQL server or PHPMyAdmin and create a new database and add a new user with full privileges to this newly created DB.
Upload WordPress Files
At this point we have to assume you have a web hosting account, VPS, Cloud or a dedicated server and it has an FTP account ready for your new WordPress website. Within the extracted WordPress files look for “wp-config.php” and edit that to reflect your new MySQL database settings.
Now it’s time to upload these files to your home directory on the web server via FTP. We recommend FTP client like FileZilla or any modern FTP software. Typically your home directory should be: /home/websitename/www/ or /var/www/html/websitename .
Run WordPress Installer
Now that all files including wp-config.php has been uploaded to the server, we can launch the installer for WordPress. Simply go tohttp://www.yourdomain.com/wp-admin/install.php and follow the onscreen wizard. We recommend that you use a different username to default “admin” username.
Once the installation is completed you can browse your WordPress Admin control panel by visiting http://www.yourdomain.com/wp-adminand login with the credentials you set during the initial install.