Archive for the ‘HowTo’ Category

Laptop sound problem, headphones working, built in speaker not working

October 26th, 2011 2 comments

Yesterday, i just restarted my laptop and built-in speakers stopped working but headphones. I have re-installed drivers but didnt worked. So i tought it is some hardware problem related with soundcard. Then i got a sound from speakers for a second while unpluging my headhone jack from the port. I have plugged and unplugged the headphone jack couple of times and it worked. Problem was some kind of short in jack port.

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +4 (from 6 votes)
Categories: HowTo Tags: , , ,

Manage your virtual hosts on apache server easily

May 28th, 2011 No comments

Building up and making all modifications on your server is pretty boring. There is no need to find the sun again and again. I’ve had to go through the process of reconfiguring my virtual hosts for Apache2 several times and i found a pre modified shell script and modified the script according to my needs. This script enables you to create, destroy your virtual host in a second.

you can download the script from here : vhost.txt or;

mkdir ~/bin
cd ~/bin
mv vhost.txt vhost
chmod 755 vhost

Now, to invoke the script, type the following:

. ~/bin/vhost

By using this script you can create, destroy a virtual host. In order to create a new host on your server user following command by replacing appreciate values:

vhost create <domain> <admin -email> <host -ip>

The script creates required directories,files as shown below;

Web directories

Web cgi-bin

Web logs

then builds virtual host config file and enables it right away (enabling is optional), which is placed in following directory


After getting done with all these process it simply creates a little info file


Great you have created and enabled your virtual host, you may need to destroy a virtual host, here is how;

vhost destroy <domain>

Read more…

VN:F [1.9.22_1171]
Rating: 5.5/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +3 (from 3 votes)
Categories: General, HowTo, Linux, Tips Tags: , ,

Bash Shell Scripting Tutorial

April 30th, 2010 No comments

This tutorial assumes that you already know how to log in to your UNIX machine, bring up the bash shell, and run basic commands such as ls and cat. Getting to this point is fairly easy, but unfortunately this is the level that most users stay at indefinitely. This tutorial is intended to help you start to learn the more advanced features of using a shell, and specifically bash, one of the most powerful shells available.

Please note that most of the command themselves are not explained; you can examine their functionality yourself by either reading their man page, or just experimenting with them to see what they do.

Normally programs take input from our keyboard, and display the output to our screens. However, these are just the defaults – UNIX has the ability to redirect the input (commonly referred to as stdin, short for standard input) and output (commonly referred to as stdout, short for standard output).
Read more…

VN:F [1.9.22_1171]
Rating: 7.0/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)
Categories: General, HowTo, Linux Tags: , , ,

IBM RAD 7.5 on Ubuntu Karmic 32 Bit

December 8th, 2009 No comments

IBM Rational Application Developer
Lets assume you were using ubuntu 9.04 jaunty and now you have upgraded your distribution to 9.10 karmic. Before i get into 9.10 version i had my RAD 7.5 installed and running. Then decided to upgrade my distro. I’ve read an article and futures of karmic distro, that says plenty of packages getting updated. After getting done with upgrade process i tried to run my RAD 7.5 , it was ok for the first time but there were plenty of errors on screen.

First of all when you upgrade your distro, the gcc++ package gets upgareded so file to .Unfortunately RAD 7.5 version looks for file on your system. You have to download this file. Download it by using link below;

Then install this deb package (If you are running on another linux distro you have to place it just next to where your file, you can use “locate″ command to see where your file is). Then copy below bash script and paste it any of your text editor, save it as “”. From now on, you can use this script to run your RAD 7.5.

/where/your/RADis &

After this process your problem should be gone. Have fun.

VN:F [1.9.22_1171]
Rating: 7.3/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Categories: HowTo Tags: , , , , ,

Generate ER diagram by appliying reverse enginnering technique

June 6th, 2009 1 comment

Yesterday, i needed to generate an ER diagram for one of my databases that i am working on. Well, i didn’t meet with Mysql Workbench visual database tool before. It made my day. MySQL Workbench is a visual database design application that can be used to efficiently design, manage and document database schemata. And it is available under GPL license. This application is allowing you to generate a diagram for a database using its reverse engineering tool. And the good thing is after generating process you may modify it anyway. I think i am going to use this application in future. For detailed information go in this link below :

Keep in touch foxes ( :

VN:F [1.9.22_1171]
Rating: 8.0/10 (5 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)