阿里雲服務器ubuntu16.04環境配置

1、sudo apt-get update #剛使用esc時需要更新源,否則很多東西都無法使用
2、更新pip可能會導致pip無法使用:/usr/bin/pip: No such file or directory pip can no longer be found:

#輸入pip時報錯
which pip 
/usr/local/bin/pip
pip 
-su: /usr/bin/pip: No such file or directory

#解決方案
type pip 
hash -r 

3、更新pip,python -m pip install --upgrade pip
4、如果不記得自己的root密碼,可以重新設置:
sudo passwd root
5、下載Xshell
6、新建會話框,輸入服務器公網ip,root,以及ubuntu系統的密碼。
7、在配置公網Xshell時,如果彈出拒絕密碼,再試一次,那麼可能是ubuntu的密碼錯了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章