Posts

container the hard way

problem #1  create a docker images and host php sample application in container with following parameter   base image must be centos     use adhoc.dockerfile  as docker filename     sample php page must be on github repo     use github repo directly inside dockerfile    expose 81 port inside dockerfile    configure httpd daemon in foreground mode using ENTRYPOINT     container name must be adhocweb1     container must not use more than 1024MB RAM    container must be exceed more than 20% cpu  of host   Problem #2 : Deploy docker private registry with following parameters docker client must use TLS & SSL  certification to secure connection docker client must use username and password to push the images Integrate this docker registry with jenkins to push the images after build make a pipeline job to use the same image to deploy ...

Devops dare for it geeks

Aws infrastructure use cases 1:    How to recover windows and linux  instances key if lost { 2 methods}  If a cloud admin  don't want to share instances private with other team mates  How to upgrade Rhel 7  to rhel 8 in a running  website  Migrate local website to aws cloud  web site having  data base as well Host web site on windows and linux both servers including , .net , php , html and jsp (java) Implement virtual hosting in apache & IIS  server  Aws infracture  use cases 2:     launch  windows and linux based ec2 instance    create an EBS device of 2GiB and  attach to windows instances only then store some pdf and text file in that EBS volume   create an EBS of 2GiBand attache in linux instances then mount it under document root of apache server and host a html based website.  create a snaphost of device of linux and windows both machine Ans...

data analytics the future of IT

Image
Hadoop2_hdfs_setup: create the scenario i)  create a fully managed multi node cluster of hadoop2 ii)  jdk8 or later you can use iii)  there will be  one namenode  and 10 datanodes iv)  create all this by using only one ec2 instances v)  all nodes must be running  in containers only under ec2 instance vi)  container must be running automatically even after reboot or instances

aws cloud the virtual resource provider

ec2_ scenario_1:- design this architecture in aws cloud platform: i)  launch 2 ec2 instances with 512MB Ram and 1 core cpu  ii)  Use AMI as rhel 8 iii)  host a php based website in apache server  iv)  allow only these protocol in ec2  ssh , http , https v)  website in ec2 instances must be accessed via ELB  vi) make sure you can not open website by writing ip address or public dns of ec2   Note:   you can create any sample page of  php language    ec2_scenario_2:- Design the above task by writing ansible playbook ec2_scenario_3:- design the same scenario by writing code in python 3  Note:   you can use boto3  module 

AI the Super Future

Design your career as per Industry 4.0  pynumber: 1 create 2D numpy  based array with given conditions: i)   take input from user in terms of dimension like (3x2 or 6x7) ii)   fill this numpy array with random number iii)  store this array in a file pynumber: 2 create a numpy array of  8x2 as having number  in each cell between 100 and 200 such that difference between each element is 5  data_visualization: 1 visualize data graphs  i)  take input from  a file where you have 4 rows and 5 columns ii)  columns having - student_name , marks , age , contact , study_hours iii)  visualize this data as pie chart iv)  file name must  student.csv with all column separated by ',' data_visualization: 2: plot  graphs given below in python3 with following data i) calculate the internet speed from any web site you want ii)  graph the result as guage graph iii) it must move ...

python3 challanges

#  Post your solution  URL Here # Problem 1 :  Create a program that asks the user to enter their name and their age.  Print out a message that will tell them the year that they will turn 95 years old. Problem 2 :  write a code using  that will take user input from and search on google and store top 10 url in the list. conditions :      i )   URL must be stored permanently as well     ii)   user can give input using keyboard and  voice both Problem 3 :    take a list say  adhoc=[1,2,3,1,4,5,66,22,2,6,0,9] write the program that will do   i)  print only those numbers greater than 5   ii)  also print those numbers those are less than or  equals to 2  ( <= 2 )   iii)  store these answers in in two different list also Problem 4:   take all input from user . i)  check that all character are string ii)  ...

linux the hard way

adhocLinux:-> Yum Do the following  settings in your redhat 7.5 i)  your system must not be able install a software telnet using yum ii) your yum url have that telnet package it must not be install adhocLinuxu:->User Management    create a user name adhoc1 with password  "Redhat1"  this user must not be accessible via ssh from any where  you can only login this user locally in between 6PM to 10PM   During password authentication if you fail to type the correct password it must wait for 20 seconds for next password create users named user1 user2 user3 user4 using for loop all users must be able to login graphically without password  create a user name ashutoshh with password  "helloadhoc" and this user must not be able to login from anywhere (not even locally) create a user named onetime with no password and whenever you login graphically it only give you gedit text editor (no other programs are allowed to u...