Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Web Development

You're reading from   DevOps for Web Development Achieve the Continuous Integration and Continuous Delivery of your web applications with ease

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465702
Length 408 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started – DevOps Concepts, Tools, and Technologies 2. Continuous Integration with Jenkins 2 FREE CHAPTER 3. Building the Code and Configuring the Build Pipeline 4. Installing and Configuring Chef 5. Installing and Configuring Docker 6. Cloud Provisioning and Configuration Management with Chef 7. Deploying Application in AWS, Azure, and Docker 8. Monitoring Infrastructure and Applications 9. Orchestrating Application Deployment

Installing Jenkins

Jenkins provides us with multiple ways to install it for all types of users. We can install it on at least the following operating systems:

  • Ubuntu/Debian
  • Windows
  • Mac OS X
  • OpenBSD
  • FreeBSD
  • openSUSE
  • Gentoo
  • CentOS/Fedora/Red Hat

One of the easiest options I recommend is to use a WAR file. A WAR file can be used with or without a container or web application server. Having Java is a must before we try to use a WAR file for Jenkins, which can be done as follows:

  1. Download the jenkins.war file from https://jenkins.io/ .
  2. Open command prompt in Windows or a terminal in Linux, go to the directory where the jenkins.war file is stored, and execute the following command:

    java - jar jenkins.war
    

  3. Once Jenkins is fully up and running, as shown in the following screenshot, explore it in the web browser by visiting http://localhost:8080.:

    Installing Jenkins

  4. By default, Jenkins works on port 8080. Execute the following command from the command-line:

    java -jar jenkins.war --httpPort=9999
    

  5. For HTTPS, use the following...
You have been reading a chapter from
DevOps for Web Development
Published in: Oct 2016
Publisher: Packt
ISBN-13: 9781786465702
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image