HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to Install Seafile cloud storage in Ubuntu 14.04 server

1. Introduction

Seafile is a free and open source cloud storage software system. It acts as a central server for storing files and synchronize the data with multiple computers and mobile devices using the seafile client. It allows users to assemble files into libraries and these libraries can be shared among the users as well as groups. Also it provides advanced support for privacy protection and teamwork. This article will help you to install Seafile on Ubuntu server.

2. Prerequisites

Operating System must be Ubuntu 14.04 LTS
Linux server with a valid hostname, 2GB RAM
LAMP must be installed

3. Install all Dependency Softwares for Seafile

First, you need to update the system to make sure that all softwares are updated.

# apt-get update
# apt-get upgrade

Then install the following required dependencies:

Java Runtime Environment (JRE)

# apt-get install openjdk-7-jre

Install poppler-utils

# apt-get install poppler-utils

Install Python and its libraries

# apt-get install libpython2.7  python-simplejson python-setuptools python-imaging python-mysqldb
# easy_install pip
# pip install boto

4. Install Seafile

You need to download the latest stable version of Seafile and extract it using the below commands. It is important to choose the package as per your system architecture. The downloaded seafile package here is that of 32 bit system.

# cd /usr/local/src
# wget https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_5.0.4_i386.tar.gz
# tar -xzf seafile-server_5.0.4_i386.tar.gz
# cd seafile-server-5.0.4/

5. Configure Seafile

Here you have to run the following script to check whether your server meets all requirements.

# ./setup-seafile-mysql.sh

Since we have already installed all system requirements, you just press the Enter key to continue. Next you will be prompted to enter several information like server name, IP address, default port, create MySQL database etc for configuring seafile in the server. You should enter the server name and IP address that you have set up for your server. When you answer the questions which are related to default values, it is always good to press the “enter” key to accept the values.

Some examples are shown below :

What is the name of the server? It will be displayed on the client.
3 - 15 letters or digits
[ server name ]

What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server's ip or domain ]

Where do you want to put your seafile data?
Please use a volume with enough free space
[ default "/usr/local/src/seafile-data" ]

Which port do you want to use for the seafile fileserver?
[ default "8082" ]

After all the required information are entered you will get the summary of your configuration. Finally press enter for saving the configuration.

You will get the following message after saving the configuration.

Your seafile server configuration has been finished successfully.
-----------------------------------------------------------------

run seafile server:     ./seafile.sh { start | stop | restart }
run seahub  server:     ./seahub.sh  { start  | stop | restart  }

6. Start Seafile and seahub services

First you need to start the seafile service, which controls the file transfer and data sharing function.

# ./seafile.sh start

Next you need to start the seahub servcie. It provides the web interface to interact with seafile.

# ./seahub.sh start

Since the Seahub server is started for the first time, you will need to create the admin account.

What is the email for the admin account?
[ admin email ] ance@gmail.com

What is the password for the admin account?
[ admin password ]

Enter the password again:
[ admin password again ]

----------------------------------------
Successfully created seafile admin

7. Seafile Web Interface

Seahub is Seafile server package which contains Python HTTP server. Once the Seahub server is started, you can access Seafile via http://your domain or IP:8000 and then login with the admin account and password that was created on the configuration time. After login to the page, you can create and manage your files, contacts, groups, libraries, etc.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1
2345678
9101112131415
16171819202122
23242526272829
3031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional