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  

NoSQL vs SQL comparison

NoSQL vs SQL comparison

The following table compares the main differences between NoSQL and SQL.

 

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 […]

Reverse Proxy for Node.js application using Apache

Node.js

Node.js is widely used to build web applications with real-time, two-way connections, where both the client and server can initiate communication, allowing them to exchange data freely. The best side is that we don’t need a host container for building a web app just means including a library that listens for HTTP requests on […]

Backup Amazon EBS Volume Snapshots from Amazon Ec2

ata is the most important factor in any business and taking its backup on a regular interval of time is a handsome practice. We have come up the technique to auto backup Amazon EBS volume snapshots from running Amazon Ec2 instance using AWS CLI.

Prerequisite Amazon AWS account for creating Access key ID and […]

vsftpd

This howto describes how to configure vsftpd to enable SSL using so called intermediate/ chaining certificates.

Edit vsftpd.conf so that SSL is enabled:

 

ssl_enable=YES

rsa_cert_file=/usr/share/ssl/certs/vsftpd.pem

force_local_data_ssl=No

force_local_logins_ssl=NO

It is very important to construct the certificate file /usr/share/ssl/certs/vsftpd.pem with the correct certificate order. The fist Your certificate file has to be a .pem file. If […]

EC2 instance

** volume == hard disk security groups == virtual firewalls ————————– EC2 instances types: ‘Dr mc gift pix’ D-desnsity R-ram m-main choice (general) c-compute g-graphics i-iops f-fpga (field-programmable gate array) t–cheap (t2 micro) p-graphics(pics) x-extreme ————————– termination protection-off by default. EBS will be deleted when EC2 instance is terminated by default. EBS root volume of […]

VPC -AWS

** 1 subnet == 1 AZ. ACL = access control list SN = subnet IGW = internet gateway CIDR – classless inter-domain routing. -where we assign ip ranges NAT – network adress translation —————— internal ip address ranges (rfc 1918) 10.0.0.0 -10.255.255.255 (10/8 prefix) 172.16.0.0 – 172.31.255.255 (172.16/12 prefix) 192.168.0.0 – 192.168.255.255 (192.168 / 16 […]

Redis master-slave + KeepAlived achieve high availability

Redis master-slave + KeepAlived achieve high availability

Redis is a non-relational database that we currently use more frequently. It can support diverse data types, multi-threaded high concurrency support, and redis running in memory with faster read and write. Because of the excellent performance of redis, how can we ensure that redis can deal with downtime […]

Full understanding of the new features of MySQL 8.0

Full understanding of the new features of MySQL 8.0

First, the function added in MySQL 8.0

1, the new system dictionary table

Integrated transaction data dictionary for storing information about database objects, all metadata is stored using the InnoDB engine

2, support for DDL atomic operations

The DDL of the InnoDB table supports transaction integrity, […]