新安装Ubuntu配置过程

# 新安装Ubuntu配置过程
## 更换清华镜像源
Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份
```powershell
sudo cp /etc/apt/sources.list /etc/apt/sources_backup.list
```
使用gedit将源中内容替换
```bash
sudo gedit /etc/apt/sources.list
```

链接: [清华镜像源](https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/).
升级自带包
```powershell
sudo apt update
```
安装常用基本软件
```powershell
sudo apt install curl git openssh-server net-tools
```
## 自动脚本配置
搜索marswang42 找到My-Vim-Conf
安装第三方shell-zsh,并替换自带的bash
```powershell
sudo apt install -y zsh
```
```powershell
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```
clone博主的源

```powershell
git clone https://github.com/MarsWang42/My-Vim-Conf.git
```
```powershell
cd My-Vim-Conf
```
脚本自动安装
```powershell
chmod +x ./setup.sh ./tmux.sh
```
```powershell
./setup.sh
```
最后刷新应用最新的设置
```powershell
source ~/.zshrc
```
## Ubuntu助手:一键安装软件、进行系统配置

```xml
https://github.com/borninfreedom/linux-assistant
```

 

新安装Ubuntu配置过程

上一篇:eclipse中创建maven项目


下一篇:Ubuntu配置Git并利用Gitee(码云)进行项目及代码的管理