Category Archives: Linux/Unix

How to : Apache mod_auth_mysql Authentication With .htaccess

In this tutorial, I will guide you through the steps of doing Mod _Auth_MySQL authentication with the help of user login id’s and passwords stored in a MySQL database.

This type of authentication is usually good for protecting web pages and web directories from unauthentic access. It is quite similar to LDAP authentication, with the exception of database involvement here and is fast also. mod_auth_mysql is an apache module which can work with both Apache 1.x and Apache 2.x and can be installed from http://modauthmysql.sourceforge.net/ Before we continue with the directives that needs to be set in the .htaccess file, we need to know the prerequisites.

Continue reading

Configuring Ekiga Softfone for VOIPStunt, VOIPBuster and other SIP based phones

How would you configure Ekiga Softfone for calling with VOIPStunt and VOIPBuster. These applications are used to call over the Voice over internet protocols (VOIP). The setups of VOIPStunt and VOIPBuster are available for windows. For MAC and Linux users there is a special set of instructions of how to go about this. But I had a trouble following that process . So I am just jotting down the process of configuration in simple terms. Now what is SIP Based Phone – A SIP phone is a hardware-based or software-based SIP user agent, that provides call functions such as dial, answer, reject, hold/unhold, and call transfer.

ekiga-softfone
Continue reading

Google Search with Shell (CLI) with Goosh

This is an a really geeky tool for the linux and shell addicts. Goosh is a tool for searching the web through linux type shell (CLI or command line interface for Linux).

Welcome to goosh.org – the unofficial google shell.
This google-interface behaves similar to a unix-shell.
You type commands and the results are shown on this page

Goosh is very powerful inside, just like google. You can use to search blogs, images, web, news, feeds, maps, videos, places and many more things. Continue reading

Pidgin Chat client for Linux, Unix and Windows : Login to Multiple Chat Networks

Pidgin is a chat program which lets you log in to accounts on multiple chat networks simultaneously. It helps you connect with your yahoo, gmail, aim, MSN and more network buddies all at the same time. I am currently using the latest version of Pidgin on my Ubuntu machine (Pidgin 2.6.3).

pidgin-logo

Pidgin is available for download for Windows, Linux and Unix platforms at Pidgin Download and for OsX it has a substitute called http://adium.im/ Continue reading

How to Install MySQL GUI Tools in Ubuntu

MySQL GUI Tools are a very good way to run queries and manage all aspects of your database is a very easy and interactive manner. You can manage users, processes, big tables, optimize queries all using these tools.

There are many ways to install MySQL GUI Tools in Ubuntu. The easiest way to add is running the some commands in the shell.

To Install all the Packages (MySQL Admin+MySQL Query Browser+MySQL Migration Toolkit)
Architecture independent files for MySQL GUI Tools
sudo apt-get install mysql-gui-tools-common

Continue reading

How to Solve (Fix) Wi-Fi and Internet problems in Ubuntu

Configuring Wifi and Internet in Ubuntu.

I have been personally dealing with this problem from past 1 week. But didn’t get the time to solve this because of busy schedule. Some days back I installed Ubuntu on my machine and started playing with its features. Accidentally I somehow removed the Network Manager of Ubuntu, which is the default Gnome Network App in Ubuntu. At this time I didn’t knew how to solve this problem as my internet is not working now.

I tried searching from other machine but wasn’t able to get an effective solution. I tried many commands and tutorials but all in vain. These are some of the commands I tried.

  1. sudo /etc/init.d/networking restart – To restart network Daemons in Ubuntu and configuring the Interfaces
  2. sudo ifdown eth0 – To stop eth0 interface
  3. sudo ifdown wlan0 - To stop wireless Lan Interface Continue reading

Not able to access phpmyadmin in ubuntu – 404 Not Found Error

I just installed the LAMP (Linux+Apache+MySQL+PHP) structure on my Ubuntu machine. Installing the structure is pretty easy. But getting it all running seamlessly is the another thing. After installing the things I typed http://127.0.0.1 (http://localhost/) on my Browser and it said “It Works”. But when I tried to open the phpmyadmin (http://localhost/phpmyadmin/) which is used to manage your MySQL backend and tables it shows the 404 Not Found error.

By Default your www directory is created here /var/www and the phpmyadmin configuration files are stored in /usr/share/phpmyadmin. So the trick involved here is to point your the later location or directory from your former directory. To do this open your terminal and run the following command.phpmyadmin_ununtu

sudo ln -s /usr/share/phpmyadmin /var/www

This will create the pointer to /usr/share/phpmyadmin in /var/www

Now open the http://localhost/phpmyadmin/ and you are good to go. If you still face any problems feel free to ask and comment.

How to Install Tweetdeck Twitter Client on Ubuntu (Linux)

I have recently installed Ubuntu 9.04 Jaunty on my machine. Let me introduces Ubuntu to people who don’t know about it.
It is a Open source OS from Canonical, which can be downloaded free from web. It is available as both server and desktop editions.

After installing Ubuntu I have had to install day to day applications which I used everyday. One of them is tweetdeck which is a Twitter client. For Installing Tweetdeck on Ubuntu (Linux) machine, there has to be a correct install for Adobe Air suite on your machine.

These are the following steps that should be followed:

Tweetdeck

  1. Go to http://get.adobe.com/air and download latest version of the Adobe Air (Adobe AIR 1.5.2 Installer).
  2. After downloading AdobeAIRInstaller.bin on your computer. Right click the file and got to Properties, then got to Permissions and check the box stating Allow Executing File as Program. (Properties>>Permissions). This will make sure the when the file is double clicked it is executed right. Continue reading