yum -y install gcc make gcc-c++ openssl-devel wget
wget npm.taobao.org/mirrors/node/v8.4.0/node-v8.4.0-linux-x64.tar.xz
tar -vxf node-v8.4.0-linux-x64.tar
node
#node(註釋) export NODE_HOME=/usr/src/node-v8.4.0-linux-x64 export PATH=$PATH:$NODE_HOME/bin export NODE_PATH=$NODE_HOME/lib/node_modules
source /etc/profile
python
node -v
linux
yum -y groupinstall development
yum -y install zlib-devel
c++
wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
tar xJf Python-3.6.2.tar.xz
cd Python-3.6.2
npm
./configure
make
make install
which python3
python3 -V
服務器
echo $PATH
python2.7
PATH=$PATH:/usr/bin/local/python/bin/python3.6
code
python
ssl
ln -s /usr/local/bin/python/bin/python ./python
嘗試python,3.6安裝成功v8