新装 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
本文作者:Zijian/TENG(微信公众号:好记性如烂笔头),转载请注明原文链接:https://www.cnblogs.com/tengzijian/p/16463470.html