ubuntu 16.04 安装和常用配置

这篇博客记录了Ubuntu 16.04的安装过程,包括下载镜像、配置更新源、安装常用软件如Chrome、Oracle Java、SSH、FTP、MySQL、Redis、Tomcat、TeamViewer、WPS Office和搜狗输入法等。还提到了一些系统配置,如启用root登录,以及使用sysv-rc-conf进行自启动管理。
摘要由CSDN通过智能技术生成

装个ubuntu也是很麻烦的 = =
记录一下 常用的软件和配置, 以后备用

下载镜像

ubuntu 官网: http://www.ubuntu.org.cn/download

网易开源镜像站: http://mirrors.163.com/

清理和配置源

清理

ubuntu 默认没有设置root的密码 所以 su 一开始是用不了的

# 设置root 密码
sudo passwd root 

清理不需要的软件

sudo apt-get purge libreoffice-common
sudo apt-get purge unity-webapps-common
sudo apt-get purge thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot
sudo apt-get purge gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku
sudo apt-get purge onboard deja-dup
# 清理旧版本的软件缓存
sudo apt-get autoclean
# 清理所有软件缓存
sudo apt-get clean
# 删除系统不再使用的孤立软件
sudo apt-get autoremove
配置apt-get更新源

虽然用gui界面可以设置 还是习惯用命令

找一下需要的源
清华大学开源软件镜像站: https://mirrors.tuna.tsinghua.edu.cn/
wiki ubuntu: http://wiki.ubuntu.org.cn/%E6%A8%A1%E6%9D%BF:16.04source
ubuntu 国内源: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值