How To Setup File Server With AjaXplorer

by
Share this Article: Facebook18Google+12Twitter9LinkedIn0Reddit9Pinterest1StumbleUpon0Digg

AjaXplorer is an open source software that can be used to setup fileserver on any system. It is an alternative to SaaS Boxes and Drives, with more control, safety and privacy, and favorable TCOs. It provides the easy access to files/folders from any system, any browser over LAN or WAN.  It has an embedded WebDAV server and native mobile applications for iOS and Android.

AjaXplorer is easy to install, configure and it is designed to provide enterprise grade security and control. Ajaxplorer will allow the users directly form your external LDAP/AD server or from the most common PHP-based CMS.  Visit the official website to know more about the features.

Install AjaXplorer On CentOS 6.x

Ajaxplorer can be deployed on any webserver. For testing purpose, i am going to deploy the fileserver using LAMP. To install and configure LAMP server, use any one of the following links. My testbox is running with CentOS 6.4 and my testbox hostname is server.unixmen.com and IP Address is 192.168.1.201/24. Though it was tested on CentOS 6.4, it should work on any RPM based distributions.

>>> Install LAMP (Apache with MariaDB and PHP) on CentOS/RHEL/Scientific Linux 6

or

>>> Install LAMP server in CentOS 6.4 / RHEL 6.4

Create Database And User

Let us create a database called ajaxdb and a database user called ajaxuser.

# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.31-MariaDB MariaDB Server

Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database ajaxdb;
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]> GRANT ALL ON ajaxdb.* TO ajaxuser@localhost IDENTIFIED BY 'centos';
Query OK, 0 rows affected (0.01 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> exit
Bye

Firewall/Router Settings

Allow the apache default port “80″ through iptables/router. Edit file /etc/sysconfig/iptables,

# vi /etc/sysconfig/iptables

Add the following lines.

-A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT

Now restart the iptables service.

# /etc/init.d/iptables restart

Getting AjaXplorer

Download the latest version from Ajaxplorer website.

# wget http://sourceforge.net/projects/ajaxplorer/files/ajaxplorer/stable-channel/5.0.3/ajaxplorer-core-5.0.3.zip

Extract the installer file and move them to your web root directory.

# unzip ajaxplorer-core-5.0.3.zip 
# mv ajaxplorer-core-5.0.3/ /var/www/html/ajaxplorer

Make sure that data folder has writable permission.

# chmod -R 777 /var/www/html/ajaxplorer/data/

Begin Installation

Now open up the browser and type http://domain-name/ajaxplorer or http://ip-address/ajaxplorer in the address bar. You will see a following like screen. It will show any warnings or errors if exists. Review the error lines to check what action you should do.

AjaXplorer - Mozilla Firefox_001Click Start Wizard to continue.

AjaXplorer - - - Mozilla Firefox_002Setup Admin account.

AjaXplorer - - - Mozilla Firefox_007Set default language and file server title.

AjaXplorer - - - Mozilla Firefox_008Configure MySQL database name and user. Enter mysql database and user details and click try connecting to database.

AjaXplorer - - - Mozilla Firefox_005Setup Users.

AjaXplorer - - - Mozilla Firefox_009Finally click on Install AjaXplorer Now to begin installation.

AjaXplorer - - - Mozilla Firefox_010After the installation is completed, you will be automatically redirected to Ajaxplorer login page. Enter the username and password to login that you’ve created during installation.

AjaXplorer - - - Mozilla Firefox_011This is how my AjaXplorer web console looks.

AjaXplorer - - - Mozilla Firefox_012

Now your file server is up and running. From here you can start to use your file server. Just create some files/folders and share/send them to your friends and colleagues over LAN or WAN.

In this handy tutorial, I’ve covered only basic installation and configuration notes. For additional in-depth configuration and administration tasks, i suggest you to read the official documentation page.

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook18Google+12Twitter9LinkedIn0Reddit9Pinterest1StumbleUpon0Digg