Home Top Ad

Responsive Ads Here

Boxed(True/False)

Theme images by Storman. Powered by Blogger.

Featured Post

How to Disable Windows Update Permentaly ?

In the IT-industries there Windows is the very popular operating systems (OS) , and still windows has the maximum share holder in the ...

Search This Blog

Pages

Showing posts with label Devops. Show all posts
Showing posts with label Devops. Show all posts

Wednesday, September 26, 2018

What is Vagrant ?

- No comments

So, what is the Vagrant ?

Vagrant is the Virtualization and Automation tool or software , that is to be very unique as compared to the other virtualization service  and automation tool and it is very easy to learn this technology and there is the very big impact there to the other sources of Medium because it similar as a Docker and Ansible , Docker is the Virtulization tool and Ansible is the Automation Tool. and Vagrant is made up of Ruby Language that why it is still more powerful than other devops tool etc.

Why we use it?

1. It is very simple , easy to use.

2. sysntax is simple as compared to Docker and other automation Tool.

3. you can automate the task with simplly write the Bash shell command , that is Awsome .

4. It is a portable , it means that you can carry your vagrant box into your pendrive and cloud that make easier to use anywhere and anytime without worring the software dependencies and  packages

How to install the Vagrant ?

steps 1.  Go to the vagrant Website ,download the software and choose your OS then install vagrant. 






Step 2.  After that Download Virtual box from here ....and choose your OS.



Step 3. After downloading the virtual box install them. and follow the following commands !!!

Go to terminal and fire this commands ..

$ vagrant init 
this commands will initialize the Vagrant file into your location













Then open the vagrant file and and write this  sysntax...

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct:true   # Nginx HTTP
  config.vm.network :forwarded_port, guest: 443, host: 8443, auto_correct:true   # Nginx HTTPS




end
IN this syntax the "ubutu/trusty6" is the vagrant box name and 'Vagrant.configure ("2") is the version name ..... 

and if you want to automate the task in the vagrant box ,then you need to write some Bash shell script and attach to the vagrant file... like this .

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct:true   # Nginx HTTP
  config.vm.network :forwarded_port, guest: 443, host: 8443, auto_correct:true   # Nginx HTTPS
  config.vm.network :forwarded_port, guest: 5000, host: 5000  # Flask debug server

 config.vm.provision "shell" do |s|
  s.path ="provision.sh"

end
end
In this Syntax "config.vm.provision "shell" do |s|
s.path ="provision.sh"
it describes the shell script path...
and you can write the shell script like this...given below
#!/bin/bash

echo "hello "

#update and upgrade the machine ..

sudo apt-get  update
sudo apt-get upgrade

#and do whatever you want to install in vagrant box .....
Save this Bash script as a  'provision.sh' ....

Step: 4

Then go to terminal and Run the command ....
$ vagrant init 



Then , this command will run your entire Bash script and downlaod the ubuntu os into this vagrant virtual machine ......and you can operate them as a operating system.......after that  run  ' vagrant ssh ' command and this command will let you in the vagrant box....

$ vagrant ssh




And  Thats Done..!!! and if you want to know more vagrant commands Go to the vagrant documentation





































































Monday, September 24, 2018

What is Big Data ?

- No comments


Today , The World is dependent  on Internet and there are many Peoples using Internet just like 80% peoples are internet user and there are huge amounts of Data are generated through the internet like GB, PB, TB , etc and these huge amount of data are called the Big Data.

Big Data are classified into 3 types :-
1) Structured
2) Semi-structured
3) Unstructured

And it has 3V , it means Volume , Velocity , variety  , so let us see them what is  3V

1) Volume :- In this volume section , it describes that how much data are generated in the internet
2) Velocity :- In this Velocity section , it describes that what speed of data are generated in  internet
3)  Variety :- In this Variety section, it describes that what type of data are generated in the internet


So , by Tackling this large datasets We use Big -data framework like Hadoop , Splunk , Spark Cloudera etc , so Lets discuss about the Hadoop Frame work .and why we use it ?


1. Hadoop 



Hadoop is the one of the Best Data analytics tool , and it has a various components  Like  HDFS, Mapreduce , Hive , Pig, Ozzie , Sqoop etc . and those tools are more useful in big data and other stuf
so hadoop is the framework of big data and it is divided into two parts 1) HDFS  2) Mapreduce.

1) HDFS :-  HDFS called  (Hadoop Distributed File System) , it is a storage file system which we can store our big data in the HDFS section and process the task what we want to do.

2) Mapreduce:- It is the data processing system ,which we can extract the relavant data into the HDFS section and  show the output in the console  by writing the Mapper and Reducer code , and this Mapreduce code is written in Java , or Python etc.



what is devops

- No comments


So , The Devops is the one of the most Top trending  Technology in the world and it is still on booming in tech industry which is the finest and  moving to the agile world and it is the best technology over the world , well the devops is the aslo part of cloud computing and when  Devops/cloud computing  Merge together it will be Awsome creativeness . So Lets talk about what is Devops ?

Devops is the simply Combination of DEV AND OPS it means that DEV means Development and OPS means Operation in the system , really its Awsome technology In the process of DEVOPS
there is the so many factors are generated  LIke  1) Building   2) Testing  3) Coding  4 ) Monitoring
5) Operate 6 ) Release   7 ) Deploying  .

Then Now moving into the  Devops Tools , And we wil see them one by one  :-

1. Docker 










2. Ansible 












3. Jenkins 

jenkinsblog














4. Kubernetes

















5. Vagrant 







6. Chef









7. Puppet









I HOPE that you enjoy this article , if any Queries and  you want more from relared this article pls comment below !!.