![]() Libavahi -common -data libavahi -common3 libcups2 libdrm -amdgpu1 libdrm -intel1 libdrm -nouveau2 libdrm -radeon1 libfontconfig1 libfontenc1 libgif7 libgl1 libgl1 -mesa -dri libglapi -mesa libglvnd0 libglx -mesa0 libglx0 libgraphite2 - 3 0 - 0 libatk -wrapper -java libatk -wrapper -java -jni libatk1. The following additional packages will be installed :Īt -spi2 -core ca -certificates -java fontconfig -config fonts -dejavu -core fonts -dejavu -extra java -common libatk -bridge2. Run 'apt list -upgradable' to see them : ~# sudo apt install openjdk - 11 - jre com /ubuntu focal -security /multiverse amd64 c -n -f Metadata įetched 8, 527 kB in 2 s ( 3, 810 kB /s )ġ50 packages can be upgraded. com /ubuntu focal -security /multiverse Translation -en com /ubuntu focal -security /multiverse amd64 Packages com /ubuntu focal -security /universe amd64 c -n -f Metadata com /ubuntu focal -security /universe Translation -en com /ubuntu focal -security /universe amd64 Packages com /ubuntu focal -security /restricted amd64 c -n -f Metadata com /ubuntu focal -security /restricted Translation -en com /ubuntu focal -security /restricted amd64 Packages com /ubuntu focal -security /main amd64 c -n -f Metadata com /ubuntu focal -security /main Translation -en com /ubuntu focal -security /main amd64 Packages com /ubuntu focal -backports /universe amd64 c -n -f Metadata com /ubuntu focal -backports /universe Translation -en com /ubuntu focal -backports /universe amd64 Packages com /ubuntu focal -backports /main amd64 c -n -f Metadata com /ubuntu focal -backports /main Translation -en com /ubuntu focal -backports /main amd64 Packages com /ubuntu focal -updates /multiverse amd64 c -n -f Metadata com /ubuntu focal -updates /multiverse Translation -en com /ubuntu focal -updates /multiverse amd64 Packages com /ubuntu focal -updates /universe amd64 c -n -f Metadata com /ubuntu focal -updates /universe Translation -en com /ubuntu focal -updates /universe amd64 Packages com /ubuntu focal -updates /restricted amd64 c -n -f Metadata com /ubuntu focal -updates /restricted Translation -en com /ubuntu focal -updates /restricted amd64 Packages com /ubuntu focal -updates /main amd64 c -n -f Metadata com /ubuntu focal -updates /main Translation -en com /ubuntu focal -updates /main amd64 Packages ![]() KEYSTORE=/var/lib/jenkins/.keystore/jkeystore.Hit : 1 http : / / in. To edit the Jenkins configuration file nano /etc/default/jenkins crt file: sudo keytool -export -keystore jkeystore.jks -alias jenkins -file įinally, import this into your cacerts store: sudo keytool -importcert -file -alias jenkins -keystore -cacerts Edit the Jenkins configuration file To do that: sudo keytool -importkeystore -destkeystore jkeystore.jks -deststoretype PKCS12 -srcstoretype PKCS12 -srckeystore jkeystore.p12 To do that, use the command: sudo openssl pkcs12 -export -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in jenkins_cert.pem -inkey jenkins_key.pem -name jenkins -out jkeystore.p12 Next, we need to convert the SSL keys to a. openssl req -x509 -newkey rsa:4096 -keyout jenkins.key -out jenkins.pem -days 3650 This is the directory that I worked from in creating the necessary files. Under my Jenkins home directory /var/lib/jenkins, I created a. Create the self-signed certificate this way: To install open JDK 11, use the following command:Ĭonfigure the instance configuration including the base URL Configure SSL for Jenkinsįor the purposes of this walkthrough, I created a self-signed certificate in Ubuntu. To install JAVA for Jenkins, I am installing open JDK version 11. Jenkins relies on JAVA as the server runs as a JAVA application. Let’s first take a look at installing JAVA. To level-set on installing Jenkins, I have configured an Ubuntu 21.04 server with all the patches and this is the platform, I am using to run through the steps to install Jenkins. However, in this post we will cover the steps below: Without SSL, there are really only a couple of steps. When installing Jenkins on Ubuntu, there are only a few steps required to get up and running with Jenkins. Install Jenkins on Ubuntu 21.04 with Self-signed SSL certificate In this getting started post, let’s look at how to Install Jenkins on Ubuntu 21.04 with Self-signed SSL certificate. Jenkins is a self-proclaimed “leading open source automation server” that has been around a while and provides great features and functionality to DevOps engineers. However, a platform that is well known in the circles of DevOps is Jenkins. Many familiar names include Git, GitLab, BitBucket, and others. There are many great platforms out there that provide automation server capabilities, including making use of CI/CD pipelines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |