Help us understand the problem. What is going on with this article?

OracleLinuxにJenkinsをインストールする

More than 1 year has passed since last update.

OpenJDKをインストールする

# yum install java-1.8.0-openjdk

Javaのバージョン確認

# java -version

公開鍵をインポートする

# sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
# sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key

yumでインストール

# yum install jenkins

jenkinsを起動する

# service jenkins start

ポートの変更

# vi /etc/sysconfig/jenkins
-----
JENKINS_PORT="8082"
-----

jenkins の状態を確認

# service jenkins status
● jenkins.service - LSB: Jenkins Automation Server
Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled)
Active: active (exited) since Mon 2017-08-21 06:12:52 JST; 6s ago
Docs: man:systemd-sysv-generator(8)
Process: 13748 ExecStart=/etc/rc.d/init.d/jenkins start (code=exited, 
status=0/SUCCESS)
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away