Setup A New Linux Server
Controls where to store journal data:
$ vim /etc/systemd/journald.conf
# Set `Storage=persistent`
$ systemctl restart systemd-journald.service
Speed up pip
$ cat > ~/.pip/pip.conf << EOF
[global]
# index-url = https://pypi.python.org/simple
index-url = https://mirrors.aliyun.com/pypi/simple
# https://pypi.douban.com/simple
# https://pypi.mirrors.ustc.edu.cn/simple
# https://pypi.tuna.tsinghua.edu.cn/simple
# https://pypi.zenlogic.net/simple/
EOF
/var
or make a link from dedicated volume$ vim /etc/fstab
# new line:
/dev/vdb /mnt/data ext4 defaults 0 1
$ mount -a
# link to locations where require large space:
$ ln -s /mnt/data/docker /var/lib/docker
Note: the method below maybe dangerous, more steps required to make it work (e.g. copy existing data)
$ vim /etc/fstab
# new line:
/dev/vdb /var ext4 defaults 0 1
# reboot system