Commit ae3f8ff1 authored by wojiushixiaobai's avatar wojiushixiaobai

更新文档

parent adc9abed
......@@ -63,10 +63,8 @@ CentOS 7 安装文档
$ yum -y install nginx
$ systemctl enable nginx
# 下载编译 Python3.6.1
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
# 安装 Python3.6
$ yum -y install python36 python3-devel
# 配置并载入 Python3 虚拟环境
$ cd /opt
......
......@@ -30,13 +30,13 @@
$ apt-get install language-pack-zh-hans
$ echo 'LANG="zh_CN.UTF-8"' > /etc/default/locale
**1.2 编译安装**
**1.2 安装 Python3.6**
::
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
$ add-apt-repository ppa:jonathonf/python-3.6 -y
$ apt-get update
$ apt-get -y install python3.6 python3.6-dev python3.6-venv
**1.3 建立 Python 虚拟环境**
......
......@@ -48,17 +48,11 @@
$ yum -y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html>
**1.2 编译安装**
**1.2 安装 Python3.6**
::
$ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
$ tar xvf Python-3.6.1.tar.xz && cd Python-3.6.1
$ ./configure && make && make install
# 这里必须执行编译安装,否则在安装 Python 库依赖时会有麻烦...
$ yum -y install python36 python3-devel
**1.3 建立 Python 虚拟环境**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment