72 yum install git
204 yum -y install pypy
340 yum -y install docker
358 yum -y install docker
360 yum -y install docker-io
365 yum -y install docker-io
374 yum update
383 yum install docker-engine
392 yum install docker-engine
394 yum install docker-engine --skip-broken
395 yum install docker-engine
396 yum remove docker
397 yum install docker-engine
413 yum install python-devel curl-devel
522 yum install -y python-dev
532 yum -y install mysql-dev
533 yum -y install mysql-devel
550 yum -y install sysstat zlib-devel curl-devel bzip2-devel readline-devel openssl-devel
635 yum -y install readline
654 yum -y install patch
656 yum -y install readline-devel
658 history | grep yum
680 yum remove pypy
684 yum -y install g++
685 yum -y install g++-dev
686 yum install gcc-c++
752 history | grep yum
1055 history | grep yum
- Download the protobuf source code (the latest version is: 2.5.0)
#cd /opt
#wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
- Unzip, compile, install
#tar zxvf protobuf-2.5.0.tar.gz
#cd protobuf-2.5.0
#./configure
#make
#make check
#make install
- Continue to install the python module of protobuf (if you don't use python, you can skip this step)
#cd ./python
#python setup.py build
#python setup.py test
#python setup.py install
- Installation is complete, verify the Linux command
#protoc –version
- Verify that Python modules are installed correctly
python setup.py test encountered an error that the so of probuf could not be found, the key is to execute ldconfig to solve the problem
#!/bin/sh
cd /usr/local/src
tar zxvf protobuf-2.4.1.tar.gz
cd protobuf-2.4.1
./configure
make
make install
ldconfig
cd /usr/local/src/protobuf-2.4.1/python
python setup.py build
python setup.py install
cd /usr/local/lib/python2.7/site-packages
chmod -R 755 *
git pull origin develop
647 pip27 install readline
657 pip27 install readline
668 pip27 install winpdb
682 pip27 install pyzmq
687 pip27 install pyzmq
691 pip27 install MySQL-python-1.2.5.zip
695 pip27 install hiredis
697 pip27 install ipython
844 pip27 install facebook-sdk-2.0.0.tar.gz
py27 gateway/main.py 0 /tmp/gateway_LOGIN.log DEBUG &
py27 gateway/main.py 1 /tmp/gateway_MIX_1.log DEBUG &
py27 worker/main.py LOGIN /tmp/worker_LOGIN.log DEBUG &
py27 worker/main.py MIX /tmp/worker_MIX_1.log DEBUG &
py27 admin/run.py -port=8080 &
py27 stats/run.py -port=9090 &
apache-libcloud (0.14.1)
backports.ssl-match-hostname (3.4.0.2)
Cython (0.20)
ecdsa (0.11)
Fabric (1.9.0)
Facebook (0.0)
guppy (0.1.10)
Jinja2 (2.7.2)
M2Crypto (0.22.3)
MarkupSafe (0.23)
meld3 (0.6.10)
meliae (0.4.0.final.0)
msgpack-python (0.4.2)
MySQL-python (1.2.5)
objgraph (2.0.1)
paramiko (1.14.0)
pip (9.0.1)
protobuf (2.5.0)
pyasn1 (0.1.9)
pycrypto (2.6.1)
pycurl (7.19.5)
pygeoip (0.3.2)
Pyrex (0.9.9)
PyYAML (3.11)
pyzmq (14.1.1)
redis (2.9.0)
rsa (3.4.2)
salt (2014.1.4)
setuptools (2.1)
simplejson (3.3.3)
supervisor (3.0)
tornado (3.2)
Twisted (13.2.0)
txZMQ (0.7.0)
winpdb (1.4.8)
zope.interface (4.0.5)
show global VARIABLES like '%max_allowed_packet%';
SET GLOBAL max_allowed_packet=10240000000;
ImportError: No module named win32api错误
pip install pypiwin32