Linux 初始设置

Ubtutu

# 删除多余的软件
sudo apt-get remove libreoffice-common thunderbird totem rhythmbox simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-sudoku remmina
sudo apt autoremove
sudo apt-get clean

# 修改系统源
sudo vi /etc/apt/sources.list
## 命令行模式:`:1,$d`清空原内容
## 清华镜像源:`https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/`

# 更新源
sudo apt-get update

# 安装网络工具
sudo apt-get install net-tools
# 安装 ssh
sudo apt-get install openssh-server
sudo /etc/init.d/ssh status
# 修复软件依赖
sudo apt --fix-broken install

# 编译工具
sudo apt-get install build-essential autoconf automake libtool pkg-config ca-certificates tzdata gdb vim wget curl unzip

# 设置时间
ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo Asia/Shanghai > /etc/timezone
Table of Contents