1. 配置镜像源,全改为国内的镜像,加快包下载速度
  2. 下载各种软件,gedit, vscode, nvm,chrome, vivaldi,teamviewer等等
  3. 这里要配置node的环境,下载nvm,yarn,mirror-config-china
  4. 添加ohmyzsh美化终端,其中用户目录的.bash_profile,.bashrc,.zshrc要知道是干什么的
  5. 添加字体微软雅黑,yaheimono等,更改terminal字体样式
  6. 下载conda并配置condarc设置国内镜像

安装sshd

  1. sudo apt-get install openssh-server

安装nodejs

安装java

在adoptopenjdk网站下载 https://adoptium.net/releases.html

  1. 解压
  2. tar xzf OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz
  3. 添加环境变量(.bashrc,.zshrc)
  4. export PATH=$PWD/jdk-17.0.2+8/bin:$PATH
  5. 检查是否安装
  6. java -verison

安装docker

https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script

安装golang

  1. golang官网下载go的安装包,go1.16.linux-amd64.tar.gz 然后
  2. # 1.解压到local目录
  3. wget https://go.dev/dl/go1.17.7.linux-amd64.tar.gz
  4. sudo tar -C /opt -xzf go1.17.7.linux-amd64.tar.gz
  5. # 2.编辑环境变量,在/etc/profile和.bashrc添加
  6. #vim ~/.zshrc # OR ~/.bashrc OR ~/.profile
  7. cp -r ~/.bashrc ~/bashrcbak
  8. # 添加a环境变量
  9. export GOMODPATH=/opt/go
  10. export PATH="$GOMODPATH/bin:$GOMODPATH/golangmod/bin:$PATH"
  11. # 修改/opt的权限
  12. sudo chmod -R 777 /opt/go
  13. echo 'export GOMODPATH=/opt/go
  14. export PATH="$GOMODPATH/bin:$GOMODPATH/golangmod/bin:$PATH"' >>~/.bashrc
  15. source ~/.bashrc
  16. # 3.输入go version检查是否有安装成功
  17. # 4.配置go代理
  18. go env -w GO111MODULE=on
  19. go env -w GOPROXY=https://goproxy.cn,direct
  20. go env -w GOPATH=/opt/go/golangmod

安装guake

  1. sudo apt install guake

安装openresty

  1. https://openresty.org/cn/installation.html

安装fastgithub

https://github.com/dotnetcore/FastGithub下载fastgithub的linux版本

  1. 以服务启动
  2. sudo ./fastgithub start
  3. 配置代理
  4. 修改 /etc/profile 文件
  5. 添加
  6. export http_proxy=http://127.0.0.1:38457
  7. export https_proxy=http://127.0.0.1:38457

安装dotnet

https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-ubuntu#2004-