seafile-docs

Download and Setup Seafile Windows Server

Download/Uncompress

Install Python 2.7.4 32bit

  • Download and install python 2.7.4 32bit
  • Add the installation path of python2.7 to the system PATH environment variable. If you installed python 2.7 to C:\Python27 add C:\Python27 to the PATH environment variable

Download/Uncompress Seafile Server

  • Get the latest version of Seafile Server program
  • Create a new folder to store seafile program, such as C:\SeafileProgram\. Please remember the location of the folder, we'll use it later.
  • Uncompress seafile-server_1.7.0_win32.tar.gz to C:\SeafileProgram\

Now you have a folder like this:

C:\SeafileProgram
         |__ seafile-server-1.7.0

Start/Initialization

Start Seafile Server

Go to the folder C:\SeafileProgram\seafile-server-1.7.0\, and double click run.bat to start Seafile Server. You should notice a seafile icon appears in the system tray. Choose a disk to store Seafile Server data

Now you'll be prompted a dialog to choose a disk to store the data of seafile server

  • Please choose a disk with enough free space
  • Once you clicked the OK button, Seafile would create a folder named seafile-server under the disk you choosed. That would be the data folder of Seafile Server. If you choose disk D, your data folder would be D:\seafile-server

Add an admin account

Right click the tray icon of Seafile Server, choose Add an admin. Input your admin username and password in the prompted dialog.

If the operation is successful, the tray icon would show a bubble saying Successully added the admin acount

Configure Seafile Server

After initialization, there are some options need to be configured:

  • Right click the tray icon, choose Open seafile-server folder. Your seafile-server data folder would be opened.
  • Edit the file ccnet/ccnet.conf. Modify two lines of ccnet.conf:
    NAME = XXXXX
    SERVICE_URL = XXX
    
  • Change the value of NAME to the name of your Seafile Server, such as NAME = my-company-seafile. This name would be displayed on your seafile clients
  • Change the value of SERVICE_URL to http://<your ip address>:8000. Say the ip address of your windows server is 192.168.1.100, then change it to SERVICE_URL = http://192.168.1.100:8000

After the edit, right click tray icon, choose Restart seafile

Visit Seahub

Open your browser, and visit http://127.0.0.1:8000. Login with the admin account. If you can login, the initialization is successful. Configuration done

Seafile Server configuration is finished. See Seafile Client Manual for how to use the client

You may also want to read about: