Tuesday, December 31, 2013

Accidentally removed default gnome panel applications

If you accidentally remove the default Gnome panel menu on the top right which is containing clock, mail, volume, internet connection, user account, shutdown menu items:
Hold 'Super' + 'Alt' + Right Click
Add to Panel
then
Search for 'Indicator applet complete' menu item.
Everything should be be back to normal.

Monday, December 30, 2013

LAMP Server Setup (WAMP alternative) on UBUNTU

LAMP is an acronym of Linux, Apache, PHP and MySQL bundle. These four components are all free and open-source software. The last three components depends on client. Here I am going to describe how to setup a LAMP bundle includes Apache, PHP and MySQL software. Linux operating system should already be established. Therefore, we have to setup the last components "AMP".

Run Terminal (Ctrl+Alt + T)
sudo apt-get install apache2 
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install phpmyadmin

Now, you are able to type 127.0.0.1 or "localhost" on your address line through the browser. This is first but not the last step to complete LAMP. 

Default index.html file is in /var/www folder. The problem, it is not allowed to read and write. That means you have to change the main directory of LAMP. 

To copy the default file: 
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mysite

Create a new config file by using nano (or gedit) text editor: 
sudo nano /etc/apache2/sites-available/mysite

 Change the DocumentRoot (/var/www) to the new location site: 
/home/user/www/
user is the root name of your Linux system.

Restart Apache2 to activate new settings: 
sudo /etc/init.d/apache2 restart

That's all.

Kernel driver not installed (rc=-1908)

Here is the solution briefly:
Run Terminal
sudo apt-get install dkms
sudo /etc/init.d/vboxdrv setup

Cheers,

Making the mouse pointer color black in UBUNTU

This article tells you how to change color of the mouse pointer to black in Ubuntu OS. There are several options you can find in the web. Here is one of the simplest way:
- Run Terminal:
~$ gksu gedit /usr/share/icons/default/index.theme
and then change "DMZ-White" to "DMZ-Black"
save and exit. That's all. I suggest you to restart your PC.

How to delete a panel in UBUNTU?

The answer is very simple actually. All you have to know how to use some keybindings: Let's try this:

1. Stay on the panel you want to delete (mostly panel on the bottom edge)
2. Alt + Super + Right Click (press respectively while holding down previous one)
3. The pop-up menu appears
4. Click "Delete" option

"Super" is the key mostly next to "Alt" with Windows icon above or Mac icon as well.