TURN Server | Installation & Configuration On AWS

This blog post describes the way how to deploy and configure Google TURN server with all required steps. Mainly this installation and configuration has been tested on AWS(Amazon Web Services) cloud computer and confirmed. Because there are some connectivity issues while connecting to the TURN server remotely.

  1. Login to the AWS console and go to the EC2 menu and then launch new instance. In here there is called “Community AMIs”, go to that option and select the AMI called “rfc5766-turn-server”.
    Screen Shot 2015-03-24 at 10.37.52 AM
  2. There are several AMIs are listed under “rfc5766-turn-server”, take the latest version of the TURN server AMI and launch it with the relevant CPU, Memory, HDD, Network ,etc.
    Screen Shot 2015-03-24 at 10.42.17 AM
  3. Continue reading

Jenkins | Deploy & Configure for Play Applications in RHEL 6.x

Jenkins is an open source server for continuous integration and written by JAVA. This is one of a world famous CI(Continuous Integration) tool. This tutorial guides you through the steps to deploy Jenkins server on RHEL(Red Hat Enterprise Linux) server. The steps are given below.

  1. Check the JAVA is available on the RHEL server.
    # java -version
    Output : java version “1.8.0_45”
    Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
  2. If there is no JAVA is installed on your, install java and get it confirmed that’s installed.
    # yum install java
  3. Add the Jenkins repository to the host machine, then install the rpm file.
    wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
    rpm –import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
  4. Install Jenkins server
    # yum install jenkins
  5. Adding jenkins to system boot
    # chkconfig jenkins on
  6. Start Jenkins and check the port 8080 is opened from the server side.
    # service jenkins start
    # netstat -tnlp | grep 8080
  7. Open your browser and load Jenkins server http://:8080
    Screen Shot 2015-05-07 at 3.49.05 PM
  8. After successfully deploy the Jenkins server, you can setup the server to build scala applications. In here the application code will be retrieved from the git server, so git server should have a separate user for jenkins. In order to achieve that, user have to generate a SSH key file from the host machine.
    Continue reading

Configure A Upstart File In Ubuntu Server.

Hello Everyone today I’m going to show you how to create a simple upstart file in Ubuntu server for .jar file. So let’s look at the steps for achieve this.

  1. Login to the Ubuntu Machine and go to “/etc/init/” then create a file with your project name and the file extention should be .conf (In here let’s assume the project name is project-test)
    $ cd /etc/init/
    $ sudo vi project-test.conf

    Continue reading