• support[@]kurinchilion.com
  • +1 (888) 666-4252

How to remove ^M characters at the end of lines in Vi from files in Linux?

Jan 10, 2013 - by kurinchilamp /Linux Server/ 370 Views
Files created in windows when moved to linux will have ^M character at the end of lines when you open the files in Vi editor. To remove the strange characters open the file in Vi editor and type
:%s/.$// 
(more…)
Continue Reading

How to determine the file system type in Linux?

Dec 06, 2012 - by kurinchilamp /Linux Server/ 294 Views
Linux supports many file system types like Ext2, Ext3, Ext4, NFS, FAT16, FAT32, NTFS etc. To find out what type of file systems are mounted in your system, issue the command $ df -T Output from the command
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda1     ext4    94088076   9090252  80218356  11% /
udev      devtmpfs     1023536         4   1023532   1% /dev
Continue Reading

How to install and setup Fail2ban on CentOS?

Nov 12, 2012 - by kurinchilamp /Linux Server/ 356 Views
Fail2ban is a software used to ban IP's which shows strange behavior. It can be configured to reject IP's for a certain amount of time. To install Fail2ban we need to download the application from the source. Login as the root user and go to /opt $ cd /opt $ wget http://downloads.sourceforge.net/project/fail2ban/fail2ban-stable/fail2ban-0.8.4/fail2ban-0.8.4.tar.bz2?use_mirror=transact Next unzip the downloaded file $ tar -xf fail2ban-0.8.4.tar.bz2 $ cd fail2ban-0.8.4 (more…)
Continue Reading

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

Sep 25, 2012 - by kurinchilamp /Linux Server/ 293 Views
To check the Python version number in Linux, simply type $ python -V You will get an output
Python 2.4.3
Continue Reading

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

Aug 15, 2012 - by kurinchilamp /Linux Server/ 319 Views
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. (more…)
Continue Reading

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

Jun 15, 2012 - by kurinchilamp /Linux Server/ 331 Views
... 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. (more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.