After completing this internship at Linux world informatics under the guidance of My Mentor Mr. Vimal Dga Sir, I am feeling very glad before starting the internship I did not know anything about Jenkins where it is used, why is it so important in today's industry. I thought it might be a basic internship about Jenkins but after 3 -4 lectures I realized that it's more than what I expected . Sir taught us not only to create jobs and nodes in Jenkins but also its integration with git Kubernetes, pipeline structure, and Managing users and Security..

I thank Vimal Daga sir and LinuxWorld Informatics Pvt. Ltd. for everything I learned…


Task Description:

Job1 :- If a Developer pushes their code to dev1 branch then Jenkins will fetch from dev1 and deploy on dev1_docker environment.

Job2 :- If Developer push to master branch then Jenkins will fetch from master and deploy on master_docker environment.

Job3 :- Jenkins will check (test) for the website running in the dev1_docker environment. If it is running fine then Jenkins will merge the dev1 branch to master branch and trigger JOB#2.

Automation

Let’s get started …

The prerequisite for this task is to install Docker and Jenkins on your Pc for Docker installation you can refer article…


Task Description :

1. Create container image that has Jenkins installed using Dockerfile.

2. When we launch this image, Jenkins service automatically starts in the container.

3. Create a job chain of Job 1, Job 2, Job 3 and Job 4 using build pipeline plugin in Jenkins.

4. Job1 : Pull the Github repository automatically when developers push the Code to Github.

5. Job2 : By looking at the code or program file, Jenkins should automatically start the respective language interpreter installed image container to deploy code ( eg. …


For installing docker you first need to setup Yum repo. Lets get started..

We will use following commands —

  1. su - root // switch to “root” user
  2. [root@dhcppc3 ~]# cd /etc/yum.repos.d/
    [root@dhcppc3 yum.repos.d]# touch docker.repo

3. Add the Following lines in the file docker.repo

[docker]
name = docker
baseurl = https://download.docker.com/linux/centos/7/x86_64/stable/
gpgcheck=0

4. [root@dhcppc3 yum.repos.d]# yum repolist


Introduction to flutter…..

Flutter is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.

Lets start creating app using simple steps…

Step 1: Create flutter app using these commands

flutter create myapp_linux
cd myapp_linux

step 2: On your linux machine make sure the httpd software is install and its running..

you can run following command to do so..

yum install httpd

systemctl start httpd

systemctl enable httpd

step 3: Create a file name app.py inside folder /var/www/cgi-bin/ and add the following code..

make it executable using chmod +x app.py

and disable firewall

systemctl stop firewalld

setenforce 0

step 5 :

Add the following code in myapp_linux


Crimes are the most common social issues nowadays, affecting the economic growth, quality of life, and economy of any country. Crimes affect the reputation of a country on an international scale and affect the economy of the country by placing a financial burden on the government in hiring additional police forces. It is important to control, understand the measures for decreasing the crime rate.

The article today will discuss a very popular algorithm for unsupervised learning, which is K-means clustering.

K-means algorithm is used the seperate date into different groups or classes.

K-means clustering is one of the method of…


Scripts that are run on the client side — directly in the browser — are key for implementing these types of solutions. The first to mention here is JavaScript, a script language that is supported by all popular browsers. But even though it’s a basic part of all modern web projects, JavaScript isn’t always seen in a positive light and is sometimes blocked by individual applications or, more and more often, even by the user.

How to turn on the script language in your browser?

JavaScript is a scripting or programming language that allows you to implement complex features on web pages — every time a web page does more…


At the end of the day, the goals are simple: safety and security.

This article disscus about the role of confusion matrics in cyber-crime, before going in deep, let us understand What exactly confusion matrics is and the Cyber-Crime ?

CyberCrime — Unauthorized, Unlawful and Undefinable.

S omeone or group of people is using the technology in a bad way to get access to people’s bank account, social media profile and e-mail account to steal, post without permission or gather information about something secret. This kind of act is call cybercrime.

Cybercrime can simply be defined as any illegal action…

Parinati Rajput

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store