Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build seafile server under windows, own your own personal cloud disk, and no longer worry about losing the network disk.

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Note: be sure to use the Python 2.7.11 32-bit version. A 64-bit version or a version other than 2.7.11 does not work.

2. Double-click to install python-2.7.11 until next is finished.

Configure the python environment variable:

Right-click on this computer-Properties-Advanced system Settings to find the environment variable

Python is installed by default in the C:\ Python27 path, so add C:\ Python27 to the environment variable.

3. Create a SeafileProgram folder on the E disk and extract the seafile-server_6.0.7_win32.tar.gz to the E:\ SeafileProgram\ directory. Such as:

E:\ SeafileProgram

| | _ seafile-server-5.0.3 |

4. Start the Seafile server

Under the C:\ SeafileProgram\ seafile-server-5.0.3\ folder, locate the run.bat file and double-click to start the Seafile server. At this point, you should notice that the icon for the Seafile server appears in your system tray.

Select a disk as the storage location for Seafile server data

After clicking the confirm button, Seafile will create a folder called seafile-server under the disk you just selected. This folder is the data folder of the Seafile server.

5. Add administrator account

Right-click the system tray icon for the Seafile server and select the "add administrator account" option. Enter your administrator username and password in the pop-up dialog box.

If the operation is successful, a bubble will pop up at the Seafile server tray icon indicating "Seahub administrator account added successfully"

6. Configure the Seafile server

Enter 192.168.10.41virtual 8000 to access. If you cannot access it, please check the firewall.

To access the public network, map the internal network port to the external network port directly.

SERVICE_URL and FILE_SERVER_ROOT are set to http:// public network IP:8000 and http:// public network IP:8002

7. Install Seafile as Windows service

# set email reminders:

Add the following to the seadfile-server/conf/seahub_settings.py file:

Corporate mailbox:

EMAIL_HOST ='* *. * *. 2 times 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 Mail:

EMAIL_USE_SSL = True

EMAIL_HOST = 'smtp.qq.com'

EMAIL_HOST_USER = '11111111q.com'

EMAIL_HOST_PASSWORD='* unhmifyebfj'

EMAIL_PORT = '465'

DEFAULT_FROM_EMAIL= EMAIL_HOST_USER

SERVER_EMAIL = EMAIL_HOST_USER

Note:'* unhmifyebfj' is the authorization code of QQ Mail, obtained from QQ Mail.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report