Installing and Configuring Pydio on RHEL 6 CentOS 6
Installing and Configuring Pydio
Introduction Installing and Configuring Pydio
In this tutorial, we will see the installing and configuring Pydio ( Put Your Data In Orbit ) which is actually the new Ajaxplorer version, the successor of sorts. Pydio is an Open Source solutions like dropbox, drive, or ownCloud .
We treat here the case of installation on a RHEL/CentOS machine.
Before we are going to install pydio, we have to install LAMP server Install LAMP Server On RHEL 6, CentOS 6 and Fedora 18
Downloading and Installing Pydio
Here we will describe the installation procedure for unix deposits (via yum commands) and also from the source (a ZIP archive file or TAR.GZ). Feel free to use the method that suits you the most. No prerequisite except a functional machine available via the network is to meet the moment. The installation tools rotating basis Pydio system will be detailed in as:
Installation dependencies for Pydio
# for mcrypt module wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm RUN rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm yum update yum install -y php php-apc php-mbstring php-pecl-apc php-mysql php-cli php-devel php-gd php-ldap php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-imap php-mcrypt* Set uploading max file size in php.ini for pydio Turn off output_buffering in php.ini output_buffering = Off upload_max_filesize = 1024M post_max_size = 1024M
From the Packages
We’ll start with the installation from the repositories (RHEL & Debian) .
On RHEL/CentOS, you must first get the repo from the URL link where deposits are located in the file /etc/yum.repos.d/pydio.repo which configures the repository, allowing update management. Once installed, update the yum database and install pydio:
So now install pydio
sudo yum update sudo yum install pydio
Once installation and configuration is completed, restart httpd service for the configuration to take effect:
service httpd restart
Then we can join our pydio via the URL http://<IP>/pydio. Then I’ll meet you in Configuration.
From the Archive
For those who want a more customized installation made from the archive, we’re getting there. Start by fetching the archive in question on the Sourceforge project: Download the latest version of Pydio
It should start by installing the web suite that will allow us to rotate Pydio:
To secure pydio install below packages too and configure accordingly.
yum install -y openssl mod_ssl
So we’ll have our ZIP archive or TAR.GZ that we extract the desired location. Let /var/www:
unzip pydio-core-*.zip or tar zxvf pydio-core*.tar.gz
We can then rename the directory so that it does not contain the version number, it facilitates its management:
mv pydio-core* pydio
We will then give the rights to Apache user read and manipulate files:
chown -R apache:apache /var/www/html/pydio
We must check it out a full permission (Read/Write) on data folder.
chmod -R 777 /var/www/html/pydio/data/
Now httpd file /etc/httpd/conf/httpd.conf edit with your any favorite editor,
Go to the line as shown below,
Change it to:
Then save and quit. Now restart apache service.
service httpd restart
Then we can join our pydio via the URL http://<IP>/pydio.
Once the installation is done, it therefore goes to the URL of our pydio to find the next page:
So we see here that Pydio checks element present and installed on the system to see if it will be enough to start and run properly. The present warnings modules/applications which should be installed in the best cases and/or specific to certain use of the tool. It is not blocking for the remainder of the installation. So we click on “Click here to continue to Pydio”.
On click “Start Wizard” which is a support that will guide us in our configuration Pydio:
On here must enter information to access the site administrators. For safety reasons, avoid the login “admin” type or “administrator”. We will then enter the name displayed in the navigation in the web application then the password (strong). We then go to the “Global Options”. Simply click on:
On filled information here on our Pydio global options, the greeting, the name that will appear at the top of page, the language and the native or not activation emails.
You can then go to the storage configuration. Here are two options available to us, namely the storage is managed via a database (MySQL or SQLite 3), or it is run without a database. Here we will see these three cases.
A. Do not use database
So we click on “Settings Storage” then we’ll select “No Database (Quick Start)”. No additional configuration is required:
B. Using a MySQL database
To use a MySQL database, you must first install a MySQL server and the MySQL extension for php on our server:
yum install mysql-server
We will then enter the password “root” access to MySQL and then verify that the MySQL server is open:
service mysqld status
We will then connect to our MySQL server command line to create our database and our access quickly.
Note: NEVER run an application or a website using a MySQL database with root privileges. This can be very dangerous for data, server and other database in case of possession of the MySQL server by an attacker.
mysql -u root -p # Create the database CREATE DATABASE pydio; # Create the user CREATE USER “pydio”@”localhost” IDENTIFIED BY “dbpassword”; # Assign rights GRANT ALL PRIVILEGES ON * TO “pydio”@”localhost”;
Note : Remember to change the user (for something less basic) and password between the quotation marks when you copy the command name.
So we click on “Settings Storage” then we’ll select “Database” and “MySQL” in the “Database” field. We will then enter information about access and the database that we just created:
We can then click on “Try connecting to the database” to test the credentials that we capture and thus have no surprises later.
C. Use a SQLite3 database
To use a SQLite database, you must first install a SQLite server and php extension for SQLite on our server:
yum install sqlite3
It then suffices to select
We can also perform a connection test which will effectively create the specific SQLite database, you can change its name (to AjaXplorer pydio example) before testing the connection so that it create a test file. Db different from the default name.
We can finally create a set of user in the “Add Some users” tab. They identify their area, their Email if necessary, the display name and finally their password. We can add more by clicking the “+” at the bottom left of the window:
Here, there is no have to click on “Install Now Pydio!”
Then we have the standard panel login Pydio on which we can authenticate us to access our server any newly installed!