How to install Seafile Cloud Garage on Ubuntu Server 20.04

In 2016, I described the procedure for installing the Seafile Cloud Garage solution on Ubuntu Server 16.04. The platform continued to mature and the installation procedure changed. So I have the idea to review the procedure, this time on Ubuntu Server 20.04.

Seafile includes the same features (with some additions). The list of features includes:

Built-in log encryption

Simple collaboration

Wiki Team

Low-cluttered server for superior performance

AD/LDAP integration

Create computers with log synchronization, online record editing, and so on.

Create libraries (to synchronize separately)

Automatic resolution of record conflicts

Share libraries, sub-repertoire, links, files, etc.

Let’s do this in the latest edition of the Canonical server.

SEE: Computer Server: Consultant for IT Administrators (TechRepublic Premium)

The first thing we’re going to do is install the dependencies. Connect to your Ubuntu server and install MySQL with the command:

Start and power on MySQL with commands:

Now we will install the NGINX Internet server with the command:

With NGINX installed, start it and turn it on with the commands:

Then, the remaining dependencies with the controls:

Before creating the database, we want to protect the MySQL installation with the command:

Provide the admin user with a strong/unique password and “and” to the remaining questions.

At this point, you can create the database and a Seafile user. Connect to MySQL with the command:

CREATE SEAFILE_SERVER DATABASE;

CREATE SERVEUR_CNET DATABASE;

CREATE SEAHUB_SERVER DATABASE;

CREATE USER ‘seafile’ – ‘localhost’ IDENTIFIED BY ‘PASSWORD’;

AWARD ALL IN SEAFILE_SERVER. TO ‘seafile’ – ‘localhost’;

AWARD ALL IN ccnet_server. TO ‘seafile’ – ‘localhost’;

AWARD ALL IN seahub_server. TO ‘seafile’ – ‘localhost’;

LEAVING;

Where PASSWORD is a strong/unique password.

We want to download the latest edition of Seafile. Do this with the command:

Once the log download is complete, unzip it with the command:

Access the newly created one with the command:

Create a new Seafile to host with the command:

Move all unzipped log contents to the newly created directory with the command:

Go to the Seafile with the command:

Issue the command:

You will be asked to answer some questions about your server (name, address, port, etc.). You will also be prompted to start a database. Be sure to enter 1 to create a new database. You will then be asked to answer another series of questions. The questions and answers are:

mysql server host: localhost

mysql server port: 3306

root password: the root password of the MySQL server

mysql for Seafile: seafile

Seafile Password: PASSWORD

ccnet database name: ccnet-db

Seafile database name: seafile-db

Seahub database name: seahub-db

Where PASSWORD is a strong/unique password.

Now we can configure our NGINX Internet server. In order to do this, create a new configuration record with the command:

In this file, paste the following:

Where SERVERADDRESS is the domain or IP of the server.

Save and file. Restart NGINX with the command:

There are two to start with Seafile. To begin both, run the following two commands:

When you run the seahub service for the first time, you are prompted to create a new user administrator. To do this, you’ll want to use a strong email and password. Once seahub starts, you can attach it to your Seafile example by pointing it to http: // SERVER_IP (where SERVER_IP is the IP address or domain of the server). You will be prompted to sign in with the credentials that you created when you first ran the seahub service (Figure A).

Figure A

Connection to Seafile.

Once logged in, sign in to the Seafile home page, where you can start configuring the platform to perfectly match your desires (Figure B).

Figure B

Seafile’s page.

Congratulations, you now have your self-hosted cloud platform. Enjoy.

Multicloud: a cheat sheet (TechRepublic)

Hybrid Cloud: A Consultant for IT Professionals (Download TechRepublic)

Important cloud in 2020: AWS, Microsoft Azure and Google Cloud, hybrids, SaaS players (ZDNet)

The best cloud services for small businesses (CNET)

Microsoft Office vs Google Docs Suite vs FreeOffice (Download.com)

Cloud Computing: More Policies to Read (TechRepublic on Flipboard)

Jack Wallen is an award for TechRepublic and Linux.com. He is an avid promoter of open source and voice of the Android expert. To learn more about Jack Wallen, visit his online page jackwallen.com.

Leave a Comment

Your email address will not be published. Required fields are marked *