折腾了一个上午,如果用我之前的办法安装不成功的,请尝试此方法 yum install policycoreutils-Python 下载以下四个文件,然后用rpm -ivf安装 http://pan.baidu.com/s/1dEbDg57 之前的链接 http://blog.csdn.NET/hificamera/article/details/49992319 sudo yum update binutils to fix the problem: expecting string instruction after `rep' 要在新的两台服务器上部署C++11代码,需要在centos6上安装 g++ gcc 4.8+ 选择了 安装 devtoolset-2,总是提示mirror不行,安装一直失败,不是是服务器网络的原因还是对端网络的原因 因此打算使用 之前自己已经搭建好的代理服务器,但是那台代理是socks,因此又要先安装shadowssocks,然后还有转socks协议为 http 先安装pip https://pip.pypa.io/en/latest/installing/ wget https://bootstrap.pypa.io/get-pip.py python get-pip.py pip install shadowsocks ln -s /usr/local/python/bin/sslocal /usr/bin/sslocal sslocal -s 192....... -p 10234 -b 127.0.0.1 -l 1080 -k keywords 600 -m aes-256-cfb 安装 转换为 http协议的工具 http://sourceforge.Net/projects/ijbswa/files/Sources/ 下载后 解压 tar xzvf privoxy-3.0.23-stable-src.tar.gz cd privoxy-3.0.23-stable 接下来要安装一个 cvs,虽然我现在还不知道他是干啥用的,好像是要获取最新的代码文件 cvs -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa login cvs -z3 -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa co current cd current yum install automake 遵循INTALL文件中 autoheader autoconf ./configure # (--help to see options) make # (the make from GNU, sometimes called gmake) su # Possibly required make -n install # (to see where all the files will Go) make -s install # (to really install, -s to silence output) # /etc/init.d/privoxy start 参考 http://laowang.me/centos-global-privoxy.html http://www.ttlsa.com/Linux/how-to-install-c11-gcc4-8-x/ (责任编辑:IT) |