How To Setup File Server With AjaXplorer
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.
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
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
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/
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.
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.