June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

installing Nagios 4.1 on Centos 7

#### Problem Statement installing Nagios 4.1 on Centos 7 ## Step #1: Install LAMP yum install httpd -y systemctl start httpd systemctl enable httpd yum -y install mariadb-server mariadb systemctl start mariadb systemctl enable mariadb systemctl status mariadb mysql mysql_secure_installation yum install php php-mysql php-gd php-pear -y ## Install dependencies for Nagios sudo yum install […]

ec2 cli -1

#!/bin/bash # EC2 # List your running EC2 istances aws ec2 describe-instances # Stops an instance aws ec2 stop-instances –instance-ids i-004f15f18e76bb7eb # Starts a stopped instance aws ec2 start-instances –instance-ids i-004f15f18e76bb7eb # Reboots an instance aws ec2 reboot-instances –instance-ids i-004f15f18e76bb7eb # List image information aws ec2 describe-images –image-ids ami-340aae4e #Creates an image from an instance […]