ubuntu笔记

ubuntu图形界面的网络问题

https://blog.csdn.net/anhuidelinger/article/details/17584299

https://blog.csdn.net/zzu09huixu/article/details/24047531

软件源和解决依赖关系

备份
sudo cp /etc/apt/sources.list /etc/apt/sources_init.list
更改源
sudo gedit /etc/sources.list

阿里源:

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

sudo apt-get update 更新软件列表
sudo apt-get upgrade 下载安装

https://www.cnblogs.com/masbay/p/10887571.html?tdsourcetag=s_pcqq_aiomsg

更新了源之后就可以解决依赖关系:
sudo apt-get install -f apt

修改host文件

https://www.jianshu.com/p/ead13052441c?tdsourcetag=s_pcqq_aiomsg

网络重启

sudo service network-manager restart

ftp的设置

sudo gedit /etc/vsftpd.conf
sudo /etc/init.d/vsftpd restart

关闭防火墙

sudo ufw disable
sudo ufw status

sudo ufw deny

你可能感兴趣的:(系统与软件)