Ubuntu常用配置

Ubuntu常用配置

安装卸载

1
2
3
4
5
6
7
# 安装vmware配置
sudo apt install open-vm-tools-desktop

# 删除无用软件
sudo apt-get remove unity-webapps-common
sudo apt-get purge libreoffice*
sudo apt-get purge firefox

配置源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

# 打开sources.list文件 删除所有内容 替换为下面的源
sudo gedit /etc/apt/sources.list

# 中科大源
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

相关文章

Vi基础命令

Linux基础命令

Centos使用

Centos升级Ruby

Shell脚本

Nginx多配置文件

Nginx图片大小限制

Nginx配置WebSocket超时时间和wss

Centos设置终端代理

linux禁止root直接登录