Automating AWS Server Instances

This document describes how to automate server instance start/stop on AWS using a script. This automation make servers up only when they need for specific hours, as per user wants.

Please follow the steps to automate.

  1. Create an IAM role called ec2-operator using the IAM console view. (http://docs.aws.amazon.com/IAM/latest/UserGuide/creating-
    Continue reading

How to install and configure “Monit” management system on Ubuntu.

Hello all, Today I’m going to install and configure the “Monit” service monitoring system on Ubuntu server instance.

Monit “is an free an open source software which is a management system for monitoring and take decisions on some of critical points. Specially monit can be used to monitor customized services which are developed by developers. As an example let’s assume if a developer make a service as “service-1” that can be monitored and controlled like start, stop, restart the service by the Monit. And also every actions are notified by the e-mails and administrator can customized the alert conditions and alert notification settings.

This tutorial will help you install and configure the Monit service monitoring system on Ubuntu server. The steps are given below.first get updates on Ubuntu server, then install the “monit” on the server.
1. In first step, Monit has to be installed via Ubuntu terminal.

 $ sudo apt-get update
 $ sudo apt-get install monit

2. After installation “monit” configuration should be done using the /etc/monit/monitrc file.

$ sudo nano /etc/monit/monitrc

# set httpd port 2812 and
# use address localhost # only accept connection from localhost
# allow localhost # allow localhost to connect to the server and
# allow admin:monit # require user 'admin' with password 'monit'
# allow @monit # allow users of group 'monit' to connect (rw)
# allow @users readonly # allow users of group 'users' to connect readonly

In the above section monit administrator have to enable the port (2812) and the whatever the IP address for accessing the Monit system.

3. Then restart the service monit service. Continue reading

REDIRECT HTTP TO HTTPS WITH WAMP SERVER

The purpose of this technical document provide specialized information about how to Redirect http to https using the WAMP server.
All the steps are described with images and the commands. This is working 100% per-fectly.
All the configuration are done by manually and steps are mentioned clearly, In here I am going to install a fresh copy of the WAMP server. And configure it to redirect the http://localhost in to https://localhost. Then you can use your own web sites using se-cure http.
In this tutorial I am using X.509 Certificate to grant secure connection to the server. X.509 is widely used for defining digital certificates. It issues a certificate with binding public key to a particular distinguished name.

The video tutorial also available @ YouTube URL: http://www.youtube.com/watch?v=6MOBWNYy-kE&feature=youtu.be

Hi, Today I’m going to show you how to make the http://localhost to a secure connection. this is the task that I was given my Director – Systems and Operations. then I started searching on the internet as usually.
Normally I installed the Wampserver2.4-x86 on my Windows Server 2012 VMware machine. It was not in-stalled successfully because it said that MSVCR100.dll file is missing from your computer. So I downloaded the .dll file (http://www.dll-files.com/dllindex/dll-files.shtml?msvcr100) and dropped to the correct destination (C:\Windows\SysWOW64) then tried to load the http://localhost, it was loaded but loaded the IIS server which has been already installed on the Windows Server 2012. Continue reading

How to use RSA keys for login to remote machines using SSH without Passwords on Ubuntu.

Hello Guyz… :).. Today In this tutorial I’m going to manage the remote Ubuntu/Linux machines via SSH key pairs. First of all let’s assume there are two Ubuntu servers are available, those are called QA-Server and PP-Server. (Please note, these all commands are run on QA-Server Terminal)

In order to create new user on QA-Serever the server use the following bash commands are used on QA-Serever.

$ sudo useradd -m -s/bin/bash <username>
$ sudo passwd <username>

Under the username you can add whatever the username and then add a relevant password for the created user. Continue reading