April 5, 2010 · Articles How to import mysql dump (.gz or .sql) into a database? When moving mysql database from one server to another or, to test that the data backup works as expected we need to import mysql dump file in the testing enviro… Read more
April 3, 2010 · Articles How to Compress, Uncompress to .gz, .bz2? Tar (tape archive) does not compress files. They are used for grouping all files in a folder so that it can be transferred across locations. In order to compres… Read more
March 31, 2010 · Articles Apache: client denied by server configuration error Apache Error log shows the message "Client denied by server configuration" and the user sees "Forbidden Access" when they try to visit a web page. Solution: Sea… Read more
March 29, 2010 · Articles Zend's Directory Structure Some factors like host environment setup, multiple projects for single/multiple clients, common helpers, cross-functionality between sites etc. determines how t… Read more
March 25, 2010 · Articles Setting up Zend Framework - for Beginners Download the latest version of Zend framework from http://framework.zend.com/download/latest At the time of writing it was 1.10.2 available at Zend 1.10.2 $ pwd… Read more
March 24, 2010 · Articles 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 | \… Read more
March 23, 2010 · Articles Shell Scripting: Linux variables Linux variables have the prefix $. Variables that will be useful in shell scripting are listed below. $$ Process ID number of the shell in execution $? Variable… Read more
March 22, 2010 · Articles Linux: Path settings $PATH is the environment variable related to Linux Path settings. To add a directory to the path, type $ export PATH=$PATH:/tmp/myshells The above change is in… Read more
March 21, 2010 · Articles Shell Scripting: Saving Shell scripts For example, if we have shell script named "myshellscript.sh" (with execute permission) we can make it run in the current working directory with the commands $… Read more
March 20, 2010 · Articles Shell Scripting: How to execute Shell Scripts? Shell scripts are written to execute a set of commands and to group them. The scripts will have the following special line #!/bin/bash This is an indication tha… Read more