Commit ddedc7d5 authored by wojiushixiaobai's avatar wojiushixiaobai

[Fix]修改文档

parent 4383d930
...@@ -31,11 +31,6 @@ ...@@ -31,11 +31,6 @@
$ setenforce 0 $ setenforce 0
$ sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config $ sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
# 修改字符集, 否则可能报 input/output error的问题, 因为日志里打印了中文
$ localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8
$ export LC_ALL=zh_CN.UTF-8
$ echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
一. 准备 Python3 和 Python 虚拟环境 一. 准备 Python3 和 Python 虚拟环境
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
...@@ -38,11 +38,6 @@ CentOS 7 安装文档 ...@@ -38,11 +38,6 @@ CentOS 7 安装文档
$ setenforce 0 $ setenforce 0
$ sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config $ sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
# 修改字符集, 否则可能报 input/output error的问题, 因为日志里打印了中文
$ localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8
$ export LC_ALL=zh_CN.UTF-8
$ echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
# 安装依赖包 # 安装依赖包
$ yum -y install wget gcc epel-release git $ yum -y install wget gcc epel-release git
......
...@@ -30,11 +30,6 @@ ...@@ -30,11 +30,6 @@
$ apt-get update && apt-get -y upgrade $ apt-get update && apt-get -y upgrade
$ apt-get -y install wget gcc libffi-dev git libmysqlclient-dev $ apt-get -y install wget gcc libffi-dev git libmysqlclient-dev
# 修改字符集, 否则可能报 input/output error的问题, 因为日志里打印了中文
$ apt-get -y install language-pack-zh-hans
$ export LC_ALL=zh_CN.UTF-8
$ echo 'LANG="zh_CN.UTF-8"' > /etc/default/locale
**1.2 安装 Python3.6** **1.2 安装 Python3.6**
.. code-block:: shell .. code-block:: shell
......
...@@ -31,11 +31,6 @@ Ubuntu 18.04 安装文档 ...@@ -31,11 +31,6 @@ Ubuntu 18.04 安装文档
$ apt-get update && apt-get -y upgrade $ apt-get update && apt-get -y upgrade
$ apt-get -y install wget gcc libffi-dev git $ apt-get -y install wget gcc libffi-dev git
# 修改字符集, 否则可能报 input/output error的问题, 因为日志里打印了中文
$ apt-get -y install language-pack-zh-hans
$ export LC_ALL="zh_CN.utf8"
$ echo 'LANG="zh_CN.utf8"' > /etc/default/locale
**1.2 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke** **1.2 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke**
.. code-block:: shell .. code-block:: shell
......
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