1、分区:当安装软件时发现/home中没有空间了,本来先重做系统重新分区(太蠢了),后来从网上查到可以用Gparted:
安装: sudo get-apt install gparted
启动:sudo gparted
之后将未分配的空间移到想要扩容区域的旁边进行设置。
2、查看分区:
$cat /proc/partitions
3、添加hosts
访问网站:https://laod.cn/hosts/2017-google-hosts.html 下载对应系统的hosts
进入root权限下替换hosts
sudo su
cp hosts /etc/hosts
exit
修改后执行
sudo systemctl restart NetworkManager