swap 4096
/boot 20G 需要下载安装软件
/ 55G 需要放各种软件
sudo apt-get update
sudo apt-get install openssh-server
无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)
E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它
2.强制解锁--命令:
sudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/lock
3 open ssh
/etc/init.d/ssh start
4. Server responded "Protocol error" packet too long: 1349676920"
a protocol error was detected,This usually inidicates a bug in the SSH application
/etc/ssh/sshd_config root login yes
Ubuntu18.04卸载python
sudo apt-get remove python
sudo /etc/init.d/networking restart
使用apt-cache search vncserver命令搜索可以用来安装vncserver的软件包
使用apt-get install vnc4server命令安装vncserver,输入y并回车
安装gnome
apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
bash Anaconda3-4.2.0-Linux-x86_64.sh
jupyter notebook --no-browser --port 8080 --ip=192.168.142.142