CentrioHost 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
 123
45678910
11121314151617
18192021222324
25262728293031

Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

    I'm using centrio for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly. ~ . . . Read more

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries πŸ‘πŸ‘πŸ‘ ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

    Anytime I've had a problem I can't solve, I've found Centriohost to be diligent and persistent. They simply won't let an issue go until the client is happy. ~ . . . Read more

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (Ν β‰– ΝœΚ–Ν β‰–) πŸ‘Œ ~ . . . Read more

Top