Install Pydio Cells file sharing on CentOS 8

You can download this article in PDF format via the link below to support us.

Download the guide in PDF format

turn off


Pydio unit is an open source file sharing software. It provides file synchronization, so various documents such as files, images and videos can be shared and accessed internally and externally from a central point. Pydio can be installed on a virtual machine or a physical computer.

Pydio also comes with native clients for Linux, Windows and MacOS and mobile clients for Android and iOS. Pydio is an alternative to other file sharing tools such as Drop Box and Nextcloud. In this guide, we will study how to install and configure Pydio for file sharing on CentOS 8.

Step 1: Update the system

Before starting to install the Pydio server, please make sure that your CentOS system is up to date. Run the following command:

                        sudo dnf -y update
sudo yum -y install vim bash-completion unzip wget

Also make sure to disable SElinux. Open the SElinux configuration, change from “enabled” to “disabled”, and then save the file.

                        sudo vim /etc/selinux/config

Make changes as shown and save the file

                        # This file controls the state of SELinux on the system. 
# SELINUX= can take one of these three values: 
#     enforcing - SELinux security policy is enforced. 
#     permissive - SELinux prints warnings instead of enforcing. 
#     disabled - No SELinux policy is loaded. 
# SELINUXTYPE= can take one of these three values: 
#     targeted - Targeted processes are protected, 
#     minimum - Modification of targeted policy. Only selected processes are protected.  
#     mls - Multi Level Security protection. 

After making the changes, restart the system

                        sudo reboot

Step 2: Install MariaDB on CentOS 8

To install MariaDB server on CentOS 8, run the following command:

                        sudo dnf -y install mariadb-server

After the installation is complete, use the following commands to start and enable mariadb.

                        sudo systemctl start mariadb
sudo systemctl enable mariadb

Next, protect mysql and set the root user password.

                        sudo mysql_secure_installation

Proceed as follows:

                        Enter current password for root (enter for none): Just press Enter
OK, successfully used password, moving on... 

Setting the root password ensures that nobody can log into the MariaDB 
root user without the proper authorization. 

Set root password? [Y/n] Y 
New password:  New-root-password
Re-enter new password: Re-enter New-root-password
Password updated successfully! 
Reloading privilege tables.. 
... Success! 

By default, a MariaDB installation has an anonymous user, allowing anyone 
to log into MariaDB without having to have a user account created for 
them.  This is intended only for testing, and to make the installation 
go a bit smoother.  You should remove them before moving into a 
production environment. 

Remove anonymous users? [Y/n] Y 
... Success! 

Normally, root should only be allowed to connect from 'localhost'.  This 
ensures that someone cannot guess at the root password from the network. 
Disallow root login remotely? [Y/n] Y 
... Success! 

By default, MariaDB comes with a database named 'test' that anyone can 
access.  This is also intended only for testing, and should be removed 
before moving into a production environment. 

Remove test database and access to it? [Y/n] Y 
- Dropping test database... 
... Success! 
- Removing privileges on test database... 
... Success! 

Reloading the privilege tables will ensure that all changes made so far 
will take effect immediately. 

Reload privilege tables now? [Y/n] Y 
... Success! 

Cleaning up... 

All done!  If you've completed all of the above steps, your MariaDB 
installation should now be secure. 

Thanks for using MariaDB!

We need to create a new user and database for Pydio. Connect to MySQL and run the MySQL command shown:

                        $ mysql -u root -p

Enter the root password you set above, and then run the following MySQL commands to create a Pydio user and database.

                        create database cells;
grant all privileges on cells.* to 'pydiouser'@'localhost' identified by '[email protected]';
flush privileges;

Step 3: Create Pydio users

We need to create a Pydio user and set a password. Run the following commands.

                        sudo useradd -m pydio
sudo passwd pydio

After setting the password for the user, increase the file descriptor limit as shown below.

                        sudo ulimit -n 8192

Step 4: Install Pydio unit on CentOS 8

We need to download the pydio cells binary installer to our CentOS8. Switch to the pydio user and run the following commands.

                        sudo su - pydio

Use the unzip command to decompress the compressed file. If you have not installed the decompression, please install and use it to decompress the pydio cells installer.

                        unzip pydio-cells-{latest} 

Step 5: Install Pydio unit on CentOS 8

After decompressing the compressed file, another one named cell Will be added to the path. To install the pydio unit, run the following command.

                        chmod u+x cells
./cells install

The installation will begin, and you will be prompted to select the desired installation method. I choose browser installation

                        Welcome to Pydio Cells Home Edition installation 
Pydio Cells Home Edition will be configured to run on this machine. Make sure to prepare the following data 
- IPs and ports for binding the webserver to outside world 
- MySQL 5.6+ (or MariaDB equivalent) server access 
Pick your installation mode when you are ready. 

✔ Browser-based (requires a browser access)

Use the arrow keys to select the installation type, then press enter . Next, use the arrow keys to specify the URL and port to listen on

                        ? Internal Url (address that the webserver will listen to, use ip:port or yourdomain.tld:port, without http/https):  
+   Other 

I also choose not to use TLS, but if your pydio is installed with fqdn, you can choose TLS.

                        ? Choose TLS activation mode. Please note that you should enable SSL even behind a reverse proxy, as HTTP2 'TLS => Clear' is generally not supported:  
 ▸ Provide paths to certificate/key files 
   Use Let's Encrypt to automagically generate certificate during installation process 
   Generate your own locally trusted certificate (for staging env or if you are behind a reverse proxy) 
   Disable TLS (staging environments only, never recommended!)

Confirm your installation URL and click “ enter ’To start pydio cells. Also, continue to open it in the browser to continue the installation.

                        Your instance will be accessible at https://
                          :8080. If you are behind a reverse proxy or inside a private network, you may need to manually set an alternative External URL. Do not change this is you are not sure! 
Use the arrow keys to navigate: ↓ ↑ → ←  
? Setup a different URL for external access:  
 ▸ Use https://
   Set another URL

When you click enter For the URL to be used, the pydio unit should be activated, and you should be able to access it from the browser using the specified URL.

                        2020-08-05T08:50:29.684-0400    INFO      started 
2020-08-05T08:50:29.979-0400    INFO    Registering /install/events for Polling 
2020-08-05T08:50:29.979-0400    INFO      started 
Activating privacy features... done. 

Installation Server is starting ... 
external URL: https://

2020-08-05T08:50:32.180-0400    INFO    pydio.gateway.proxy     Restarting proxy        {"caddyfile": "ntt https://
                                :80  {nttt root "/root/.config/pydio/cells/static/install"nttt proxy /install 
                  :41233ntt tntttntt }nt "} 2020-08-05T08:50:32.181-0400    INFO    pydio.gateway.proxy     Restart done Opening URL https:// 
                   :8080 in your browser. Please copy/paste it if the browser is not on the same machine. 

Step 6: Install Pydio Cell Browser.

After placing the URL on your browser, you should be able to access the pydio unit to continue the setup. Agree to the Pydio Cells terms and click next .

In the next screenshot, provide the details of connecting to the Pydio database as shown, and click next

In my settings database, the details are:

  • Name database: cell
  • Database user: pydiouser
  • Database password: [email protected]

In the next window, provide the administrator user details. Also choose your default language. Please click next

After completing the advanced settings, click Install now . Confirm your settings and click Reload . Then, you will see screes, prompting you to log in to the pydio unit. Provide your administrator credentials to log in.

You are welcome to use Pydio cells. You can start a Pydio tour, or you can skip it and start using it.

To start uploading or creating new files and folders, click Personal file Either Common documents.

Click on upload Browse for the file or folder to upload.

Step 7: Start the Pydio unit from the terminal

To start the Pydio unit again from the terminal, run the following command:

                        sudo su - pydio
cd ~/
./cells start &

Step 8: Configure the Pydio unit client on Ubuntu and other Linux-based systems.

Linux users can connect to Pydio using the built-in Nautilus file manager. Open the file and look for “ Other locations

Click on Connect to server And provide Pydio server credentials to connect to it. Since it is a WebDav client, the connection URL should be similar to dav: // :8080/dav/

Enjoy sharing with Pydio Cells file sharing. See more guides below:

  • How to install Pydio file sharing server on Ubuntu
  • How to install and configure Pydio file sharing server on Ubuntu
  • How to install Seafile file sharing on Ubuntu
  • Nextcloud vs Owncloud vs Seafile vs Syncthing

You can download this article in PDF format via the link below to support us.

Download the guide in PDF format

turn off


Related Posts