Convenient private cloud with Seafile

Slashdot it! Delicious Share on Facebook Tweet! Digg!


Seafile provides quota control, which lets you specify how much storage space each user has available. To make assigning quotas simple, you are advised to create a special seafile-user with limited disk space and start the service using its rights (Listing 2). This prevents server memory from filling unexpectedly if users suddenly demand a lot of storage.

Listing 2

Creating seafile-user

# create new user
$ sudo useradd seafile-user
# home-partition in /etc/fstab with option
# "usrjquota=aquota.user,,jqfmt=vfsv0"
# or "usrquota,grpquota"
# in root directory of monitored partition:
$ sudo mount /<Mountpoint> -o remount
$ sudo quotacheck -cmugv /<mountpoint>
# set partition block size
$ sudo tune2fs -l /<mountpoint>
# soft, hard limits and grace period for
# seafile-user, 0=no limit
# blocks = allowable size / blocksize
$ sudo edquota -u seafile-user
$ sudo edquota -t
# activate quota
$ sudo quotaon -a
# check quota
$ sudo quota -u seafile-user

Encrypted Transfers

Trusting the files on your online drive to the server necessarily means being sure that they do not get diverted somewhere along the way.

As of Seafile 1.7, the desktop clients encrypt the file transfers by default with the AES-128 algorithm. However, that feature is not particularly helpful if you're lacking the graphical interface and are dependent on the command-line client.

Although the Seafile HTTP server supports HTTPS, you need Apache or Nginx as a reverse proxy server for Seahub that delivers encrypted data transfers. Relevant instructions and examples can be found on the Seafile wiki at GitHub [5].

Buy this article as PDF

Express-Checkout as PDF

Pages: 6

Price $0.99
(incl. VAT)

Buy Ubuntu User

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Pydio is a free cloud solution

    Most cloud solutions for small networks are based on ownCloud or, less frequently, Seafile. Pydio is the third open source product trying to gain a foothold as a cloud solution.

  • Ubuntu One Clients for KDE and Fedora

    Ever since the Ubuntu One cloud service played an important role in Ubuntu 10.04, a new prototype of a KDE client has become available. A port to Fedora is also in the works.

  • Perfect setup and installation of ownCloud 9

    ownCloud makes it possible to operate a private cloud on an intranet of almost any size. All you need is a standard LAMP environment, which comes with almost every Linux server.

  • Making the most of Ubuntu's personal cloud service

    Ubuntu One is a service from Canonical that lets you access your documents, photos, music, and files everywhere, and it's in every version of Ubuntu. Instead of just "one weird trick" to get the most out of your Ubuntu One account, here's a bunch.

  • Tau Meta Tau Physica: Bringing Open Source to Fashion

    In this exclusive interview, Susan Spencer Conklin tells Linux Pro Magazine how she re-entered the open source world with a project that combines her programming skills with her interest in fashion. Susan explains how her vision for an open source fashion tool has expanded since she first introduced the Tau Meta Tau Physica application at the Libre Graphics Meeting in Brussels last fall.