March 19, 2010 · Articles Shell Scripting: What is Shell? Shell is an environment around the Kernel providing user interaction. It accepts user commands and convert them to binary code. It is not part of the kernel but… Read more
March 18, 2010 · Articles Linux: Password creation 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,… Read more
March 15, 2010 · Articles Linux: alias, unalias 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 d… Read more
March 11, 2010 · Articles Ubuntu: Configure PHPMyAdmin in Simple Steps $ sudo apt-get install phpmyadmin For versions 7.10 and up, choose "Apache 2" from the screen "Configuring phpmyadmin" If everything goes fine, you can access p… Read more
March 9, 2010 · Articles Linux: Port configuration for multiple network interfaces on the same server Edit ports.conf file and configure the port number for the different IP's configured for network interfaces Listen 192.168.1.100:8001 Listen 192.168.1.200:8002 Read more
March 7, 2010 · Articles Apache: Where to put site configuration settings? /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 tw… Read more
March 5, 2010 · Articles Ubuntu: Configuring Virtual Hosts to listen on different ports 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… Read more
March 1, 2010 · Articles MySQL Clear Screen Window To clear the screen content in MySQL use the command mysql> \! clear Usage of "\!" tells MySQL to pass the command to Linux OS to handle the request. If you… Read more
February 9, 2010 · Articles Ubuntu: Where to find Apache Error log? Location where the Apache error log entries can be found in Ubuntu user@server:~# less /var/log/apache2/error.log Read more
February 4, 2010 · Articles MySQL: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' Reason why this error might occur: i) Incomplete MySQL implementation ii) MySQL setting mis-configuration Solution: root@myserver:/# vi /etc/mysql/my.cnf Commen… Read more