우분투 16.04를 사용하고 있습니다. 내 자바가 여기 있어요
which java
/usr/bin/java
Next
cat /etc/init.d/jenkins
#!/bin/bash
# /etc/init.d/jenkins
# debian-compatible jenkins startup script.
# Amelia A Lewis <[email protected]>
#
### BEGIN INIT INFO
# Provides: jenkins
# Required-Start: $remote_fs $syslog $network
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Jenkins at boot time
# Description: Controls Jenkins Automation Server
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DESC="Jenkins Automation Server"
NAME=jenkins
SCRIPTNAME=/etc/init.d/$NAME
Jenkins를 시작하는 방법이 혼란스럽습니다. 명령줄에서
jenkins
jenkins: command not found
젠킨스 현재 상황
sudo service jenkins status
● jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)
Active: active (exited) since Thu 2017-06-01 12:41:37 CEST; 29min ago
Docs: man:systemd-sysv-generator(8)
Jun 01 12:41:36 milenko-System-Product-Name systemd[1]: Starting LSB: Start Jenkins at boot time...
Jun 01 12:41:36 milenko-System-Product-Name jenkins[6944]: * Starting Jenkins Automation Server jenkins
Jun 01 12:41:36 milenko-System-Product-Name su[6962]: Successful su for jenkins by root
Jun 01 12:41:36 milenko-System-Product-Name su[6962]: + ??? root:jenkins
Jun 01 12:41:36 milenko-System-Product-Name su[6962]: pam_unix(su:session): session opened for user jenkins by (uid=0)
Jun 01 12:41:37 milenko-System-Product-Name jenkins[6944]: ...done.
Jun 01 12:41:37 milenko-System-Product-Name systemd[1]: Started LSB: Start Jenkins at boot time.
Jun 01 13:10:00 milenko-System-Product-Name systemd[1]: Started LSB: Start Jenkins at boot time.
왜?
답변1
Jenkins는 웹 애플리케이션입니다(표시된 출력으로 판단하면 이미 컴퓨터에서 실행되고 있음).
URL을 통해 접속하실 수 있습니다http://localhost:8080기본 설정을 유지한다고 가정합니다.