1. 程式人生 > 實用技巧 >ubuntu開發機初始化

ubuntu開發機初始化

1.1 初始化系統步驟

在VMware15中安裝ubuntu18
Ubuntu 18.04 安裝 PyCharm:https://blog.csdn.net/qq_15192373/article/details/81091278
ubuntu設定靜態IP:https://www.jb51.net/article/143115.htm
Ubuntu root使用者登入:https://www.cnblogs.com/kpsmile/p/10131921.html
ubuntu 安裝搜狗輸入法:https://blog.csdn.net/github_39533414/article/details/85211012 Ubuntu pycharm啟用:https:
//www.hxun.net/archives/114.html pycharm漢化:https://blog.csdn.net/weixin_42403632/article/details/107452694 安裝pip和開發工具:https://www.cnblogs.com/GavinSimons/p/10775293.html

安裝mysql: https://www.cnblogs.com/opsprobe/p/9126864.html
設定mysql密碼: https://www.cnblogs.com/iread9527/p/12757450.html
安裝Redis:https://www.cnblogs.com/super-zhangkun/p/9457312.html

安裝使用virtualenvwrapper: https://www.cnblogs.com/an5456/p/11198217.html
修改匹配源: https://blog.csdn.net/Neu_Halen/article/details/90240671
msqlclient安裝報錯: https://www.cnblogs.com/weifeng-888/p/Linux.html

1.2 解決ubuntu中中文輸入法失靈問題

1、點選【File】—【Setting】—【Editor】—【File Encoding】頁面,設定global 和project encoding為UTF-8,然後點選應用。
2、點選【File】—【Setting】—【Editor】—【File and
Code Templates】,點選右邊的【python script】,在編輯框中輸入: #--coding:utf-8-- ,儲存設定之後,關閉pycharm 3、重新開啟pycharm

pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple