新装 Ubuntu 环境设置脚本

写给自己的笔记,不具有通用性。

setupNewUbuntu.sh

sudo apt install ssh -y

# C++ 开发
# error trying to exec 'cc1plus': execvp: No such file or directory
sudo apt install g++ -y
sudo apt install make -y
sudo apt install cmake -y
sudo apt install libssl-dev -y

# Java 开发
sudo apt install ant -y
sudo apt install openjdk-11-jdk-headless -y

# 常用命令
sudo apt install tree -y
sudo apt install curl -y
sudo apt install python2.7 -y
sudo apt install git -y

# docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
dockerd-rootless-setuptool.sh install

# 安装 repo
# 设置 samba
# 从原 Linux 中拷贝私钥、个性化设置
scp -r setupNewUbuntu.sh ~/.bashrc ~/.ssh/  ~/.gitconfig  zijian@zijian-vm22:/home/zijian
posted @ 2022-07-10 16:55  Zijian/TENG  阅读(108)  评论(0编辑  收藏  举报