我的 ubuntu 開發環境配置
阿新 • • 發佈:2018-11-08
系統更新
sudo apt-get update && sudo apt-get upgrade
git
- 安裝
$ apt install git
- 配置
$ git config –global user.email “[email protected]”
$ git config –global user.name “Your Name”
$ git config –global push.default simple
- 新增公鑰到你的github帳戶
$ ssh-keygen -t rsa -C “[email protected]”
$ cat ~/.ssh/id_rsa.pub
登陸 github 帳戶,Add SSH key
oh-my-zsh
$ apt install zsh
$ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
$ chsh -s /bin/zsh
vim
- 安裝
$ apt install vim
配置
python
$ apt install python
$ apt install pip
PyCharm
sogou
Sublime
mysql
- 安裝
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
- 檢查
sudo netstat -tap | grep mysql
- 停止/啟動/重啟
service mysql stop [start|restart]
- 登入
sudo mysql -uroot -p
- 修改密碼
mysqladmin -u root password “new_password”