一、下载
[pxj@pxj31 /home/pxj/test]$wget http://download.rundeck.org/jar/rundeck-launcher-2.10.1.jar
--2019-12-08 13:09:09-- http://download.rundeck.org/jar/rundeck-launcher-2.10.1.jar
正在解析主机 download.rundeck.org (download.rundeck.org)... 54.192.151.106, 54.192.151.47, 54.192.151.35, ...
正在连接 download.rundeck.org (download.rundeck.org)|54.192.151.106|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:https://download.rundeck.org/jar/rundeck-launcher-2.10.1.jar [跟随至新的 URL]
--2019-12-08 13:09:10-- https://download.rundeck.org/jar/rundeck-launcher-2.10.1.jar
正在连接 download.rundeck.org (download.rundeck.org)|54.192.151.106|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:100234913 (96M) [application/java-archive]
正在保存至: “rundeck-launcher-2.10.1.jar”
100%[===================================================================================================================>] 100,234,913 2.43MB/s 用时 60s
2019-12-08 13:10:11 (1.59 MB/s) - 已保存 “rundeck-launcher-2.10.1.jar” [100234913/100234913])
[pxj@pxj31 /home/pxj/test]$ll
总用量 97888
-rw-rw-r--. 1 pxj pxj 100234913 6月 15 10:22 rundeck-launcher-2.10.1.jar
二、启动
[pxj@pxj31 /opt/module]$nohup java -jar rundeck-launcher-2.10.1.jar &
[1] 3159
[pxj@pxj31 /opt/module]$nohup: 忽略输入并把输出追加到"nohup.out"
[pxj@pxj31 /opt/module]$tail -F nohup.out
2019-12-08 13:20:34,410 INFO BootStrap - Performing rundeck first-run initialization...
2019-12-08 13:20:34,468 INFO BootStrap - Rundeck initialization complete.
2019-12-08 13:20:34,475 INFO BootStrap - loaded configuration: /opt/module/etc/framework.properties
2019-12-08 13:20:34,528 INFO BootStrap - RSS feeds disabled
2019-12-08 13:20:34,528 INFO BootStrap - Preauthentication is disabled
2019-12-08 13:20:34,556 INFO BootStrap - Rundeck is ACTIVE: executions can be run.
2019-12-08 13:20:34,753 INFO BootStrap - Rundeck startup finished in 403ms
2019-12-08 13:20:34.951:INFO:/:main: Initializing Spring FrameworkServlet 'grails'
2019-12-08 13:20:34.993:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@59ac77f9{/,file:/opt/module/server/exp/webapp/,AVAILABLE}{/opt/module/server/exp/webapp}
2019-12-08 13:20:34.005:INFO:oejs.ServerConnector:main: Started ServerConnector@63c8a30e{HTTP/1.1}{0.0.0.0:4440}
[pxj@pxj31 /opt/module]$ll
总用量 97896
drwxrwxr-x. 2 pxj pxj 201 12月 8 13:20 etc
drwxrwxr-x. 3 pxj pxj 4096 12月 8 13:20 libext
-rw-------. 1 pxj pxj 1774 12月 8 13:27 nohup.out
drwxrwxr-x. 3 pxj pxj 27 12月 8 13:29 projects
-rw-rw-r--. 1 pxj pxj 100234913 6月 15 10:22 rundeck-launcher-2.10.1.jar
drwxrwxr-x. 9 pxj pxj 90 12月 8 13:20 server
drwxrwxr-x. 4 pxj pxj 28 12月 8 13:20 tools
drwxrwxr-x. 4 pxj pxj 56 12月 8 13:21 var
用户名:admin
密码:admin
创建工程
[pxj@pxj31 /opt/module]
v
i
m
d
a
t
e
.
s
h
[
p
x
j
@
p
x
j
31
/
o
p
t
/
m
o
d
u
l
e
]
vim date.sh [pxj@pxj31 /opt/module]
vimdate.sh[pxj@pxj31/opt/module]chmod +x date.sh
[pxj@pxj31 /opt/module]$./date.sh
2019年 12月 08日 星期日 13:35:21 CST
创建job