Seafile is a syncing and collabarative tool for team. The team members can share the files among themself and can sync the file from seafile client. Seafile is based upon python django.Many people compare it with owncloud and both have almost same functionality like file sharing but owncloud has many features.
For professional team, I believe this a very good server.Installation is easy and fast.
To install the seafile,follow the given below steps
Step 1: Download the latest package as per your linux OS architecture. visit the this URL for download the seafile. http://seafile.com/en/download/#server
In this practical I am using 64 Bit Debain Wheezy. But the steps are almost same.
Step 2: Today latest package file name is seafile-server_1.7.0_x86-64.tar.gz,it might be possible when you try the new file version has come.But method is same still so far.
Switch to super user or login with root
sudo su - or su -
Extract the seafile package into /opt
tar -xvzf seafile-server_1.7.0_x86-64.tar.gz -C /opt/
Step 3: Rename the package
mv /opt/seafile-server-1.7.0/ /opt/seafile
Step 4: Install the below given packages
apt-get install python-setuptools git python-simplejson python-imaging sqlite3
Step 5: Now run the installation script and input the information as per your desire.
Here we are using all by default settings.
/opt/seafile/setup-seafile.sh
Below is the reference of information which is given after running setup-seafile.sh
[server name]: seafile
[This server’s ip or domain]: 10.0.0.24 (Here,you can give your Server IP address or FQDN or Hostname)
Rest of the option you can customize as per your requirement.I have taken all bydefault settings.
root@debian:/opt/seafile# ./setup-seafile.sh You are running this script as ROOT. Are you sure to continue? [yes|no] yes ----------------------------------------------------------------- This script will guide you to config and setup your seafile server. Make sure you have read seafile server manual at https://github.com/haiwen/seafile/wiki Press [ENTER] to continue ----------------------------------------------------------------- Checking packages needed by seafile ... Checking python on this machine ... Find python: python2.7 Checking python module: setuptools ... Done. Checking python module: python-simplejson ... Done. Checking python module: python-imaging ... Done. Checking python module: python-sqlite3 ... Done. Checking for sqlite3 ...Done. Checking Done. What do you want to use as the name of this seafile server? Your seafile users would see this name in their seafile client. You can use a-z, A-Z, 0-9, _ and -, and the length should be 3 ~ 15 [server name]: seafile What is the ip or domain of this server? For example, www.mycompany.com, or, 192.168.1.101 [This server's ip or domain]: 10.0.0.24 What tcp port do you want to use for ccnet server? 10001 is the recommended port. [default: 10001 ] 10001 Where do you want to put your seafile data? Note: Please use a volume with enough free space. [default: /opt/seafile-data ] /opt/seafile-data What tcp port do you want to use for seafile server? 12001 is the recommended port. [default: 12001 ] 12001 What tcp port do you want to use for seafile httpserver? 8082 is the recommended port. [default: 8082 ] 8082 This is your config information: server name: seafile server ip/domain: 10.0.0.24 server port: 10001 seafile data dir: /opt/seafile-data seafile port: 12001 httpserver port: 8082 If you are OK with these configuration, press [ENTER] to continue. Generating ccnet configuration in /opt/ccnet... done Successly create configuration dir /opt/ccnet. Generating seafile configuration in /opt/seafile-data ... Done. ----------------------------------------------------------------- Seahub is the web interface for seafile server. Now let's setup seahub configuration. Press [ENTER] to continue ----------------------------------------------------------------- Please specify the email address and password for seahub admininstrator. You would use them to login as admin on your seahub website. Please specify the email address for seahub admininstrator: [seahub admin email]: admin@sharadchhetri.com Please specify the passwd you want to use for seahub admininstrator: [seahub admin password]: Please ensure the passwd again: [seahub admin password again]: This is your seahub admin username/password admin user name: admin@sharadchhetri.com admin password: ************** If you are OK with these configuration, press [ENTER] to continue. Now create seahub database ... Loading ccnet config from /opt/ccnet Loading seafile config from /opt/seafile-data Creating tables ... Creating table django_content_type Creating table django_session Creating table registration_registrationprofile Creating table api2_token Creating table avatar_avatar Creating table avatar_groupavatar Creating table base_uuidobjidmap Creating table base_filediscuss Creating table base_filecontributors Creating table base_innerpubmsg Creating table base_innerpubmsgreply Creating table base_userstarredfiles Creating table base_dirfileslastmodifiedinfo Creating table base_filelastmodifiedinfo Creating table contacts_contact Creating table wiki_personalwiki Creating table wiki_groupwiki Creating table group_groupmessage Creating table group_messagereply Creating table group_messageattachment Creating table group_publicgroup Creating table message_usermessage Creating table message_usermsglastcheck Creating table notifications_notification Creating table notifications_usernotification Creating table profile_profile Creating table share_anonymousshare Creating table share_fileshare Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Done. ----------------------------------------------------------------- Your seafile server configuration has been finished successfully. ----------------------------------------------------------------- run seafile server: ./seafile.sh { start | stop | restart } run seahub server: ./seahub.sh { start <port> | stop | restart <port> } ----------------------------------------------------------------- If you are behind a firewall, remember to allow input/output of these tcp ports: ----------------------------------------------------------------- port of ccnet server: 10001 port of seafile server: 12001 port of seafile httpserver: 8082 port of seahub: 8000 When problems occur, Refer to https://github.com/haiwen/seafile/wiki for information. root@debian:/opt/seafile# root@debian:/opt/seafile#
Step 6: Now start or restart the seafile server.You have to start seafile and seahub service.
/opt/seafile/seafile.sh restart /opt/seafile/seahub.sh restart
Step 8: Now Open the web browser and type the URL in below given syntax.
Seafile server is running at port no. 8000
http://ipaddress-of-server:8000 or http://FQDN-of-server:8000
Give email id which you have given at the time of running setup file.
Give password.
Now you are logged in Seafile Server with Admin Privileges.
Now you can create other users and library.Just play with it and have fun.Cheers !!