Commit a67dae57 authored by wojiushixiaobai's avatar wojiushixiaobai

修改错误

parent 75f46f19
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
$ systemctl enable mariadb $ systemctl enable mariadb
$ systemctl start mariadb $ systemctl start mariadb
# 推荐使用该命令进行一些安设置(可跳过) # 推荐使用该命令进行一些安设置(可跳过)
$ mysql_secure_installation $ mysql_secure_installation
# 创建数据库及授权,192.168.100.11 是 jumpserver 服务器的 ip # 创建数据库及授权,192.168.100.11 是 jumpserver 服务器的 ip
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
DB_NAME = 'jumpserver' DB_NAME = 'jumpserver'
# When Django start it will bind this host and port # When Django start it will bind this host and port
# Django 运行的端口和容器,部署代理服务器后应该把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问。 # Django 监听的ip和端口,部署代理服务器后应该把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问。
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1:8080
HTTP_BIND_HOST = '127.0.0.1' HTTP_BIND_HOST = '127.0.0.1'
HTTP_LISTEN_PORT = 8080 HTTP_LISTEN_PORT = 8080
......
...@@ -146,7 +146,7 @@ CentOS 7 安装文档 ...@@ -146,7 +146,7 @@ CentOS 7 安装文档
DB_NAME = 'jumpserver' DB_NAME = 'jumpserver'
# When Django start it will bind this host and port # When Django start it will bind this host and port
# Django 运行的端口和容器,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问。 # Django 监听的ip和端口,生产环境推荐把0.0.0.0修改成127.0.0.1,这里的意思是允许x.x.x.x访问,127.0.0.1表示仅允许自身访问。
# ./manage.py runserver 127.0.0.1:8080 # ./manage.py runserver 127.0.0.1:8080
HTTP_BIND_HOST = '127.0.0.1' HTTP_BIND_HOST = '127.0.0.1'
HTTP_LISTEN_PORT = 8080 HTTP_LISTEN_PORT = 8080
......
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