服务器安装pip

时间:2024-05-27 18:36:14

1、

wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26 

tar -zxvf setuptools-19.6.tar.gz
cd setuptools-19.6
sudo python setup.py build
sudo python setup.py install

2、

wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb 

tar -zxvf pip-8.0..tar.gz
cd pip-8.0.
python setup.py build
sudo python setup.py install
---------------------

3、

pip

进行检测

4、

pip install *

5、

vi /etc/*.json

6、

{
"server":"my_server_ip",
"server_port":25,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}

  

7、

ssserver -c /etc/*.json -d start
ssserver -c /etc/*.json -d stop

8、出现以下原因是因为配置不符合...

服务器安装pip

9、如果ping google.com 不能通;

iptables -F; iptables -t nat -F; iptables-save > /etc/sysconfig/iptables

  

If you need to replace a banned IP with a clean IP, there are two options available to you:

* Option 1 * Free IP replacement. We allow you to replace a blacklisted IP with a clean IP for free, once every 10 weeks. To access this feature, first login to KiwiVM as usual, then access the following hidden page (copy+paste link into the browser's address bar):

https://kiwivm.64clouds.com/main-exec.php?mode=blacklistcheck

* Option 2 * Manual IP replacement (fees apply) available at the following link:

https://bandwagonhost.com/ipchange.php

mirror:

https://bwh1.net/ipchange.php

This is an automatic reply. If your request is not properly addressed, please reply in this ticket and one of our engineers will take a look.

注意:搬瓦工每10个星期(2.5个月)可以免费更换一次ip。