diff --git a/docs/_static/img/faq_googleauth.jpg b/docs/_static/img/faq_googleauth.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..34b3472a66b69fa87bd956f5b30d27ca77efd51a
Binary files /dev/null and b/docs/_static/img/faq_googleauth.jpg differ
diff --git a/docs/_static/img/faq_sftp_01.jpg b/docs/_static/img/faq_sftp_01.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..926cc5f8b3fd4955bbcbfaa3128158e938426886
Binary files /dev/null and b/docs/_static/img/faq_sftp_01.jpg differ
diff --git a/docs/_static/img/faq_windows_01.jpg b/docs/_static/img/faq_windows_01.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..759793e96e878596962710077c99191d7d2efa58
Binary files /dev/null and b/docs/_static/img/faq_windows_01.jpg differ
diff --git a/docs/_static/img/faq_windows_02.jpg b/docs/_static/img/faq_windows_02.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b6ea0163016b8467d7ed3c1a5a17969d93332a77
Binary files /dev/null and b/docs/_static/img/faq_windows_02.jpg differ
diff --git a/docs/_static/img/faq_windows_03.jpg b/docs/_static/img/faq_windows_03.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f7897142fee824467bb25608c5607346b4eb5698
Binary files /dev/null and b/docs/_static/img/faq_windows_03.jpg differ
diff --git a/docs/_static/img/faq_windows_04.jpg b/docs/_static/img/faq_windows_04.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8328654bae6a362d32189273b74bd458b0456c26
Binary files /dev/null and b/docs/_static/img/faq_windows_04.jpg differ
diff --git a/docs/_static/img/faq_windows_05.jpg b/docs/_static/img/faq_windows_05.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3120bc1354bf6de10653d3509f87235a52182ad3
Binary files /dev/null and b/docs/_static/img/faq_windows_05.jpg differ
diff --git a/docs/_static/img/faq_windows_06.jpg b/docs/_static/img/faq_windows_06.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6e7eb2f1ef39aea4ad535d082ccab08a2904fc95
Binary files /dev/null and b/docs/_static/img/faq_windows_06.jpg differ
diff --git a/docs/_static/img/faq_windows_07.jpg b/docs/_static/img/faq_windows_07.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e2c9a7b72adb81ef9faa7d2fd33e2207cb2a2b8a
Binary files /dev/null and b/docs/_static/img/faq_windows_07.jpg differ
diff --git a/docs/quickstart.rst b/docs/dockerinstall.rst
similarity index 99%
rename from docs/quickstart.rst
rename to docs/dockerinstall.rst
index b40aff11b98db3ba6b4515391264378469ab8599..18689c75a690f9056411c4cc30cdfcc2b01de114 100644
--- a/docs/quickstart.rst
+++ b/docs/dockerinstall.rst
@@ -1,4 +1,4 @@
-快速安装
+Docker安装
 ==========================
 
 Jumpserver 封装了一个 All in one Docker,可以快速启动。该镜像集成了所需要的组件(Windows组件未暂未集成),也支持使用外置 Database 和 Redis
diff --git a/docs/faq.rst b/docs/faq.rst
index cbcad15ca1e233683865b7a0a14d81abfa75d39b..19191e03d25e559d57d7f72446333a427d5ea837 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -1,5 +1,15 @@
 FAQ
 ==========
+.. toctree::
+   :maxdepth: 1
+
+   Windows 资产连接说明 <faq_windows.rst>
+   Windows sftp使用说明 <faq_sftp.rst>
+   二次认证(Google Auth)入口说明 <faq_googleauth.rst>
+
+
+常见问题
+~~~~~~~~~~~~~~~~~~~~~
 
 1. Windows 资产连接错误排查思路
 
@@ -47,10 +57,9 @@ FAQ
 
    (3). guacamole重新注册
 
-      $ rm /opt/guacamole/key/*  # guacamole, 如果你是按文档安装的,key应该在这里
       $ docker stop jms_guacamole  # 如果名称更改过或者不对,请使用docker ps 查询容器的 CONTAINER ID ,然后docker stop <CONTAINER ID>
       $ docker rm jms_guacamole  # 如果名称更改过或者不对,请使用docker ps -a 查询容器的 CONTAINER ID ,然后docker rm <CONTAINER ID>
-      $ rm /opt/guacamole/key/*
+      $ rm /opt/guacamole/key/*  # guacamole, 如果你是按文档安装的,key应该在这里
       $ systemctl stop docker
       $ systemctl start docker
       $ docker run —name jms_guacamole -d \
@@ -165,3 +174,16 @@ FAQ
         $ source /opt/py3/bin/activate
         $ cd /opt/jumpserver/apps
         $ python manage.py changepassword  <user_name>
+
+        # 新建超级用户的命令如下命令
+        $ python manage.py createsuperuser --username=user --email=user@domain.com
+
+    (11). 清理celery产生的数据(无法正常推送及连接资产可以使用)
+        $ source /opt/py3/bin/activate
+        $ cd /opt/jumpserver/apps
+        $ python manage.py shell
+        $ from celery.task.control import discard_all
+        $ discard_all()
+        $ exit()
+        $ cd /opt/jumpserver
+        $ ./jms restart celery
diff --git a/docs/faq_googleauth.rst b/docs/faq_googleauth.rst
new file mode 100644
index 0000000000000000000000000000000000000000..db0aff834bef6c08f4be8d145f186777792a55ca
--- /dev/null
+++ b/docs/faq_googleauth.rst
@@ -0,0 +1,4 @@
+二次认证(Google Auth)入口说明
+--------------------------------------------------------
+
+.. image:: _static/img/faq_googleauth.jpg
diff --git a/docs/faq_sftp.rst b/docs/faq_sftp.rst
new file mode 100644
index 0000000000000000000000000000000000000000..35fb02c73c895ad7843caad50addf37a11e81619
--- /dev/null
+++ b/docs/faq_sftp.rst
@@ -0,0 +1,5 @@
+Windows sftp使用说明
+-------------------------------------------------------
+在Windows上使用 sftp 工具传输文件到 Linux 系统,默认的上传目录在 /tmp ,其他目录没有权限
+
+.. image:: _static/img/faq_sftp_01.jpg
diff --git a/docs/faq_windows.rst b/docs/faq_windows.rst
new file mode 100644
index 0000000000000000000000000000000000000000..90ff8c4af98aa785eafb9d570e3dfcf0e4207492
--- /dev/null
+++ b/docs/faq_windows.rst
@@ -0,0 +1,30 @@
+Windows 资产连接说明
+----------------------------
+
+1. 检查终端是否在线(如果不在线,参考FAQ文档进行处理)
+
+.. image:: _static/img/faq_windows_01.jpg
+
+2. 登录要连接的windows资产,检查用户和IP信息(Windows目前还不支持推送,所以必须使用资产上面已存在的用户进行登录)
+
+.. image:: _static/img/faq_windows_02.jpg
+
+3. 创建Windows资产管理用户(如果是域资产,格式是uesr@domain.com)
+
+.. image:: _static/img/faq_windows_03.jpg
+
+4. 创建Windows资产系统用户(如果是域资产,格式是uesr@domain.com,注意协议不要选错)
+
+.. image:: _static/img/faq_windows_04.jpg
+
+5. 创建Windows资产(注意端口不要填错)
+
+.. image:: _static/img/faq_windows_05.jpg
+
+6. 创建授权规则
+
+.. image:: _static/img/faq_windows_06.jpg
+
+7. 使用web terminal登录(如果登录报错,检查防火墙的设置,可以参考FAQ)
+
+.. image:: _static/img/faq_windows_07.jpg
diff --git a/docs/fool_install.rst b/docs/fool_install.rst
index 64eff68899a3804825119227474d5a211520bca1..4c890fd3cc43b95e4540fe3dc872fd9c45035924 100644
--- a/docs/fool_install.rst
+++ b/docs/fool_install.rst
@@ -1,7 +1,7 @@
 傻瓜安装
 ==========================
 
-由于大多数用户对 Linux 不熟悉,这里提供基于 CentoOS_7_64 的傻瓜安装脚本。
+由于部分用户对 Linux 不熟悉,这里提供基于 CentoOS_7_64 的傻瓜安装脚本。
 
 本脚本仅支持 CentoOS7 64 位的系统安装 Jumpserver,无法在其他系统中正常运行。
 
diff --git a/docs/installation.rst b/docs/installation.rst
index 1ca0537252a6b0be58af90e4c91048f597354437..8965d1f646dda39600a221694728f5639387124a 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -4,7 +4,8 @@
 .. toctree::
    :maxdepth: 1
 
-   quickstart
+   dockerinstall
+   quickinstall
    step_by_step
    setup_by_ubuntu
    upgrade
diff --git a/docs/quickinstall.rst b/docs/quickinstall.rst
new file mode 100644
index 0000000000000000000000000000000000000000..753b2053763b04cc5549008ed982ea57efce57b4
--- /dev/null
+++ b/docs/quickinstall.rst
@@ -0,0 +1,19 @@
+快速安装
+++++++++++++++++++++++++
+
+因为懒,所以更专业。
+
+组件解释
+~~~~~~~~~~~~~~
+- Jumpserver 为管理后台,管理员可以通过Web页面进行资产管理、用户管理、资产授权等操作
+- Coco 为 SSH Server 和 Web Terminal Server 。用户可以通过使用自己的账户登录 SSH 或者 Web Terminal 直接访问被授权资产。不需要知道服务器的账户密码
+- Luna 为 Web Terminal Server 前端页面,用户使用 Web Terminal 方式登录所需要的组件
+- Guacamole 为 Windows 组件,用户可以通过 Web Terminal 来连接 Windows 资产 (暂时只能通过 Web Terminal 来访问)
+
+安装文档
+~~~~~~~~~~~~~~
+
+.. toctree::
+   :maxdepth: 1
+
+   CentOS 7 安装文档 <setup_by_centos7.rst>
diff --git a/docs/setup_by_centos7.rst b/docs/setup_by_centos7.rst
new file mode 100644
index 0000000000000000000000000000000000000000..be752d36bc192182768de7ad557ab735062ffe1b
--- /dev/null
+++ b/docs/setup_by_centos7.rst
@@ -0,0 +1,345 @@
+CentOS 7 安装文档
+--------------------------
+
+说明
+~~~~~~~
+-  # 开头的行表示注释
+-  > 开头的行表示需要在 mysql 中执行
+-  $ 开头的行表示需要执行的命令
+
+本文档适用于有一定web运维经验的管理员或者工程师,文中不会对安装的软件做过多的解释,仅对需要执行的内容注部分注释,更详细的内容请参考一步一步安装。
+
+环境
+~~~~~~~
+
+-  系统: CentOS 7
+-  IP: 192.168.244.144
+-  目录: /opt
+-  数据库: mariadb
+-  代理: nginx
+
+开始安装
+~~~~~~~~~~~~
+
+::
+
+
+    # 关闭 selinux 与 防火墙 仅为了能正常安装,安装完成后需要配置并重新打开
+    $ setenforce 0  # 临时关闭 selinux
+    $ systemctl stop iptables.service
+    $ systemctl stop firewalld.service
+
+    # 修改字符集,否则可能报 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 sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
+
+    # 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke
+    $ yum -y install redis
+    $ systemctl enable redis
+    $ systemctl start redis
+
+    # 安装 MySQL,如果不使用 Mysql 可以跳过相关 Mysql 安装和配置,支持sqlite3, mysql, postgres等
+    $ yum -y install mariadb mariadb-devel mariadb-server # centos7下叫mariadb,用法与mysql一致
+    $ systemctl enable mariadb
+    $ systemctl start mariadb
+    # 创建数据库 Jumpserver 并授权
+    $ mysql -uroot
+    > create database jumpserver default charset 'utf8';
+    > grant all on jumpserver.* to 'jumpserver'@'127.0.0.1' identified by 'somepassword';
+    > flush privileges;
+
+    # 安装nginx,用作代理服务器整合jumpserver与各个组件
+    $ yum -y install redis
+    $ 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虚拟环境
+    $ cd /opt
+    $ python3 -m venv py3  # py3 为虚拟环境名称,可自定义
+    $ source /opt/py3/bin/activate  # 退出虚拟环境可以使用 deactivate 命令
+
+    # 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,载入环境后默认以下所有命令均在该虚拟环境中运行
+    (py3) [root@localhost py3]
+
+    # 下载jumpserver与coco
+    $ cd /opt/
+    $ git clone https://github.com/jumpserver/jumpserver.git && cd jumpserver && git checkout master
+    $ git clone https://github.com/jumpserver/coco.git && cd coco && git checkout master
+
+    # 安装依赖 RPM 包
+    $ yum -y install $(cat /opt/jumpserver/requirements/rpm_requirements.txt)
+    $ yum -y install $(cat /opt/coco/requirements/rpm_requirements.txt)
+
+    # 安装 Python 库依赖
+    $ pip install --upgrade pip
+    $ pip install -r /opt/jumpserver/requirements/requirements.txt
+    $ pip install -r /opt/coco/requirements/requirements.txt
+
+::
+
+
+    # 修改 Jumpserver 配置文件
+    $ cd /opt/jumpserver
+    $ cp config_example.py config.py
+    $ vi config.py
+
+    #注意: 配置文件是 Python 格式,不要用 TAB,而要用空格,请手动修改,注意对其,不要直接复制本文内容
+
+    ...
+    class Config:
+        # Use it to encrypt or decrypt data
+        # SECURITY WARNING: keep the secret key used in production secret!
+        SECRET_KEY = os.environ.get('SECRET_KEY') or '2vym+ky!997d5kkcc64mnz06y1mmui3lut#(^wd=%s_qj$1%x'
+
+        # Django security setting, if your disable debug model, you should setting that
+        ALLOWED_HOSTS = ['*']
+
+        # Development env open this, when error occur display the full process track, Production disable it
+        # DEBUG 模式 True为开启 False为关闭,默认开启
+        DEBUG = True
+
+        # DEBUG, INFO, WARNING, ERROR, CRITICAL can set. See https://docs.djangoproject.com/en/1.10/topics/logging/
+        # 日志级别,默认为DEBUG,可调整为INFO, WARNING, ERROR, CRITICAL
+        LOG_LEVEL = 'DEBUG'
+        LOG_DIR = os.path.join(BASE_DIR, 'logs')
+
+        # Database setting, Support sqlite3, mysql, postgres ....
+        # See https://docs.djangoproject.com/en/1.10/ref/settings/#databases
+        # 使用的数据库配置,支持sqlite3, mysql, postgres等,默认使用sqlite3
+
+        # SQLite setting:
+        # 默认使用SQLite,如果使用其他数据库请注释下面两行
+        # DB_ENGINE = 'sqlite3'
+        # DB_NAME = os.path.join(BASE_DIR, 'data', 'db.sqlite3')
+        # MySQL or postgres setting like:
+        # 如果需要使用mysql或postgres,请取消下面的注释并输入正确的信息,本例使用mysql做演示
+        DB_ENGINE = 'mysql'
+        DB_HOST = '127.0.0.1'
+        DB_PORT = 3306
+        DB_USER = 'root'
+        DB_PASSWORD = 'somepassword'
+        DB_NAME = 'jumpserver'
+
+        # 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表示仅允许自身访问。
+        # ./manage.py runserver 127.0.0.1:8080
+        HTTP_BIND_HOST = '0.0.0.0'
+        HTTP_LISTEN_PORT = 8080
+
+        # Use Redis as broker for celery and web socket
+        # Redis 相关设置
+        REDIS_HOST = '127.0.0.1'
+        REDIS_PORT = 6379
+        REDIS_PASSWORD = ''
+        BROKER_URL = 'redis://%(password)s%(host)s:%(port)s/3' % {
+            'password': REDIS_PASSWORD,
+            'host': REDIS_HOST,
+            'port': REDIS_PORT,
+        }
+    ...
+
+    config = DevelopmentConfig()
+
+::
+
+
+    # 修改 coco 配置文件
+    $ cd /opt/coco
+    $ cp conf_example.py conf.py
+    $ vi conf.py
+
+    #注意: 配置文件是 Python 格式,不要用 TAB,而要用空格,请手动修改,注意对其,不要直接复制本文内容
+
+    ...
+    class Config:
+    """
+    Coco config file, coco also load config from server update setting below
+    """
+        # 项目名称, 会用来向Jumpserver注册, 识别而已, 不能重复
+        # NAME = "localhost"
+
+        # Jumpserver项目的url, api请求注册会使用
+        # CORE_HOST = os.environ.get("CORE_HOST") or 'http://127.0.0.1:8080'
+
+        # 启动时绑定的ip, 默认 0.0.0.0
+        # BIND_HOST = '0.0.0.0'
+
+        # 监听的SSH端口号, 默认2222
+        # SSHD_PORT = 2222
+
+        # 监听的HTTP/WS端口号,默认5000
+        # HTTPD_PORT = 5000
+
+        # 项目使用的ACCESS KEY, 默认会注册,并保存到 ACCESS_KEY_STORE中,
+        # 如果有需求, 可以写到配置文件中, 格式 access_key_id:access_key_secret
+        # ACCESS_KEY = None
+
+        # ACCESS KEY 保存的地址, 默认注册后会保存到该文件中
+        # ACCESS_KEY_STORE = os.path.join(BASE_DIR, 'keys', '.access_key')
+
+        # 加密密钥
+        # SECRET_KEY = None
+
+        # 设置日志级别 ['DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL', 'CRITICAL']
+        # LOG_LEVEL = 'INFO'
+
+        # 日志存放的目录
+        # LOG_DIR = os.path.join(BASE_DIR, 'logs')
+
+        # Session录像存放目录
+        # SESSION_DIR = os.path.join(BASE_DIR, 'sessions')
+
+        # 资产显示排序方式, ['ip', 'hostname']
+        # ASSET_LIST_SORT_BY = 'ip'
+
+        # 登录是否支持密码认证
+        # PASSWORD_AUTH = True
+
+        # 登录是否支持秘钥认证
+        # PUBLIC_KEY_AUTH = True
+
+        # 和Jumpserver 保持心跳时间间隔
+        # HEARTBEAT_INTERVAL = 5
+
+        # Admin的名字,出问题会提示给用户
+        # ADMINS = ''
+        COMMAND_STORAGE = {
+            "TYPE": "server"
+        }
+        REPLAY_STORAGE = {
+            "TYPE": "server"
+            }
+
+
+        config = Config()
+
+::
+
+
+    # 安装 Web Terminal 前端: Luna  需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
+    $ cd /opt
+    $ wget https://github.com/jumpserver/luna/releases/download/v1.0.0/luna.tar.gz
+    $ tar xvf luna.tar.gz
+
+    # 安装 Windows 支持组件(如果不需要管理 windows 资产,可以直接跳过这一步)
+    $ yum remove docker-latest-logrotate  docker-logrotate  docker-selinux dockdocker-engine
+    $ yum install -y yum-utils   device-mapper-persistent-data   lvm2
+    $ yum-config-manager     --add-repo     https://download.docker.com/linux/centos/docker-ce.repo
+    $ yum makecache fast
+    $ yum install docker-ce
+    $ systemctl start docker
+    $ docker run --name jms_guacamole -d \
+      -p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
+      -e JUMPSERVER_KEY_DIR=/config/guacamole/key \
+      -e JUMPSERVER_SERVER=http://<填写jumpserver的地址> \
+      registry.jumpserver.org/public/guacamole:1.0.0
+
+::
+
+
+    # 配置 Nginx 整合各组件
+    $ vim /etc/nginx/conf.d/jumpserver.conf
+
+    server {
+        listen 80;
+
+        proxy_set_header X-Real-IP $remote_addr;
+        proxy_set_header Host $host;
+        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+
+        location /luna/ {
+            try_files $uri / /index.html;
+            alias /opt/luna/;
+        }
+
+        location /media/ {
+            add_header Content-Encoding gzip;
+            root /opt/jumpserver/data/;
+        }
+
+        location /static/ {
+            root /opt/jumpserver/data/;
+        }
+
+        location /socket.io/ {
+            proxy_pass       http://localhost:5000/socket.io/;  # 如果coco安装在别的服务器,请填写它的ip
+            proxy_buffering off;
+            proxy_http_version 1.1;
+            proxy_set_header Upgrade $http_upgrade;
+            proxy_set_header Connection "upgrade";
+        }
+
+        location /guacamole/ {
+            proxy_pass       http://localhost:8081/;  # 如果docker安装在别的服务器,请填写它的ip
+            proxy_buffering off;
+            proxy_http_version 1.1;
+            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+            proxy_set_header Upgrade $http_upgrade;
+            proxy_set_header Connection $http_connection;
+            access_log off;
+        }
+
+        location / {
+            proxy_pass http://localhost:8080;  # 如果jumpserver安装在别的服务器,请填写它的ip
+        }
+    }
+
+::
+
+
+    # 生成数据库表结构和初始化数据
+    $ cd /opt/jumpserver/utils
+    $ bash make_migrations.sh
+
+    # 运行 Jumpserver
+    $ cd /opt/jumpserver
+    $ ./jms start all  # 后台运行使用 -d 参数./jms start all -d
+    # 新版本更新了运行脚本,使用方式./jms start|stop|status|restart all  后台运行请添加 -d 参数
+
+    # 运行 coco
+    $ cd /opt/coco
+    $ cp conf_example.py conf.py
+    $ ./cocod start  # 后台运行使用 -d 参数./cocod start -d
+
+    # 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart  后台运行请添加 -d 参数
+
+    # 运行 Nginx
+    $ nginx -t   # 确保配置没有问题, 有问题请先解决
+    $ systemctl start nginx
+
+    # 访问 http://192.168.244.144 默认账号: admin 密码: admin  到会话管理-终端管理 接受 Coco Guacamole 等应用的注册
+    # 测试连接
+    $ ssh -p2222 admin@192.168.244.144
+    $ sftp -p2222 admin@192.168.244.144
+      密码: admin
+
+    # 如果是用在 Windows 下,Xshell Terminal 登录语法如下
+    $ ssh admin@192.168.244.144 2222
+    $ sftp admin@192.168.244.144 2222
+      密码: admin
+      如果能登陆代表部署成功
+
+    # sftp默认上传的位置在 /tmp 目录下
+
+    # 其他的ssh及sftp客户端这里就不多做说明,自行搜索使用
+
+    # 防火墙 与 selinux 设置说明
+    $ firewall-cmd --zone=public --add-port=8080/tcp --permanent  # jumpserver 端口
+    $ firewall-cmd --zone=public --add-port=80/tcp --permanent  # nginx 端口
+    $ firewall-cmd --zone=public --add-port=2222/tcp --permanent  # 用户SSH登录端口 coco
+    $ firewall-cmd --zone=public --add-port=5000/tcp --permanent  # 用户HTTP/WS登录端口 coco
+    $ firewall-cmd --zone=public --add-port=8081/tcp --permanent  # guacamole端口 docker
+      --permanent  永久生效,没有此参数重启后失效
+
+    # selinux 的白名单规则正在研究中,稍后如果确定开启selinux不影响服务的正常使用会把相关文档补上来
+
+后续的使用请参考 `快速入门 <admin_create_asset.html>`_
+如遇到问题可参考 `FAQ <faq.html>`_
diff --git a/docs/setup_by_ubuntu.rst b/docs/setup_by_ubuntu.rst
index 1546ff9f4fc451722b97fcd65a5fce1d28dbe11e..d064e32e86914ad2f7f0f1833b8cc701e0da0030 100644
--- a/docs/setup_by_ubuntu.rst
+++ b/docs/setup_by_ubuntu.rst
@@ -44,7 +44,7 @@
     # 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,以下所有命令均在该虚拟环境中运行
     (py3) [root@localhost py3]
 
-二. 安装 Jumpserver 1.0.0
+二. 安装 Jumpserver
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 **2.1 下载或 Clone 项目**
diff --git a/docs/step_by_step.rst b/docs/step_by_step.rst
index 1bd2d656878ee4e59c3111f232beb9b06ccb5629..1fcc55ec4f2723fe19994217497a961b4d55b558 100644
--- a/docs/step_by_step.rst
+++ b/docs/step_by_step.rst
@@ -63,7 +63,7 @@ Yum 加速设置请参考 <http://mirrors.163.com/.help/centos.html>
     # 看到下面的提示符代表成功,以后运行 Jumpserver 都要先运行以上 source 命令,以下所有命令均在该虚拟环境中运行
     (py3) [root@localhost py3]
 
-二. 安装 Jumpserver 1.0.0
+二. 安装 Jumpserver
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 **2.1 下载或 Clone 项目**
diff --git a/docs/upgrade.rst b/docs/upgrade.rst
index 3b2347b724ea1da61be28a6cda763051bea03095..6b4a28607488195fa0b4a0c7f7e9de3a8ece9c96 100644
--- a/docs/upgrade.rst
+++ b/docs/upgrade.rst
@@ -6,7 +6,7 @@
 ::
 
     $ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
-    
+
     # 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
     $ sh 2018_04_11_migrate_permissions.sh
  
@@ -14,7 +14,11 @@
 
 ::
 
-    $ git pull && cd requirements && pip install -r requirements.txt -i https://pypi.org/simple
+
+    $ git pull && pip install -r requirements/requirements.txt
+
+    # 如果使用其他源下载失败可以使用 -i 参数指定源
+    $ git pull && pip install -r requirements/requirements.txt -i https://pypi.org/simple
 
 3. 升级 Luna
 
@@ -22,7 +26,7 @@
 
 4. 升级 guacamole
 
-:: 
+::
 
     $ docker pull registry.jumpserver.org/public/guacamole:latest
     $ docker stop jms_guacamole  # 或者写guacamole的容器ID
@@ -30,9 +34,12 @@
     $ docker run --name jms_guacamole -d \
       -p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
       -e JUMPSERVER_KEY_DIR=/config/guacamole/key \
-      -e JUMPSERVER_SERVER=http://<填写本机的IP地址>:8080 \
+      -e JUMPSERVER_SERVER=http://<填写Jumpserver服务器的IP地址>:8080 \
       registry.jumpserver.org/public/guacamole:latest
 
+    # 确定升级完成后,可以删除备份容器
+    $ docker rm jms_guacamole_bak
+
 
 切换分支或离线升级
 -------------------------------
@@ -40,66 +47,40 @@
 
 **Jumpserver**
 
-说明: 以下操作,都在jumpserver所在目录运行(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
+说明: 如果是新开的终端,别忘了 source /opt/py3/bin/activate
 
-1. 备份配置文件
+1. 备份jumpserver
 
 ::
 
     $ jumpserver_backup=/tmp/jumpserver_backup
     $ mkdir -p $jumpserver_backup
-    $ cp config.py $jumpserver_backup
+    $ cd /opt/jumpservrer
+    $ cp -r ./ $jumpserver_backup
 
-2. 备份migrations migrations中存的是数据库表结构的变更,切换分支会丢失
-
-::
-
-   $ for app in common users assets ops perms terminal;do
-      mkdir -p $jumpserver_backup/${app}_migrations
-      cp apps/${app}/migrations/*.py $jumpserver_backup/${app}_migrations
-   done
-
-
-3. 备份数据库,已被不时之需
+2. 备份数据库,已被不时之需
 
 ::
 
   $ mysqldump -u你的数据库账号 -h数据库地址 -p 数据库名称 > $jumpserver_backup/db_backup.sql
 
-4. 备份录像文件
+3. 切换分支或下载离线包, 更新代码
 
 ::
 
-   $ cp -r data/media $jumpserver_backup/
+   $ cd /opt
+   $ mv jumpserver jumpserver_bak
+   $ git clone https://github.com/jumpserver/jumpserver.git
+   $ cd jumpserver && git checkout master  # or other branch
+   $ git pull
 
-5. 切换分支或下载离线包, 更新代码
-
-::
-
-   $ git checkout master  # or other branch
-
-
-6. 还原配置文件
-
-::
-
-   $ cp $jumpserver_backup/config.py .
-
-7. 还原数据库表结构记录
-
-::
-
-   $ for app in common users assets ops perms terminal;do
-      cp $jumpserver_backup/${app}_migrations/*.py apps/${app}/migrations/
-   done
-
-8. 还原录像文件
+4. 还原录像文件
 
 ::
 
    $ cp -r $jumpserver_backup/media/* data/media/
 
-9. 更新依赖或表结构
+5. 更新依赖或表结构
 
 ::
 
@@ -143,5 +124,3 @@ coco是无状态的,备份 keys 目录即可
 **Guacamole**
 
 直接参考上面的升级即可, 需要注意的是如果更换机器,请备份
-
-
diff --git a/docs/upgrade.rst.orig b/docs/upgrade.rst.orig
new file mode 100644
index 0000000000000000000000000000000000000000..18b88bccdffedd2d4dadae9bb2e46a67bc4e5b46
--- /dev/null
+++ b/docs/upgrade.rst.orig
@@ -0,0 +1,126 @@
+更新升级
+-------------
+
+1. 升级 Jumpserver(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
+
+::
+
+    $ git pull && pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
+
+    # 1.0.x 升级 1.2.0 需要执行迁移脚本(新版本授权管理更新)
+    $ sh 2018_04_11_migrate_permissions.sh
+ 
+2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
+
+::
+
+<<<<<<< HEAD
+    $ git pull && pip install -r requirements/requirements.txt   # 不要指定 -i参数
+=======
+    $ git pull && cd requirements && pip install -r requirements.txt -i https://pypi.org/simple
+>>>>>>> upstream/docs
+
+3. 升级 Luna
+
+重新下载 release 包(https://github.com/jumpserver/luna/releases)
+
+4. 升级 guacamole
+
+::
+
+    $ docker pull registry.jumpserver.org/public/guacamole:latest
+    $ docker stop jms_guacamole  # 或者写guacamole的容器ID
+    $ docker rename jms_guacamole jms_guacamole_bak  # 如果名称不正确请手动修改
+    $ docker run --name jms_guacamole -d \
+      -p 8081:8080 -v /opt/guacamole/key:/config/guacamole/key \
+      -e JUMPSERVER_KEY_DIR=/config/guacamole/key \
+      -e JUMPSERVER_SERVER=http://<填写Jumpserver服务器的IP地址>:8080 \
+      registry.jumpserver.org/public/guacamole:latest
+
+    # 确定升级完成后,可以删除备份容器
+    $ docker rm jms_guacamole_bak
+
+
+切换分支或离线升级
+-------------------------------
+
+
+**Jumpserver**
+
+说明: 如果是新开的终端,别忘了 source /opt/py3/bin/activate
+
+1. 备份jumpserver
+
+::
+
+    $ jumpserver_backup=/tmp/jumpserver_backup
+    $ mkdir -p $jumpserver_backup
+    $ cd /opt/jumpservrer
+    $ cp -r ./ $jumpserver_backup
+
+2. 备份数据库,已被不时之需
+
+::
+
+  $ mysqldump -u你的数据库账号 -h数据库地址 -p 数据库名称 > $jumpserver_backup/db_backup.sql
+
+3. 切换分支或下载离线包, 更新代码
+
+::
+
+   $ cd /opt
+   $ mv jumpserver jumpserver_bak
+   $ git clone https://github.com/jumpserver/jumpserver.git
+   $ cd jumpserver && git checkout master  # or other branch
+   $ git pull
+
+4. 还原录像文件
+
+::
+
+   $ cp -r $jumpserver_backup/media/* data/media/
+
+5. 更新依赖或表结构
+
+::
+
+   $ pip install -r requirements/requirements.txt && cd utils && sh make_migrations.sh
+
+
+**Coco**
+
+说明: 以下操作都在 coco 项目所在目录
+
+coco是无状态的,备份 keys 目录即可
+
+1. 备份keys
+
+::
+
+   $ cp -r keys $jumpserver_backup/
+
+
+2. 离线更新升级coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
+
+3. 还原 keys目录
+
+::
+
+   $ mv keys keys_backup
+   $ cp -r  $jumpserver_backup/keys .
+
+4. 升级依赖
+
+::
+
+   $ git pull && cd requirements && pip install -r requirements.txt
+
+
+**Luna**
+
+直接下载最新Release包替换即可
+
+
+**Guacamole**
+
+直接参考上面的升级即可, 需要注意的是如果更换机器,请备份