Install and Configure Pydio File Sharing Server on Ubuntu 18.04 LTS

(: December 16, 2018)

How do I install Install and Configure Pydio File Sharing Server on Ubuntu 18.04?. I want to setup a Pydio file sharing server on Ubuntu 18.04 LTS?. If you have such questions, then this article is for you.

Pydio is a Dropbox-like file sharing server that you can host in your Data Center, Cloud instance or a Personal computer running at home. Pydio provides features of modern file syncing services which enables you to save and share Documents, Pictures, Videos, Website data, e.t.c.

Files stored on Pydio server can be accessed from a web interface or native clients for Linux, macOS, Windows, Android, iOS. Follow the steps below to install and configure Pydio on Ubuntu 18.04 LTS.

.td_uid_2_5d907eb865c36_rand.td-a-rec-img{text-align:left}.td_uid_2_5d907eb865c36_rand.td-a-rec-img img{margin:0 auto 0 0}

Step 1: Install and Configure the MariaDB / MySQL Database server

Pydio can run on MySQL/MariaDB, PostgreSQL or SQLite databases. In this guide, we’ll work with MariaDB/MySQL.

If you don’t have installed a database server, use our guides below.

Install MariaDB 10.x on Ubuntu 18.04 and CentOS 7

For MySQL, use:

How to Install MySQL 8.0 on Ubuntu 18.04 / 16.04

After installation of MariaDB database server, create a user and database for Seafile.

First login to MySQL shell as root user:

$ mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 48
Server version: 10.3.11-MariaDB-1:10.3.11+maria~bionic-log mariadb.org binary distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

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

MariaDB [(none)]>

We will create a database for each of these server components.

CREATE DATABASE pydio;

Create a database user and grant privileges for created databases.

CREATE USER 'pydio'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL ON pydio.* TO 'pydio'@'localhost';

Confirm access by Logging into the database as pydio user:

$ mysql -u pydio -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 49
Server version: 10.3.11-MariaDB-1:10.3.11+maria~bionic-log mariadb.org binary distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

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

MariaDB [(none)]> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| pydio              |
+--------------------+
4 rows in set (0.001 sec)

MariaDB [(none)]> QUIT
Bye

Step 2: Install PHP

Install PHP and  extensions required by Pydio using the command below:

sudo apt -y install php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath php-intl php-opcache

Step 3: Install Postfix SMTP Server

Install and configure Postfix send-only SMTP server on Ubuntu 18.04 using below guide:

How to install and configure Postfix as a Send-Only SMTP Server on Ubuntu 18.04 LTS

Step 4: Install Apache Web Server

We’ll use Apache HTTP server to host Pydion on Ubuntu 18.04. Install it using the following command:

sudo apt -y install apache2 libapache2-mod-php

Configure PHP on below two files.

sudo vim /etc/php/7.2/apache2/php.ini
sudo vim /etc/php/7.2/cli/php.ini

Set:

upload_max_filesize = 1G
post_max_size = 1G
output_buffering = Off

Enable the Apache rewrite module:

sudo sudo a2enmod rewrite
sudo systemctl restart apache2

Step 5: Install and Configure Pydio File Sharing Server

Install apt-transport-https

sudo apt update
sudo apt -y install apt-transport-https

Configure the pydio repository:

echo "deb https://download.pydio.com/pub/linux/debian/ xenial main" | sudo tee /etc/apt/sources.list.d/pydio.list

Import GPG key:

wget -qO - https://download.pydio.com/pub/linux/debian/key/pubkey | sudo apt-key add -

Update package list and install Pydio:

sudo apt update
sudo apt -y  install pydio pydio-all php-xml

The installation will place Pydio Apache configuration file under /etc/apache2/conf-enabled/pydio.conf

Restart Apache after the installation.

sudo systemctl restart apache2

Step 6: Access Pydio File Sharing Server Web Interface

Visit your  Pydio File Sharing Server IP address/Hostname to finish the installation. The URL is http://[ServerName|IPAddress]/pydio

Confirm that all Checks return “OK” and click “CONTINUE TO PYDIO INSTALLATION

Click the “Start Wizard” to begin Web setup.

Set Application name and welcome message.

Set Administrator user account.

Configure Database connection details and click “TEST DB CONNECTION

Set Server URL and Install Pydio.

When done, Login to Pydio using created username and password.

The Dashboard should look similar to below.

Upload and Manage files under “My Files”

That’s all. You now have Pydio File Sharing Server installed on Ubuntu 18.04 LTS. Read more on Pydio Administration guides.

Similar Articles:

How to Install Seafile Server On Ubuntu 18.04 LTS

How to Install Nextcloud 14 on Ubuntu 18.04/16.04/Debian 9

.td_uid_4_5d907eb865f0b_rand.td-a-rec-img{text-align:left}.td_uid_4_5d907eb865f0b_rand.td-a-rec-img img{margin:0 auto 0 0}

Related posts

Binance Halts Trading Over ‘Atypical’ Crypto Transactions

SXI ADMIN

How to Install and Connect to PostgreSQL on Fedora 20

SXI ADMIN

7 Dumb (and Visionary) Things People Said About the Internet

SXI ADMIN

Linux how do I remove all empty directories?

SXI ADMIN

How to check hardware information on Linux with dmidecode

SXI ADMIN

CME to Patent System for Seamless Blockchain Rule Changes

SXI ADMIN

Intel Hints at Bitcoin Play With Crypto Researcher Hire

SXI ADMIN

Moving Beyond ‘The Blockchain Is the App’

SXI ADMIN

Crypto 101: Gauging Trend Strength With the Chaikin Money Flow

SXI ADMIN

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More