How to install Oxwall on CentOS

oxwall vpsOxwall is an open source social networking software written in PHP. It is used to create and manage Social Network and community based websites. Oxwall has many flexible and easy to use plugins and extensions available at the Oxwall Store.

This install guide assumes that Apache, MySQL and PHP are already installed and configured on your Linux VPS. At the time of writing this tutorial, the latest stable version of Oxwall is 1.8.1 and it requires:

  • PHP 5.3 or higher with the following PHP extensions enabled: ftp, mbstring, PDO, DOM, cURL, zip, zlib, json, GD Graphics Library version 2.0.x+ and FreeType font library. Also, safe_mode, register_globals, suPHP, suApache and Suhosin settings should be disabled and allow_url_fopen and cURL setting should be enabled in php.ini
  • Apache Web Server 2.0 or higher compiled with mod_rewrite module and with the following directives allowed: RewriteEngine, RewriteBase, RewriteCond and RewriteRule.
  • MySQL 5.0 or higher
  • Cron service
  • Mail server (SendMail, Postfix, Exim or other) installed on your CentOS virtual server.

Download the latest version of Oxwall available at ‘’ to the server and extract it using the following commands:

cd /opt/
mkdir -p /var/www/html/oxwall
unzip -d /var/www/html/oxwall

Create a new MySQL database for Oxwall on your server:

mysql -u root -p
mysql> CREATE DATABASE oxwalldb;
mysql> GRANT ALL PRIVILEGES ON oxwalldb.* TO 'oxwalluser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> quit

Locate the php configuration file using the following command:

#php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini

Edit the ‘php.ini’ file and add/modify the following lines:

file_uploads = On
allow_url_fopen = On
register_globals = off
safe_mode = Off
session.auto_start = 0

Run the following command:

chown apache:apache -R /var/www/html/oxwall/

Create a new virtual host directive in Apache. For example, edit your Apache configuration file (‘/etc/httpd/conf/httpd.conf’ by default) and un-comment the following line:

#NameVirtualHost *:80

Then, add the following lines at the end:

<VirtualHost *:80>
DocumentRoot /var/www/html/oxwall/
<Directory /var/www/html/oxwall/>
    Options FollowSymLinks
    AllowOverride All
    ErrorLog logs/
    CustomLog logs/ common

Restart the Apache web server for the changes to take effect:

service httpd restart

Open in your popular web browser and follow the easy instructions; set website title, admininistrator email address and login credentials, enter database information, then copy and paste the code shown on the ‘Finalizing install’ page replacing the existing one into ‘/var/www/html/oxwall/ow_includes/config.php’ file.

Create a cron job to run ‘/var/www/html/oxwall/ow_cron/run.php’ script every minute:

* * * * * wget -q -O /dev/null

Install Oxwall plugins of your choice and click ‘Finish’. For security reason, it is recommended to delete the ‘/var/www/html/oxwall/ow_install/’ directory:

rm -rf /var/www/html/oxwall/ow_install/

That is it. The Oxwall installation is now complete. Log in to the Admin area at , configure Oxwall according to your needs and start building your Social Network website.


Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Oxwall for you. They are available 24×7 and will take care of your request immediately.

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.

Install Laravel on Ubuntu 16.04
Install gpEasy CMS with NGINX and PHP5-FPM on an Ubuntu 14.04 VPS
How to install CMS Made Simple on an Ubuntu 14.04 VPS
  • clinton Guy

    I cant get it to work even after following these instructions. I’m running nethserver 6.7.

    • admin


      Author Reply

      Do you receive errors when accessing Oxvall? Have you checked your log files?
      Can you provide more details about your problem?