Oxwall is free and open source community software distributed under the Common Public Attribution License. It is written in PHP and is used to build social networking and community sites. The default features includes uploading/sharing content, friend networking, profile and page layout customization, user and content management and built-in SEO. Oxwall comes with many default themes that can be customized through the admin dashboard.
Oxwall was added to Softaculous software collection on March 31, 2011. Oxwall software has a community of users and developers interacting on the Oxwall Market and forum. Oxwall users can get support assistance, report bugs and post feature suggestions on the forum moderated by the Oxwall staff.
You'll only need a CentOS 7 server instance and a root privileges on the user. You can switch between sudo user and root user using sudo command.
Updating the System
It is recommended to update the system and required all packages before going through installation process so use following command to update.
yum -y update
Installing Apache Web Server
Once the system is updated, you can install the dependencies required. To install Oxwall you will need to install the Apache web server along with MaraiDB and PHP with a few extensions.
Run the following command to install the Apache web server.
yum -y install httpd
Now you can start Apache and enable it to start at boot time, using the following commands.
You can check status of mariadb using this command and you should see following output.
systemctl status mariadb.service
[root@ip-172-31-14-223 ~]# systemctl status mariadb.service
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2017-01-30 09:54:59 UTC; 36s ago
Main PID: 10691 (mysqld_safe)
├─10691 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─10848 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr...
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: The latest information about Ma....
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: You can find additional informa...:
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: http://dev.mysql.com
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: Support MariaDB development by ...B
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: Corporation Ab. You can contact....
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: Alternatively consider joining ...:
Jan 30 09:54:57 ip-172-31-14-223 mariadb-prepare-db-dir: http://mariadb.com/kb/en/contri.../
Jan 30 09:54:57 ip-172-31-14-223 mysqld_safe: 170130 09:54:57 mysqld_safe Logging to '/...'.
Jan 30 09:54:57 ip-172-31-14-223 mysqld_safe: 170130 09:54:57 mysqld_safe Starting mysq...ql
Jan 30 09:54:59 ip-172-31-14-223 systemd: Started MariaDB database server.
Hint: Some lines were ellipsized, use -l to show in full.
We will need to make sure that this installation is secure and to do so run following command.
You'll be asked to provide root password so enter appropriate password and answer yes to all questions.
Now you'll have to create a database for oxwall please follow the instructions.
mysql -u root -p
You'll be asked to enter password so simply enter password and now execute the following queries to create a new database.
CREATE DATABASE oxwall;
The above query will create a database named oxwall. For the database you can use any name you prefer in the place of oxwall. Make sure that you use semicolon at the end of each query as a query always ends with a semicolon. Once the database is created you can create a new user and grant the required permissions to the user for the database.
CREATE USER 'oxwall_user'@'localhost' IDENTIFIED BY 'StrongPassword';
The above query will create a user with username oxwall_user. You can use any preferred username instead of oxwall_user. Replace StrongPassword with a strong password.
Now provide the appropriate privileges to your database user over the database you have created. Run the following query to do so.
GRANT ALL PRIVILEGES ON oxwall.* TO 'oxwall_user'@'localhost';
Now run the following query to immediately apply the changes on the database privileges.
Now you can exit from MySQL prompt using following command.
We will have to install PHP. To do so run following commands as shown below.
Now you'll have to restart your apache web server to load new components that we just configured and use following command to restart apache web server.
systemctl restart httpd.service
Let's download a latest version of oxwall from its official website. If in case you don't have wget and unzip package already installed on your server then you can install them using yum -y install wget unzip.
We will need to create a virtual host and for creating this we need to create a virtual host configuration file for Oxwall using any text editor. Here we are using nano text editor, you can install nano text editor using this command.
yum -y install nano
Next run following command to create a virtual host configuration file.
Add following content to the file.
Options Indexes FollowSymLinks MultiViews
allow from all
Save and exit from the text editor. You'll have to restart your apache web server to load new contents and to do so run following command.
systemctl restart httpd
If in case you don't have firewalld installed on your server then you can install it using yum -y install firewalld.
You can start this firewalld service using systemctl start firewalld.
Now run these commands to change firewalld service rules as shown.
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...