linux使用配置(自用)
基本设置
将主文件夹的中文文件名改英文名
打开终端,在终端中输入命令:
export LANG=en_US
xdg-user-dirs-gtk-update
跳出对话框询问是否将目录转化为英文路径,同意并关闭.
在终端中输入命令:
export LANG=zh_CN
键盘设置
截图快捷键(这个真的太好用了!对于写东西来说)
设置当前用户为root权限
暂时获得root权限
su root //switch user
sudo passwd root //首次使用需要配置root用户密码
永久获得root权限
https://www.cnblogs.com/covei/p/13878306.html
基本软件安装
//基本是常用必备软件
sudo apt-get install curl
sudo apt install wget
sudo apt-get install vim
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install gdb
开发环境配置
终端显示整理
配置不显示机器名(机器名太长了)
命令行提示头配置
- https://blog.csdn.net/lancegentry/article/details/99937273
- https://blog.csdn.net/weixin_42369926/article/details/99839674
安装terminal2 和 on-my-zsh
暂时不装吧,后面有时间了整这个
//zsh
sudo apt-get install zsh
//https://ohmyz.sh/
//https://blog.csdn.net/u014375643/article/details/115826506
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
vim 配置使用剪切板
/vim 配置系统剪切板
https://zhuanlan.zhihu.com/p/73984381
安装git
sudo apt-get install git
git config --global user.name "zhouyu00"
git config --global user.email "254708919@qq.com"
Documents ssh-keygen -C '254708919@qq.com' -t rsa
https://www.cnblogs.com/lxm20145215----/p/5905765.html
配置完毕可以测试一波
安装 vscode
https://zhuanlan.zhihu.com/p/137861452
安装配置python anaconda
安装配置java
多版本java管理 update-alternatives
https://blog.csdn.net/hellocsz/article/details/82701689
安装配置cpp
https://blog.csdn.net/weixin_43374723/article/details/84064644
安装配置rust
https://www.cnblogs.com/honyer/p/11877145.html
https://blog.csdn.net/weixin_43069769/article/details/111229641
安装配置go
安装和配置
https://www.cnblogs.com/baylorqu/p/11866233.html
https://blog.csdn.net/RogerSCL/article/details/100852840
go工具下载代理
export GOPROXY=https://goproxy.cn
安装配置node
nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
I'm a fucKing fake coder!