Quickly install Jenkins with Ubuntu

Source: Internet
Author: User

First, install the operating system, preparation before installation.

1, operating system: Ubuntu 18.04 (We all know the characteristics of Ubuntu, online installation, a lot of convenience)

2, Apt source. Apt source on the official network of many kinds, each version of the source is different, if the other version of the system, should be found on the official website. 18.04 can be used with the following.


# default comment source image to improve apt update speed, if necessary, can be self-uncomment
Deb Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic main restricted universe multiverse
# deb-src Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic main restricted universe multiverse
Deb Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-updates main restricted universe multiverse
# deb-src Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-updates main restricted universe multiverse
Deb Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-backports main restricted universe multiverse
# deb-src Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-backports main restricted universe multiverse
Deb Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-security main restricted universe multiverse

# Pre-release software source, not recommended to enable
# deb Https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse

3, install the JDK. (Install JDK 10 error, I do not know the reason, also do not study here)

Apt-get Install OPENJDK-8-JDK

4. Installation of Jenkins service. (Direct Java Listener port access, no Java container required)

Wget-q-o-https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add-\
&&sh-c ' echo deb http://pkg.jenkins.io/debian-stable binary/>/etc/apt/sources.list.d/jenkins.list ' \
&&apt-get update \
&&apt-get Install Jenkins

These are official orders, there is nothing to parse, are some simple operation.

5, access to services.

Port 8080, follow the prompts to find the password. 10 minutes.

Quickly install Jenkins with Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.