Posts

Reboot your brain :2.0 Linux Basic tasks

Image
Linux Kernel Assignment :  Problem #1     Block System call :  block system call for date command  that means you don't have to uninstall date command but if you run kernel must not accept  do the same Firefox as well Problem #2 :  play with directory    create a directory without name from command line   create a directory with name "-okgoogle" Problem #3 :  create a directory structure  Note :   You are only allowed to use a single command and only one time Problem #4.   share and files and folder   create two users name jack and Jill  from command line create all the data under home directory of each users  login with jack user and create a file name  jack.txt using vim editor and write "hello jack" from jack user also create two directories name jack1 & jack2  now login from Jill user and create a file. Jill.txt using vim editor and write...

Kubernetes mastering

Problem #1   Create a pod with follow details  create a pod file in yaml    use your custom nginx image use necessary configuration if required  your nginx docker image must have your custom page desgin by you   page name of html is   index.html with  content  "Hello pods"  expose ports in nginx image is  80  name of pod must be  nginx-pod    label of  pod  must be   "name: hellonginx"  deploy this pod using kubectl only and make sure status running  Problem #2  Perform this question just after the problem first  check the above in status using kubectl  find out the name of worker node where pod is schedule  reschedule that pod to another worker node   check the status that must be running fine    Problem #3

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 ...