Quantcast
Channel: Linux Server – Kurinchi Blogger Scribbles …
Browsing all 16 articles
Browse latest View live

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...

View Article



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...

View Article

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...

View Article

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

View Article

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...

View Article


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...

View Article

How to install and setup Fail2ban on CentOS?

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...

View Article

How to determine the file system type in Linux?

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...

View Article


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

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...

View Article


Linux: How the password is stored, salted and hashed securely?

In earlier systems, passwords were stored in the file /etc/passwd and they were not encrypted. After the user is created, an entry gets recorded in /etc/passwd with ‘x’ in the second column instead of...

View Article

How to avoid search engines from crawling your website?

Your answer is to create a robots.txt file in the root of your web directory and to have the code setting given below in the file. User-agent: * Disallow: / You can read more about Robots exclusion...

View Article

PHP SYSTEM WARNING: ‘date(): It is not safe to rely on the system’s timezone...

Edit /etc/php.ini and add the timezone setting within the file. For a list of timezone settings, visit http://php.net/manual/en/timezones.php [Date] ; Defines the default timezone used by the date...

View Article

Setup Virtualbox Additions on Centos 7 to share files

First step is to install dependencies $ sudo yum groupinstall “Development Tools” $ sudo yum install kernel-devel Mount the Virtualbox Additions CD ISO. You should download the virtualbox additions iso...

View Article


Apache webserver (httpd) service installation on CentOS 7 Linux

First set up the httpd (web) service $ yum install httpd If httpd service is already installed, update the service $ yum update httpd Now, start the web server $ service httpd start Redirecting to...

View Article

How to open a file in Atom editor from a Mac terminal?

When atom installs, it sets up a symbolic link to the location where it is installed. You can open a file or folder in atom by using the following commands a) Open the editor $ atom b) Open a file $...

View Article


How to move the atom editor installable file to a different location?

When Atom editor is installed, it creates a symbolic link in /usr/local/bin folder. Get the new folder path where atom editor installable file resides and run the following command in the terminal $ ln...

View Article
Browsing all 16 articles
Browse latest View live


Latest Images