Wednesday, June 16, 2021

Jenkins Learning Task 07 - Install packages on remote server using Jenkins

 Install packages on remote server using Jenkins

1. Create a Jenkins job named httpd-php and configure it to accomplish below given tasks.

    a. Install httpd  and php-fpm and along with their dependencies on mnode01 App server.

    b. HTTPD should serve on port 8081 on mnode01  app server.

===================================================

Note: * This is a learning task and you can try to do it in your own learning environment. I have done a sample solution using VirtualBox with Ubuntu OS.

Pre-Requisite

* This Task based on the LAB which I have setup with 2 servers, one for Jenkins and one for the App server.
* Should have ssh connection between 2 servers.
* No slave node has been added under Jenkins so you can simply accomplish the task using SSH within your job config.
* You might need to install some plugins and restart Jenkins service. 

Solution:

Step 1: Enable password-less sudo in APP server 
Step 2: Install SSH Plugin in Jenkins
Step 3: Add sudo users and their SSH credentials in Jenkins
Step 4: Add SSH Hosts in Jenkins
Step 5: Create the build job.
Step 6: Run the build job

Verification:
check default apache2 webpage loading on port 8081.

check below the sample solution video for the above task.


PLEASE SUPPORT ME BY
LIKE || SUBSCRIBE || COMMENTS  on MY YOUTUBE CHANNEL AND BLOG 

STAY TUNED FOR MORE VIDEOS.......

#Learn    #Practice    #Re-Learn    #Improve    #Motivate
#Continue-Learning    #Apply    #Get-Help    #Help-Others

Monday, June 14, 2021

Jenkins Learning Task 06 - Folders in Jenkins

 Folders in Jenkins

1. Create two jobs httpd and services.

2. Create a new folder under Jenkins UI which should be named WebService.

3. Move the above-mentioned two jobs under WebService folder.

* This is a learning task and you can try to do it in your own learning environment. I have done a sample solution for this task on Ubuntu OS.

Solution:

check below the sample solution video for the above task.



PLEASE SUPPORT ME BY
LIKE || SUBSCRIBE || COMMENTS  on MY YOUTUBE CHANNEL AND BLOG 

STAY TUNED FOR MORE VIDEOS.......

#Learn    #Practice    #Re-Learn    #Improve    #Motivate
#Continue-Learning    #Apply    #Get-Help    #Help-Others

Docker Learning Task 02 - How to create a basic docker network

 How to create a basic docker network 1. Create a docker network named  mynetwork . 2. Configure it to use bridge drivers. 3. Set it to use ...