Linux Server

How to setup Rails on WAMP server using HTTP Proxy module?

To setup Rails on windows after Ruby and Rails setup,

i) Edit hosts file in windows environment and set the server name in the hosts file to

127.0.0.1 myrails

In this example, i have used “myrails” as the server name for the project.

ii) Edit httpd configuration setting on WAMP to make sure proxy and proxy_http module is turned on (check if it those lines are not commented out)

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

How to install Ruby, Rails and MySQL on Ubuntu Server?

For this tutorial we will be using Ruby 1.9.3 and Rails 3.2.1

First thing update
$ sudo apt-get update

Next, we are going to install git, RVM which is essential for the build

$sudo apt-get install build-essential git-core curl

RVM stands for Ruby Version Manager that is used for installing and managing multiple versions of Ruby at one point of time.
Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

How to check Python version number in Linux/Unix environment?

To check the Python version number in Linux, simply type


$ python -V

You will get an output

Python 2.4.3
Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

How to configure Zend Framework on an Apache server in a PLESK environment?

First, download the Zend framework and unzip the file contents to a location. At the time of the writing ZendFramework-1.11.12 was in use and we have used that version in this example. Key content of the download is the /library folder which has Zend libraries in it.

Then, go to the “conf” folder that was created when the site was created.

Inside the conf folder, create a new file and name it vhost.conf

Add the below contents to vhost.conf and save it. Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

How to Send Emails from your local WAMP XAMPP server in windows?

… a question that raises in the mind of programmers developing applications in their local development environments.

This can be achieved by making the following modifications.

Step (i) Install the WAMP / XAMPP server in your windows machine. After this install you will be able to access sites created on the localhost with URL http://localhost

Step (ii) Download and extract the send mail application for Windows from http://glob.com.au/sendmail/. Remember the path where you have extracted sendmail. For e.g. c:\wamp\sendmail

Step (iii) Edit sendmail.ini within c:\wamp\sendmail. This ini file has enough documentation explaining how the configuration changes should happen on the file.
Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Beginner: Why there are many Linux Distributions?

There are different variants of Linux in the market like RedHat, Debian, CentOS, Ubuntu, Mandrake, Suse and a Linux beginner often ponder why they call Linux distributions by various names. The kernel or the heart of all the distributions is Linux and in bringing it to different market usage different community or vendors have adopted the kernel to serve that purpose.
Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Asterisk for Beginner: IAX Server configuration settings

In the first article on Asterisk, we have seen the Asterisk installation steps and on the environment setup. In this article, we have give the configuration settings for two files iax.conf and extensions.conf which will be used to direct/receive calls from/to iax2 soft clients
Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

ASTERISK Configuration: for beginners

This will be a simple step by step tutorial to help beginners catch up with ASTERISK – an open source tool for voice communication. It is a software installation of PBX connecting even the PSTN and VOIP networks.

Originally developed for Linux, Asterisk now runs on a variety of operating systems including Solaris, Windows and MacOS.

Environment setup

Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Linux: Securing Apache

Run the below command to check what user and group apache is running as, by typing
$ ps auwfx | grep apache2
root 28937 0.0 0.1 3004 756 pts/0 S+ 12:35 0:00 | \_ grep apache2
root 25235 0.0 2.5 37744 12992 ? Ss Mar18 0:06 /usr/sbin/apache2 -k start
www-data 27102 0.0 1.3 38252 6972 ? S Mar21 0:00 \_ /usr/sbin/apache2 -k start
Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Kurinchi Calendar
July 2017
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930
31