Seafile installation process

winLTSB 2016 virtual machine installation ubuntu 18.04 Server +Seafile

ubuntu installed in virtual machine

Source change

Backup first

cp /etc/apt/sources.list /etc/apt/sources.list.bak

Replace the following

nano /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

PyPI uses a domestic source, or it will report an error when installing Seafile, because there are resources that need to be turned over

Execute nano /etc/pip.conf

[global]
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com

implement

apt-get update
apt-get upgrade

Install Seafile

wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-ubuntu-amd64-http

//implement
bash seafile-server-ubuntu-amd64-http 6.3.4

After normal operation, the administrator account password should appear. If not, use the following command

less /opt/seafile/aio_seafile-server.log

Using seafile synchronization disk in win10

If you have previously used synchronization and later reinstalled it, you can use the following methods in case of "conflict with the system"

Stop the program first, then delete the ccnet folder under "C:\Users\Administrator", run it again, select skip, and then drag the original folder to synchronize

Keywords: Programming Ubuntu pip less

Added by goaman on Sun, 10 Nov 2019 23:46:32 +0200