Deepin下開發環境配置(個人備用)
阿新 • • 發佈:2018-11-29
文章目錄
Python相關
安裝pip和pip3
Python2
sudo apt-get install python-pip
Python3
sudo apt-get install python3-pip
虛擬環境管理
Pycharm
Edit hosts
file
sudo echo "0.0.0.0 account.jetbrains.com" >> /etc/hosts
安裝Git
sudo apt-get install git
前端相關
VSCode
外掛
資料庫相關
MySQL 5.7
安裝
sudo apt-get install mysql-server
sudo apt-get isntall mysql-client
sudo apt-get install libmysqlclient-dev
進入MySQL
sudo mysql -uroot -proot
建立使用者
CREATE USER 'username'@'host' IDENTIFIED BY 'password';
mysql> CREATE USER 'ezreal'@'localhost' IDENTIFIED BY '123456';
授權(所有許可權用 ALL)
GRANT privileges ON databasename.tablename TO 'username'@'host'
mysql> GRANT SELECT, INSERT ON ez.* TO 'ezreal'@'localhost';