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