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

Tags

Linux: Password creation

Mar 18, 2010 - by kurinchilamp / / Post Comment
To create a password file and to add users to it, use the command $ htpasswd -cm /secured/.mypass username1 To add users to the already existing password file, use the command $ htpasswd -m /secured/.mypass username2 When additional users are added to the password file, ensure that you don't use the "-c" option. Read Password protect directories here
Continue Reading

Linux: alias, unalias

Mar 16, 2010 - by kurinchilamp / / Post Comment
Alias command comes handy when we are in need to make long and frequently used command string short. To list the current set of aliases simply type $ alias To display the set alias for a specified alias name, type $ alias alias-shortstring Example: $ alias ls To set an alias you use the format $ alias shortstring = "linux command string" (more…)
Continue Reading

Apache: Where to put site configuration settings?

Mar 07, 2010 - by kurinchilamp / / Post Comment
/etc/apache2/conf.d/ and /etc/apache2/sites-enabled are the two locations from where configuration settings are ready by apache Apache configuration file has two lines (listed below) in /etc/apache2/apache2.conf which does that # Include generic snippets of statements Include /etc/apache2/conf.d/ # Include the virtual host configurations: Include /etc/apache2/sites-enabled/
Continue Reading

Ubuntu: Configuring Virtual Hosts to listen on different ports

Mar 05, 2010 - by kurinchilamp / / Post Comment
Files to check - /etc/apache2/ports.conf - /etc/apache2/apache2.conf Consider the ServerName to be "myserver". Check /etc/hosts for an entry 127.0.0.1 localhost 192.168.1.100 myserver.com myserver ... (more…)
Continue Reading

Linux: Determining IP information for eth0… failed

Dec 27, 2009 - by kurinchilamp / Linux Server / Post Comment
When setting up a workstation to connect to internet, you may come across a message Determining IP information for eth0... failed The above error message basically means that eth0 i.e your network interface card is not setup correctly. Some of the commands that can come handy in troubleshooting where the error lies are listed below $ dmesg | grep eth0 (displays information about the ethernet controller card, mac address etc.) $ cat /etc/sysconfig/network(displays the network settings) NETWORKING=yes HOSTNAME=localhost.localdomain GATEWAY=192.168.122.1 $ cat /etc/sysconfig/network-scripts/ifcfp-eth0 $ ifconfig eth0 down (to down the nic) $ ifconfig eth0 up (to start the nic) $ netstat -rn (display kernel routing IP table) $ cat ifcfg-eth0 (eth0 configuration settings) DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:16:18:33:B3:CF ONBOOT=yes $ service network restart (restart the network settings) $ ping -c4 google.ca(to check if the internet connection works) $ traceroute google.ca (to check how the IP navigation path is set) Refer Red Hat linux 5 configure network article for additional info
Continue Reading

How to reset the screen terminal output?

Sep 29, 2009 - by kurinchilamp / / Post Comment
You might have come across instances like trying to print or output the content of binary files or similar instances when the screen spews out unreadable set of characters which then would disrupt the normal display of characters. "stty" is the command that is used to reset your screen content. $ stty sane
Continue Reading

TECHNOLOGY DEV STACK

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