Build Seafile server under Windows, have your own personal cloud disk, and no longer worry about losing your web drive

Source: Internet
Author: User
Tags seafile set up email

1. Download the required environment, software ( Python 2.7.11 -bit version)

note : Be sure to use the Python 2.7.11 + bit version. bit version or not 2.7.11

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/20/4133870705bd9483e0677a48f9d7d912.png-wh_500x0-wm_3 -wmp_4-s_1611339645.png "title=" 1.png "alt=" 4133870705bd9483e0677a48f9d7d912.png-wh_ "/>

2 , double-click Install python-2.7.11 , has been Next know to be done.

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/e82ee34d0a1490d93d746d733366d8d8.png-wh_500x0-wm_3 -wmp_4-s_431977577.png "title=" 2.png "alt=" E82ee34d0a1490d93d746d733366d8d8.png-wh_ "/>

Configuration python Environment variables:

Right click on this computer - Properties - advanced system settings to find environment variables

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/b86d52751c647de3af4df652ac6cee9f.png-wh_500x0-wm_3 -wmp_4-s_14850805.png "title=" 3.png "alt=" B86d52751c647de3af4df652ac6cee9f.png-wh_ "/>

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/32ba5d1209d2cfce3268bd49d1a1022d.png-wh_500x0-wm_3 -wmp_4-s_475579550.png "title=" 4.png "alt=" 32ba5d1209d2cfce3268bd49d1a1022d.png-wh_ "/>

650) this.width=650; "Src=" https://s1.51cto.com/oss/201711/20/ F8c21cd8c0717c4fa20f6a9d6fab9dcf.png-wh_500x0-wm_3-wmp_4-s_372379044.png "title=" 5.png "alt=" F8c21cd8c0717c4fa20f6a9d6fab9dcf.png-wh_ "/>

py Thon c:\python27 path, then c:\python27 is added to the environment variable.

3 , in E Disk Creation Seafileprogram folder that will seafile-server_6.0.7_win32.tar.gz Unzip to E:\SeafileProgram\ directory. such as:

E:\SeafileProgram

|__ seafile-server-5.0.3


4 , start Seafile Server

in theC:\SeafileProgram\seafile-server-5.0.3\folder, locateRun.batfile and double-click to startSeafileserver. At this point, you should notice thatSeafilethe icon for the server already appears in your system tray.

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/20/da58be5448f35bdb4d1ec0bf5a715527.png-wh_500x0-wm_3 -wmp_4-s_409876317.png "title=" 6.png "alt=" Da58be5448f35bdb4d1ec0bf5a715527.png-wh_ "/>

Select a disk as Seafile where server data is stored

650) this.width=650; "Src=" Https://s4.51cto.com/oss/201711/20/eff35dd8856d66953692f9464dbdd23c.png-wh_500x0-wm_3 -wmp_4-s_505730890.png "style=" Float:none; "title=" 7.png "alt=" Eff35dd8856d66953692f9464dbdd23c.png-wh_ "/>

650) this.width=650; "Src=" Https://s4.51cto.com/oss/201711/20/ca74e4e8c9dd567efef66f58a37c197e.png-wh_500x0-wm_3 -wmp_4-s_2577779876.png "style=" Float:none; "title=" 8.png "alt=" Ca74e4e8c9dd567efef66f58a37c197e.png-wh_ "/>




When you click the Confirm button, Seafile The disk that you just selected will be created with a name of Seafile-server the folder. This folder is The Data folder of the Seafile server.

5 , add administrator account

    Right-click Seafile Span style= "color: #333333; letter-spacing:0;" > system tray icon for server, select add Administrator account " option. Enter your administrator username and password in the dialog box that pops up.

If the operation succeeds, Seafile a bubble appears at the server tray icon to prompt you " Add Seahub Administrator Account Success "

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/156cc2b474ed2b0b7cf4d99ac890e529.png-wh_500x0-wm_3 -wmp_4-s_3985204788.png "style=" Float:none; "title=" 9.png "alt=" 156cc2b474ed2b0b7cf4d99ac890e529.png-wh_ "/>

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/2448c04f8ac3e6ed0cfe6630528fd02a.png-wh_500x0-wm_3 -wmp_4-s_2642811605.png "title=" 10.png "alt=" 2448c04f8ac3e6ed0cfe6630528fd02a.png-wh_ "/>


6, ConfigurationSeafileServer

Enter 192.168.10.41:8000 access and, if inaccessible, check your firewall.


650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/994da1ce575a74deb803b70335b852d1.png-wh_500x0-wm_3 -wmp_4-s_513910903.png "style=" Float:none; "title=" 11.png "alt=" 994da1ce575a74deb803b70335b852d1.png-wh_ "/>

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/20/5c7efbcdcb75fe1a4ad0653a51ae3483.png-wh_500x0-wm_3 -wmp_4-s_4223703625.png "style=" Float:none; "title=" 12.png "alt=" 5c7efbcdcb75fe1a4ad0653a51ae3483.png-wh_ "/>


For extranet access, map the intranet ports directly to the extranet ports.

Service_url and the File_server_root set to: / http External Network ip:8000 and the / http External Network ip:8002

7, installationSeafileto beWindowsService

650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/20/74b2a89e2f6fa69fdb96d86d38c2b51d.png-wh_500x0-wm_3 -wmp_4-s_142768212.png "style=" Float:none; "title=" 13.png "alt=" 74b2a89e2f6fa69fdb96d86d38c2b51d.png-wh_ "/>

650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/20/6d24b3d00979dcf79a83c26eac2b9932.png-wh_500x0-wm_3 -wmp_4-s_1774633050.png "style=" Float:none; "title=" 15.png "alt=" 6d24b3d00979dcf79a83c26eac2b9932.png-wh_ "/>

650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/20/f5b646c2e9d73a35542ee57d6b71026b.png-wh_500x0-wm_3 -wmp_4-s_1210923489.png "style=" Float:none; "title=" 16.png "alt=" F5b646c2e9d73a35542ee57d6b71026b.png-wh_ "/>

# Set up email reminders:

in the seadfile-server/conf/seahub_settings.py file, add the following:

650) this.width=650; "Src=" Https://s4.51cto.com/oss/201711/20/63e28c2905f267bab809b59196bca764.png-wh_500x0-wm_3 -wmp_4-s_3857355899.png "title=" 34.png "alt=" 63e28c2905f267bab809b59196bca764.png-wh_ "/>

Enterprise Email:

Email_host = ' **.**.2*1.38 '

Email_host_user = ' * * * '

email_host_password= ' ****** '

Email_port = ' 25 '

Default_from_email= ' ***@***.**.** '

Server_email =default_from_email

Replace_from_email= True

Add_reply_to_header= True

QQ Email:

Email_use_ssl =true

Email_host = ' smtp.qq.com '

Email_host_user = ' [email protected] '

Email_host_password= '*****unhmifyebfj'

Email_port = ' 465 '

Default_from_email= Email_host_user

Server_email =email_host_user

Note: '*****unhmifyebfj' to be QQ the authorization code of the mailbox, to QQ get it in the mailbox.


This article is from the "Technology Savior" blog, so be sure to keep this source http://rescue.blog.51cto.com/3190306/1983561

Build Seafile server under Windows, have your own personal cloud disk, and no longer worry about losing your web drive

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.