Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
c4636d93
Unverified
Commit
c4636d93
authored
Mar 12, 2019
by
wojiushixiaobai
Committed by
GitHub
Mar 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2491 from wojiushixiaobai/docs
[Fix]修复
parents
b5815d7e
47137aea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
setup_by_fast.rst
docs/setup_by_fast.rst
+1
-1
start_automatically.rst
docs/start_automatically.rst
+3
-3
No files found.
docs/setup_by_fast.rst
View file @
c4636d93
...
@@ -153,5 +153,5 @@
...
@@ -153,5 +153,5 @@
&& echo -e "\033[31m 你的数据库密码是 $DB_PASSWORD \033[0m" \
&& echo -e "\033[31m 你的数据库密码是 $DB_PASSWORD \033[0m" \
&& echo -e "\033[31m 你的SECRET_KEY是 $SECRET_KEY \033[0m" \
&& echo -e "\033[31m 你的SECRET_KEY是 $SECRET_KEY \033[0m" \
&& echo -e "\033[31m 你的BOOTSTRAP_TOKEN是 $BOOTSTRAP_TOKEN \033[0m" \
&& echo -e "\033[31m 你的BOOTSTRAP_TOKEN是 $BOOTSTRAP_TOKEN \033[0m" \
&& echo -e "\033[31m 你的服务器IP是 $Server_IP \033[0m"
&& echo -e "\033[31m 你的服务器IP是 $Server_IP \033[0m"
\
&& echo -e "\033[31m 请打开浏览器访问 http://$Server_IP 用户名:admin 密码:admin \033[0m"
&& echo -e "\033[31m 请打开浏览器访问 http://$Server_IP 用户名:admin 密码:admin \033[0m"
docs/start_automatically.rst
View file @
c4636d93
...
@@ -178,7 +178,7 @@ Systemd 管理启动 Jumpserver
...
@@ -178,7 +178,7 @@ Systemd 管理启动 Jumpserver
# Guacamole
# Guacamole
$ chkconfig guacd on
$ chkconfig guacd on
$ sed -i '143i CATALINA_PID="
$CATALINA_BASE
/tomcat.pid"' /config/tomcat8/bin/catalina.sh
$ sed -i '143i CATALINA_PID="
/config/tomcat8
/tomcat.pid"' /config/tomcat8/bin/catalina.sh
$ vi /usr/lib/systemd/system/guacamole.service
$ vi /usr/lib/systemd/system/guacamole.service
[Unit]
[Unit]
Description=guacamole
Description=guacamole
...
@@ -191,8 +191,8 @@ Systemd 管理启动 Jumpserver
...
@@ -191,8 +191,8 @@ Systemd 管理启动 Jumpserver
# BOOTSTRAP_TOKEN 根据实际情况修改
# BOOTSTRAP_TOKEN 根据实际情况修改
Environment="JUMPSERVER_SERVER=http://127.0.0.1:8080" "JUMPSERVER_KEY_DIR=/config/guacamole/keys" "GUACAMOLE_HOME=/config/guacamole" "BOOTSTRAP_TOKEN=******"
Environment="JUMPSERVER_SERVER=http://127.0.0.1:8080" "JUMPSERVER_KEY_DIR=/config/guacamole/keys" "GUACAMOLE_HOME=/config/guacamole" "BOOTSTRAP_TOKEN=******"
ExecStart=/config/tomcat8/bin/startup.sh
ExecStart=/config/tomcat8/bin/startup.sh
ExecReload=
ExecReload=
/bin/kill -s HUP $MAINPID
ExecStop=/
config/tomcat8/bin/shutdown.sh
ExecStop=/
bin/kill -s QUIT $MAINPID
[Install]
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment