centOS 6.6安装 设置中文输入法 配置Python2.7

cenos  安装百度云 http://pan.baidu.com/s/1slTkQSH

配置中文输入法教程  https://jingyan.baidu.com/article/da1091fb3e7f8a027849d681.html

························································································

centos自带Python2.67.  但是我们要用的是2.7版本 所以要从新安装:

rpm -ivh http://repo.webtatic.com/yum/el6/latest.rpm
rpm -ivh http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/ius/archive/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm
yum install  python27 python27-devel python27-pip -y
mv /usr/bin/python /usr/bin/python2.6.6
ln -s /usr/bin/python2.7 /usr/bin/python

mv /usr/bin/pip /usr/bin/pip2.6
ln -s /usr/bin/pip2.7 /usr/bin/pip


进入root权限里 然后将以上代码复制到命令行里  则自动安装

你可能感兴趣的:(环境配置)