Skip to content

Windows Service Deployment Guide

1. Overview

1.1 Deployment plan

The Windows private deployment solution for DULI uses the DULI exe installer package to provide a fast one-click deployment experience.

1.2 Deployment methods

NameDescription
On-premises deploymentThe customer purchases the server and installs it in the company’s own server room.
Cloud deploymentThe customer purchases the server from a cloud service provider.

1.3 Deployment architecture

NameDescriptionRecommended user scaleNumber of servers
Single-node deploymentUsually deployed on one physical server0-200 users1

2. Environment preparation

2.1 Server specifications

2.1.1 Trial edition

UsersCPUMemoryDisk
Up to 1008 cores12 GB60 GB

2.1.2 Production edition

UsersCPUMemoryDisk
0-1008 cores+16 GB+500 GB+
0-10008 cores+32 GB+1 TB+

2.2 Operating system and software

NameVersionNotes
Operating systemWindows Server 2008 or laterA clean operating system is recommended, otherwise service ports may fail to start normally.

2.3 Network requirements

NamePortsNotes
Proxy ports / project ports / service ports3306, 9001-9018, 10001-10002, 8085/18085, 12321-12322, 19001-190181. Allow these ports through the local firewall.
2. If mobile devices or external access are needed, configure TCP port mapping.
3. If using a cloud server, also allow them in the security group.
4. - indicates a port range and / indicates parallel ports.
5. 19001-19018 can remain closed to the public network when only intranet access is required.

3. Installation and deployment

Deployment is performed through the exe installer. On Windows, you can double-click the installer package for one-click deployment. Estimated time: about 15 minutes.

3.1 Server installation

  1. Download duliduli-server.zip and extract it.

  1. After extraction, you will get duliduli-server.exe and several bin files. Double-click duliduli-server.exe to open the installer.

  1. Click Browse to select the installation path. It is recommended to choose a drive with sufficient remaining space, such as E:, and then click Next.

  1. Click Install.

  1. Before installation, the installer checks whether memory reaches 12 GB. If not, a warning dialog appears. You can still click OK to continue.

  1. Click OK to start installation. This step extracts files.

  1. Wait for deployment to finish automatically.

  1. When installation is complete, the service panel opens automatically. You can manage services and view logs there.

The file 嘟哩管理后台地址.txt contains the admin URL, initial account credentials, and client server address.

3.2 Service management panel

After installation, the following services are included:

ServiceDescription
NginxEntry service, port 19002
IMMessaging system
DuliWppCloud Drive
DuliMailMail
DuliRedisDatabase
DuliGoFastRedis cache database (cluster mode)
OnlyofficeFile server
OpenofficeOnline document preview
DuliYjsOnline document collaboration
Hbase + Zookeeper + HadoopMessage database

3.2.1 Startup panel

Open the startup panel by double-clicking the desktop shortcut for the DULI runtime environment.

Start DULI services:

Run with administrator privileges:

If the current user does not have administrator rights, run the uac_check script to elevate privileges. A reboot is required.

View installation logs:

Double-click install.log to review the installation log.

3.2.2 Maintenance and backup

Port information
TypeService / ProjectPort
IMDuliGoFast19001
IMDuliRoute19002
IMDuliFront19003
IMDuliBackend19017
IMDuliAuth19006
IMws socket11511
IMnetty socket11611
IMandroid socket11911
IMnatcross socket12321
IMstream socket11711
IMFile transfer12321 / 12322
DriveDuliWpp19014
DriveDuliWppSocket10001
DriveDuliYjs2234
MailDuliMail9017
duliduli-server directory structure
DirectoryDescription
E:\duliduli-serverServer root path
E:\duliduli-server\dataProject and service data
E:\duliduli-server\mysql\dataDatabase data directory
E:\duliduli-server\binService start/stop scripts
E:\duliduli-server\gofastdfsFile storage directory
E:\duliduli-server\{hbase,hadoop}ZooKeeper, HDFS, Hadoop installation and data directories
E:\duliduli-server\nginx\conf\certHTTPS certificate directory
HBase maintenance
text
E:
cd E:\duliduli-server\hbase\bin
hbase shell
MySQL maintenance
bash
E:
cd E:\duliduli-server\mysql\bin
mysql -h127.0.0.1 -uroot -p"password"
MySQL data backup

Double-click db_backup.bat to back up the MySQL database automatically.

You can also perform backup from the panel:

4. Version upgrade

  1. Download the patch package duliduli-update_V1.0.2.exe. The patch version must be higher than the local current version.
  2. Double-click duliduli-update_V1.0.2.exe to open the installer.

  1. Click Browse and select the DULI server installation path.

  1. Click Install.

  1. When prompted to stop DULI services, click OK to continue.

  1. Wait for the upgrade to complete automatically.

5. Domain configuration

Switch DULI requests from HTTP to HTTPS. If the server is only used internally and no domain is purchased, this step can be skipped.

5.1 Preparation

DomainCertificate filePrivate key file
Primary / secondary domainCRT or PEMKEY

5.2 Configure HTTPS

  1. Apply for a domain certificate.
  2. Rename the certificate file (crt / pem) to duliduli.cert.
  3. Rename the private key file to duliduli.key.
  4. Put both files into nginx/conf/cert.

  1. Double-click enable_ssl.bat and enter 1 when prompted.
  2. Enter the domain name, for example my.duliduli.com. Replace it with your actual available domain.
  3. The script switches the service to HTTPS automatically.

  1. Wait for the script to restart the server automatically.

5.3 Switch back to HTTP

  1. Double-click enable_ssl.bat and enter 2 when prompted.
  2. Wait for the script to update the configuration and restart the service automatically.

6. Prevent system sleep

On Windows 10, long periods without activity may put the system into sleep mode and disconnect the network, which can affect service availability. Configure the following settings.

6.1 Power button, sleep button, and lid settings

Path: Control Panel -> Hardware and Sound -> Power Options -> System Settings. Set everything to “Do nothing”.

6.2 Change power plan settings

Path: Control Panel -> Hardware and Sound -> Power Options -> System Settings. Set all related items to “Never”.

7. Start using it

7.1 Access the admin console

Use the following address to open the admin console. Replace ip with the actual server address:

text
http://ip:19005/html/login.html

7.2 Complete license activation

After registering on the DULI official website and completing enterprise verification, you can obtain a free License.

After purchasing the Enterprise or VIP edition from your account center, use the machine code to obtain the License file and import it.

Importing a License requires online verification. Please ensure that the duliduli.com domain is accessible.

8. Client download

DULI supports Mac, Windows, iOS, and Android clients.

You can download installers from the official website. For Android and iOS, it is recommended to search for “嘟哩” in the app store.

  1. Copy the IP and port from 嘟哩管理地址.txt. If a public domain is configured, enter the domain and port instead, then configure them in the client.

  1. Accept the agreement and click Log In. Accounts can be created in the admin console. If SMS services are integrated, users can also register from the client.

You can start using DULI after logging in.

嘟哩帮助中心