Install Pydio 7 on CentOS 7

Updated on July 25, 2024
Install Pydio 7 on CentOS 7 header image

Pydio is an alternative to software such as ownCloud and NextCloud. Pydio is open source as well, which means that it costs nothing to use and is managed by an active community. Furthermore, it is relatively lightweight and has synchronization clients for all of your devices, such as iOS, macOS, Windows and Android.

Prerequisites

In order to install Pydio, you will need:

  • a CentOS 7 (64-bit) server
  • wget
  • mariadb
  • root access
  • the epel-release repository

Installation

Before we start, we'll need to update our system and retrieve the epel-release package:

yum update -y
yum install epel-release mysql php-mysql -y

Now, we'll need to retrieve the Pydio RPM and MySQL file:

rpm -Uvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -Uvh http://dl.ajaxplorer.info/repos/pydio-release-1-1.noarch.rpm

We can now use yum to install MariaDB and Pydio:

yum install mysql-server pydio -y

Once the installation is complete, we will configure httpd to work properly with Pydio installed:

nano /etc/httpd/conf.d/pydio.conf

Replace the entire file with the following:

Alias /pydio /usr/share/pydio
Alias /pydio_public /var/lib/pydio/public

<Directory /usr/share/pydio>
        Options FollowSymlinks
        AllowOverride none
        Require all granted
</Directory>

Save and exit.

In order for httpd to read this file, we must restart the server:

systemctl restart httpd

Finally, we must configure MariaDB:

systemctl start mysql
mysql_secure_insallation

When you are prompted to set the root password, enter y, then press Enter.

Now, you will be prompted to remove anonymous users. Simply hit Enter. Keep using the Enter key to use default values until you see "Thank you for using MySQL."

We will now need to sign into MySQL using the password that was set:

mysql -u root -p

Enter your password when prompted, then proceed to create a user and database:

create database pydio;
create user pydio@localhost identified by '(YOUR_PASSWORD_HERE)';
grant all on pydio.* to pydio@localhost;
FLUSH PRIVILEGES;
exit;

Once you've left the MySQL-CLI terminal, use your browser to visit you server at http://(YOUR_SERVER_IP)/pydio. You will see the following:

Click on the "click here to continue to Pydio" link, then click the "wizard" link.

Fill the forms with the information set when we configured MariaDB, for eaxample, create your administrator account, password and so on.

When you reach the "Configurations Storage" tab, shown below, fill the user with "pydio" and the password with the one you set during the configuration process.

Now, click on "Install Pydio Now."

Conclusion

You've successfully installed Pydio. You can now install the synchronization client(s) for your device(s) to begin uploading your files.