标签:pytho str serve 用户 init.d client date rest wget
1. 激活root用户:
sudo passwd root
2. 安装ssh服务:
sudo apt-get install openssh-server
开启服务:/etc/init.d/ssh start
关闭服务:/etc/init.d/ssh stop
重启服务:/etc/init.d/ssh restar
3. 安装pip:
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
sudo python get-pip.py
4. 安装virtualenv和virtualenvwrapper
sudo apt-get update
sudo apt-get install python-virtualenv
sudo easy_install virtualenvwrapper
5. 安装mysql
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install libmysqlclient-dev
登陆: mysql -u root -p
标签:pytho str serve 用户 init.d client date rest wget
原文地址:https://www.cnblogs.com/yuanqc/p/10192461.html