Installing Seafile Cloud Storage

The write-up will certainly talk about the “cloud”, which was developed making use of the Seafile software application service. The product allows you to synchronize info between various os: Windows, , and iOS. Let’s think about exactly how to install and set up disk storage according to the administrator’s needs.

Requirements

To set up Seafile, you have to have pre-installed. Exactly how to do this, on our internet site there is a separate publication.

The server platform (Seafile Server) is Server 16.04.

Installation

Check for the latest software versions.
sudo apt-get update
sudo apt-get upgrade

Let’s install the components for working with python.
sudo apt-get install python-imaging python-mysqldb python-setuptools

Using the download manager, download the latest release of Seafile from the official site.
wget https://download.seadrive.org/seafile-server_7.0.4_x86-64.tar.gz

Important! At the time of this writing (08/22/2019), the current version of the server part is 7.0.4.

Let’s unpack the archive. Let’s go to the directory.
tar xzvf seafile-server*
cd seafile-server_7.0.4_x86-64

Inside we find the template, run . He will check the necessary components.
./setup-seafile-mysql.sh

If everything is present, then the following message will appear on the monitor:

Screenshot #1. Successful check.

Following the prompts on the screen, press Enter and proceed to the configuration.

Seafile Setup

We come up with an arbitrary name for the server part. The name must not contain more than 15 characters:

Screenshot #2. Enter the server name.

The next step is to specify the IP address or name. In our example, we use the first option:

Screenshot #3. Enter the IP address.

Select the home directory for the repository:

Screenshot #4. Folder selection.

The default is to create the Seafile-data directory as root.

Next, the setup wizard will ask about the port:

Screenshot #5. Port.

The factory setting is port 8082. If you do not need to change, then leave it as it is and proceed to the next step.

At the fifth step, the wizard will be asked to come up with a name for the databases that will be used for work, or specify the path to existing ones:

Screenshot #6. DB selection.

Since the story is about the initial installation and configuration, we select the first item.

The next two items are the MySQL server name and port number:

Screenshot #7. Host name.

Screenshot #8. Port number.

If no changes are required, then skip and move on.

Set a password for the MySQL administrator account:

Screenshot #9. We come up with a password.

It is recommended to use the following rules: minimum 9 characters, , numbers and capital letters.

The installation wizard by default creates users who will work with the file storage:

Screenshot #10. Database and cloud users.

If desired, the administrator changes the values ​​​​to their own.

At the last stage, the configuration utility displays the final configuration on the screen:

Screenshot #11. tuning results.

If the values ​​are correct, then press Enter.

Initial launch of Seafile

1. Start the service with the template created in the previous section. Let’s add a browser connection for further configuration.
./seafile.sh start
./seahub.sh start

2. During the first launch, you must specify an account name for the system administrator and an address:

Screenshot #12. Account setting.

, let’s take the name admin, and specify the e-mail on the HostRooster .

3. The next step is to enter the password for the administrator:

Screenshot #13. Password protection.

The system will ask you to enter the key twice to avoid an error. If specified correctly, the service will start with the specified parameters.

4. The last stage – we prescribe exceptions in the .
iptables -A INPUT -p tcp --dport 8000 -j ACCEPT
iptables-save

By default, the web interface runs on port 8000.

Browser connection

We open the browser and prescribe the IP address that is indicated above during setup. In the example – 111.111.111.111. Be sure to enter the port number separated by a colon:

Screenshot #14. Server name.

If the address is correct, an authorization window will open. We use an email account and a password for the administrator to log in. In our example, the e-mail is admin@HostRooster.com.

The file storage control panel will open.

Creating a new user

Go to the “Users” tab, click on the “Add …” button.
In the window that opens, enter your email address and create a password. If necessary, indicate the name of the person and department.

We press OK. The newly created user will appear in the workspace.

 

Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!