Installing and configuring Jenkins on Arch-based Linux Distributions (Manjaro)
Last Updated :
11 Jul, 2022
Jenkins is an open-source, cross-platform automation server that is used to build, test and deploy software. It simplifies and accelerates Continuous Integration/Continuous Delivery (CI/CD) environments by creating jobs, scripts, and pipelines. The application is primarily written in Java and requires a specific version of the Java Runtime Environment (JRE). Jenkins can be used to build and deploy software written in almost any modern programming language and framework. Furthermore, it integrates easily with third-party applications such as GitHub, Puppet, Docker, etc.
Installation of Jenkins
Step 1: Update and upgrade your system by executing the following command
$ sudo pacman -Syu
Step 2: Ensure that you have the exact version of Java Runtime Environment (JRE) required by Jenkins before proceeding any further.
$ sudo pacman -S jdk8-openjdk
Step 3: Once the installation is finished changed the default version JRE on your machine.
$ sudo archlinux-java set java-8-openjdk/jre
Step 4: Install Jenkins from the official repository using pacman command
$ sudo pacman -S jenkins
Step 5: Now, start Jenkins by using systemctl command.
$ sudo systemctl start jenkins
$ sudo systemctl status jenkins
Step 6: Once again use systemctl command to enable Jenkins. Now, Jenkins will restart whenever your machine boots up.
$ sudo systemctl enable jenkins
Step 7: Start configuring Jenkins by navigating to http://localhost:8090 or https://your-server-ip-address:8090. Unlock the admin privileges by entering the default password created during the installation.
$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Step 8: Create a new account by entering a username, password, and email address.
Step 9: Select Install suggested plugins and wait till all the plugins are successfully downloaded and installed on your machine.
Step 10: At this point, you have successfully installed and configured Jenkins on your Linux machine.
Uninstallation of Jenkins
To uninstall Jenkins and all of its config files run
$ sudo pacman -Rcns jenkins
Similar Reads
How to install and configure Docker on Arch-based Linux Distributions(Manjaro) ? In this article, we are going to see how to install and configure Docker on Arch-based Linux Distributions. Docker is an open-source containerization platform used for building, running, and managing applications in an isolated environment. A container is isolated from another and bundles its softwa
2 min read
How to Install CLion IDE on Arch-based Linux Distributions (Manjaro) CLion (pronounced âSea Lionâ) is a cross-platform integrated development environment (IDE) developed by Jetbrains and is available as a free community edition for students and a commercial edition. It is used for developing C++ programs and is one of the most popular C++ IDE on the market. A number
2 min read
How to install Intellij Idea on Arch-based Linux Distributions(Manjaro) ? IntelliJ is a cross-platform integrated development environment(IDE) developed by Jetbrains and is available as an Apache 2 Licensed community edition and a commercial edition. It is primarily used for developing computer software written in Java, Kotlin, Groovy, and other JAR-based languages. It is
2 min read
How to install LibreOffice on Arch-based Linux Distributions(Manjaro) ? In this article, we will see how to install and configure LibreOffice on Arch-based Linux Distributions. LibreOffice is a free open-source office suite that allows users to create and edit documents, spreadsheets, presentations, and databases. It is available in more than 100 languages and is mainta
1 min read
How to install Postman on Arch-based Linux Distributions(Manjaro)? Postman is an HTTP client used to build, test, and modify APIs. It provides a graphical user interface through which developers can generate various types of HTTP requests like GET, POST, PUT, PATCH, and DELETE. It is used by more than 20 million developers across the globe to develop RESTful APIs.
1 min read
How to Install RubyMine on Manjaro (Arch-based Linux Distributions) ? The RubyMine integrated development environment (IDE) is used to develop applications in the Ruby programming language. It is developed by Jetbrains and is available as a free community edition for students and a commercial edition. The RubyMine coding environment supports highlighting, linting, cod
2 min read