Category Archives: Ubuntu

Installing teamviewer 9 on Ubuntu 14.04

Do install Teamviewer 9 on your Ubuntu 14.04 box, following these steps

1. Download it

2. Install gdebi (GDebi can install local .deb packages with automatic dependency resolution (it automatically downloads and installs the required packages)

3. In the same directory you download the .deb file just run



How to know which port MySQL is running on – Ubuntu

To find a listener on a port, do this:

You should see a line that looks like this if mysql is indeed listening on that port.


Install Curl on Ubuntu 14.04

Open your terminal and run following command

and then restart apache


There are stopped jobs

There are stopped jobs

Sometimes when you try to logout with the logout command, you’ll get the message There are stopped jobs. This means that you have left some suspended jobs hanging around, and you should finish them off before you log out. Type jobs as above to get a list of what jobs are stopped; then, you can bring them to the foreground one at a time (with `fg %1′ and so on) and exit each normally.You can also type

% kill %3

to kill job number 3, which will cause it to exit prematurely.

If you get stuck or are in a hurry you can use the logout command twice in a row and you’ll be able to log out in spite of your stopped jobs. The jobs will be killed automatically by the shell. You really should clean them up yourself though.

If you have background jobs running (as opposed to stopped jobs) they will continue to run after you log out.


Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration

Apache shows this error message when you don’t have mod_rewrite enabled. To enable it follow below steps

1. cd to apache2 (usually in cd /etc/apache2 )

2. enter this command – sudo a2enmod rewrite

3. now restart the apache service – sudo service apache2 restart

That’s it !


Ubuntu – Brightness is reset to Maximum on every Restart

I need to manually reset the brightness setting on each restart on my Ubuntu desktop, I found following solution mentioned on stackoverflow.

To see the current settings,

then I modified the code in /etc/rc.local

——- BEGIN FILE —————————–

——- END FILE —————————–

Ref –


PhpMyadmin is not working after installation on Ubuntu

I have installed Phpmyadmin on  my Ubuntu Server, but while accessing it I am getting

The requested URL /phpmyadmin was not found on this server.

Error message, I have found following solution which worked for me.

  1. Add the following line to the end of of file /etc/apache2/apache2.conf:
  2. to add this line enter this command  sudo nano /etc/apache2/apache2.conf
  3. Include /etc/phpmyadmin/apache.conf

  4. Restart Apache by giving this command on the command line:sudo /etc/init.d/apache2 restart

(As an alternative to step 2, you can command



How to enable mod_rewrite in Apache?

To enable it the rewrite module, run “apache2 enable module rewrite”:

You need to restart the webserver to apply the changes:

If you plan on using mod_rewrite in .htaccess files, you also need to enable the use of .htaccess files by changing AllowOverride None to AllowOverride FileInfo. For the default website, edit/etc/apache2/sites-available/default:


After such a change, you need to restart Apache again.