Tested – Free cloud storage software Pydio
Roughly Sketched
Pydio is a free software solution trying to establish itself among cloud storage solutions such as ownCloud or proprietary services like Dropbox for synchronizing data across several computers and sharing folders with colleagues or friends.
Pydio [1] originated with an older project called AjaXplorer; however, the erstwhile predecessor and the current Pydio have little in common. What used to be a web-based file manager for content on web servers now targets users looking for a free alternative to proprietary online storage like Dropbox, Box, or Google Drive.
Pydio offers the usual functions for this task, such as the option to synchronize across multiple computers, the provision of apps for access on mobile devices, and the ability to share files with other users. The software comes with a server component written in PHP; desktop clients for Linux, Mac OS X, and Windows; and mobile apps for Android and iOS.
Installation
You need a web server with a database for Pydio (see the "Web Server" box for more info). In addition to MySQL, the software also supports PostgreSQL and SQLite. For trial purposes, you can also run Pydio without a database, but the developers advise against doing so in production use. For the install, Pydio comes with distribution-dependent tarballs and packages in DEB and RPM format along with the matching package sources.
Web Server
Pydio supports a number of web servers. Whether you choose Apache, Lighty (officially Lighttpd), or other alternatives like Nginx is up to you. Newcomers are typically well served by the excellently documented Apache in combination with MySQL. You can install the packages required for this on a Debian or Ubuntu system with the call from Listing 1.
Listing 1
Install Packages
In our lab, we used a server installation on Ubuntu 14.04 LTS, which explains why this article describes the installation on Debian-based distributions like Ubuntu and special Debian derivatives such as Raspbian (see the "Commercial Pydio" box for more information). For instructions relating to other distributions, check out the project's download pages [4].
Commercial Pydio
Besides the free Community Edition, Pydio also offers commercial variants of the software [2]. The latter are designed for enterprises or organizations looking for cloud storage for self-managed hosting and who do not want to do without support and customization. The price for Pydio Pro starts at $810/year and includes access for up to 50 users. This may sound expensive at first, but when you consider that Dropbox for enterprises would cost $7,500 per year for the same number of users [3], it sounds reasonable. Note that the Pydio offering contains only support and patches; you have to bring your own server.
To install Pydio, open the /etc/apt/sources.list
in an editor launched with root privileges (e.g., using sudo nano /etc/apt/sources.list
); then, add the two lines from Listing 2 at the end. If you are willing to experiment, you can replace stable
with testing
to install the latest developer version of the program. For a production system, you will probably want to go for the official release; otherwise, you might experience bugs or even data loss. After adding the package sources, install the developer key, load the package database again, and install Pydio on your system (Listing 3).
Listing 2
Install Pydio
Listing 3
Install Pydio with Developer Key
Then, copy the sample configuration into the appropriate directory, enable the virtual host – along with the rewrite engine for converting cryptic-sounding URLs into intuitive addresses – and restart the server when you're done (Listing 4). You can check whether the installation was successful by typing http://localhost/pydio or the web server's IP address http://<IP address>/pydio in your browser and waiting for the web application installation wizard to appear.
Listing 4
Restart Server
The wizard checks whether the required system components exist (Figure 1) and then helps you configure the program. The wizard sets up an administrative account; prompts for global settings, such as paths, encodings, or language; and accepts the access credentials for the database.
Make sure you test database access using the button below the input fields: This step will save you the trouble of entering all the data again in case of an error. In contrast to common practice with other web applications, Pydio does not create the database itself. To do this, you need to turn to database tools such as PhpMyAdmin or visit the MySQL console to create a database manually (Listing 5).
Listing 5
Create Database
After entering all the data, the installation wizard sets up the required configuration and prepares the database. Because it lacks the authorization to do so, the wizard cannot automatically write the program's .htaccess
file, which was dynamically created by the installation, to the filesystem on Debian. You just need to edit the /usr/share/pydio/.htaccess
file manually (e.g., by calling sudo nano /usr/share/pydio/.htaccess
) and then copy the file content displayed by the wizard in the final step manually. Then, reload the content of the browser window, which would then show you the Pydio website. Log in as the Pydio administrator or as the user created on running the wizard.
Settings
On the main screen, you will see My Files and Common Files; these are two workspaces created out of the box (Figure 2). Even though the name Common Files suggests that Pydio publicly shares any data you store here, the files actually remain private until you change the settings.
The workspaces are basically parent folders to which you can assign different sharing rules. In its settings, Pydio gives you the option of creating more workspaces whose data does not need to reside on the server – Pydio supports network protocols such as Samba, FTP over SSH, and Amazon's S3 web service.
You can access the most important settings via the top right menu. Below Dashboard, enter your full name or assign a profile image to your account. As a user with administrative privileges you will also find the Settings at this point (see the "Privileges" box for more). You can use them to create more workspaces in the Workspaces & Users section or to create additional accounts and groups with appropriate access rules (Figure 3).
Privileges
If you modify the access privileges and, for example, allow users to access a new workspace, then these modifications do not take effect until the user logs off and back on again. To be on the safe side, users should always log off and back on after any changes to their authorizations.
In production, you will want to increase the maximum file size for files that you upload in Global Configurations | Application Core | Uploaders Options | File Size. To be able to do this, you may also need to modify the corresponding configuration in the server's /etc/php5/apache2/php.ini
file (Listing 6).
Listing 6
Increase Maximum File Size
Production
If you now open one of the workspaces, you will see a three-pane view: In the left-hand column, you will see an overview with bookmarks, shares, and the current folders. In the largest area – at the center – Pydio shows you the folder content (Figure 4). In the right-hand column, it displays additional information such as thumbnails or metadata for the currently selected files. You can add new content simply by dragging from the file manager and dropping into Pydio's file area. The upload routine lets you do more than just transfer individual files; if needed, you can also drag a whole selection of files and folders into the browser window. Alternatively, you can press the Upload button and then browse your computer.
In the file view, you can work in the style you are familiar with from legacy file managers. Pressing the Control key selects multiple files at the same time, whereas the Shift key lets you select a whole area. You can press the right mouse button to pop up a context menu with additional actions; holding down the left mouse button lets you move the current selection. If you additionally hold down Ctrl at the same time, you can copy the selected files.
Pydio offers integrated viewers for images, movies, and PDFs. For text, Pydio also includes an editor (Figure 5) and can send images to the web-based Pixlr [5] image editor if required. For this to work, the Pydio installation has to be accessible from the Internet (Figure 6), and the browser must support Flash content.
You can share individual files or complete folders by right-clicking on the desired object and selecting the Share item from the context menu. In the dialog that appears, Pydio offers you – assuming you are sharing a folder – a choice between sharing As a public link or As a workspace. The first option gives you a link with a cryptic and lengthy URL such as http://<example>.<ext>/pydio/data/public/508b7b, which you can then forward by email. The second option creates a new workspace from the folder, which you can then make available to other users of the Pydio instance. Pydio then immediately lists the share in the left sidebar below My Shares.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.