Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to install Redaxscript CMS on an Ubuntu VPS

Today we will show you how to install Redaxscript CMS on an Ubuntu 14.04 VPS using Apache web-server and MySQL database.

Redaxscript is an open source, PHP and MySQL driven CMS for small business and private websites. It is ultra lightweight, simple and customizable. Redaxscript Cms allows web developers to experience the future of web design and development, leave behind the confusion and create websites intuitively. It is fairly easy to install Redaxscript CMS on an Ubuntu 14.04 Virtual Server. The installation process should take about 5-10 minutes if you follow the very easy steps described below.

At the time of writing this tutorial, Redaxscript CMS 2.6.2 is the latest stable version available and it requires:

  • Apache web server;
  • PHP (version 5.2.4 or higher);
  • MySQL (version 4.1 or higher) installed on your Linux Virtual Server.

Installation instructions

Log in to your VPS via SSH

ssh user@vps_IP

Update the operating system packages

[user]$ sudo apt-get update && sudo apt-get -y upgrade

Install MariaDB 10.0

To install MariaDB, run the following command:

[user]$ sudo apt-get install -y mariadb-server

Next, we need to create a database for our Redaxscript CMS installation.

[user]$ mysql -u root -p

MariaDB [(none)]> CREATE DATABASE redaxscript;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON redaxscript.* TO 'redaxuser'@'localhost' IDENTIFIED BY 'your-password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Do not forget to replace ‘your-password’ with a strong password.

Install Apache2 web server

[user]$ sudo apt-get install apache2

Install PHP and all the required PHP modules

To install the latest stable version of PHP version 5 and all necessary modules, run:

[user]$ sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-mysql php5-gd

Download and extract the latest version of Redaxscript CMS to a directory on your server:

[user]$ sudo cd /opt && wget http://redaxscript.com/files/releases/redaxscript_2.6.2_lite.zip
[user]$ sudo unzip redaxscript_2.6.2_lite.zip -d redaxscript
[user]$ sudo mv redaxscript /var/www/html/redaxscript

All files have to be readable by the web server, so we need to set a proper ownership

[user]$ sudo chown www-data:www-data -R /var/www/html/redaxscript/

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘redaxscript.conf’ on your virtual server:

[user]$ sudo touch /etc/apache2/sites-available/redaxscript.conf
[user]$ sudo ln -s /etc/apache2/sites-available/redaxscript.conf /etc/apache2/sites-enabled/redaxscript.conf
[user]$ sudo nano /etc/apache2/sites-available/redaxscript.conf

Then, add the following lines to it:


ServerAdmin [email protected]
DocumentRoot /var/www/html/redaxscript/
ServerName your-domain.com
ServerAlias www.your-domain.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

Restart the Apache web server for the changes to take effect using the following command:

[user]$ sudo service apache2 restart

Open your favorite web browser, navigate to http://your-domain.com/ and if you configured everything correctly the Redaxscript CMS installer should be starting. You should follow the easy instructions on the install screen inserting the necessary information as requested.

That is it. The Redaxscript CMS installation is now complete.


PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.



This post first appeared on Virtual-Server.org Virtual Server, please read the originial post: here

Share the post

How to install Redaxscript CMS on an Ubuntu VPS

×

Subscribe to Virtual-server.org Virtual Server

Get updates delivered right to your inbox!

Thank you for your subscription

×