Update using_sqlite.md

This commit is contained in:
Daniel Pan 2021-08-12 11:26:51 +08:00 committed by GitHub
parent 366833334f
commit 3e9e6fef94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,27 +263,9 @@ pkill -f seafile-controller
pkill -f "seahub"
```
## Setup in non-interactive way
Since Seafile version 5.1.4, `setup-seafile.sh` supports auto mode. You can run the setup script in non-interactive by supply the needed parameters via script parameters or environment variables.
```sh
cd seafile-server-*
./setup-seafile.sh auto [param1] [param2]...
```
Related parameters as follow:
Option | Script parameter | Environment variable | Default value
--------|--------|--------|--------
server name | -n | SERVER_NAME | hostname -s(short host name)
server ip or domain | -i |SERVER_IP | hostname -i(address for the host name)
fileserver port | -p | FILESERVER_PORT | 8082
seafile data dir | -d | SEAFILE_DIR | current directory
**Note: If both script parameter and environment variable assigned, script parameter has higher priority. If neither script parameter nor environment variable assigned, default value will be used.**
## That's it!
For a production server we highly recommend to setup with Nginx/Apache and enable SSL/TLS.
That's it! Now you might want read more about Seafile.