标签:unzip lex make href cer which install port config
基础包安装
yum install -y bind-utils traceroute wget man sudo ntp ntpdate screen patch make gcc gcc-c++ flex bison zip unzip ftp net-tools --skip-broken
安装python
下载XZ compressed source tarball Python-3.5.3.tar.xz 到 /usr/local/src
cd /usr/local/src; tar -Jxvf Python-3.5.3.tar.xz; cd Python-3.5.3;
./configure --prefix=/usr/local/python_3.5.3; make; make install
添加环境变量
在 /etc/profile添加下面这行
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/python_3.5.3/bin
重载环境变量 . /etc/profile
若想让 python3 成为默认的python
可以先查询 原来的python路径,然后把原来的路径做软链接指向新的python3路径即可
which python
python Django Nginx+uwsgi 安装配置
标签:unzip lex make href cer which install port config
原文地址:http://www.cnblogs.com/linkenpark/p/6560787.html