vmware15.02 key
ZC10K-8EF57-084QZ-VXYXE-ZF2XF
UF71K-2TW5J-M88QZ-8WMNT-WKUY4
AZ7MK-44Y1J-H819Z-WMYNC-N7ATF
CU702-DRD1M-H89GP-JFW5E-YL8X6
YY5EA-00XDJ-480RP-35QQV-XY8F6
VA510-23F57-M85PY-7FN7C-MCRG0
直接通过ultraiso刻录镜像,并且烧写引导文件;
启动->写入硬盘文件
便捷启动->写入新的驱动器引导扇区->Syslinux
可能需要更改bios(t470p)
boot->禁止使能 boot order
sudo vi /etc/systemd/logind.conf
#HandleLidSwitch=poweroff, 关闭盖子时关闭电源。
#HandleLidSwitch=hibernate, 关闭lid时需要休眠(需要测试hibernate是否工作)。
HandleLidSwitch=ignore, 什么都不做。
#HandleLidSwitch=suspend,当盖子关闭时暂停笔记本电脑。
systemctl restart systemd-logind.service
secure boot
如果启用了该功能,modprobe ko 可能会失败。
http://3ctipsmemo.blogspot.com/2018/06/ubuntu-linux-secure-boot.html
https://open-cells.com/index.php/2017/06/08/kernel-module-uefi-secure-boot/
修改source 阿里云源
#modify for aliyun support
# 18.04 LTS
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
安装ssh、ifconfig、vim、tree、htop
sudo apt-get -y install ssh net-tools vim tree htop
bashrc
ss
sudo apt-get install libsodium23
sudo apt-get install libsodium-dev
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
sudo cp /lib/systemd/system/shadowsocks-libev-local@.service /lib/systemd/system/shadowsocks-libev-local.service
#local
sudo systemctl enable shadowsocks-libev-local.service
sudo systemctl start shadowsocks-libev-local.service
#edit
#cat /etc/shadowsocks-libev/config.json
systemctl status shadowsocks-libev-local.service
#server
sudo systemctl enable shadowsocks-libev.service
sudo systemctl start shadowsocks-libev.service
timezon
date -R
tzselect
#Asia->China->Beijing
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime