Archive for the ‘Ubuntu’ Category

OAFIID:GNOME_FastUserSwitchApplet

If you Ubuntu won’t on GNOME Desktop, type startx.

A dialog appears with an error message: OAFIID:GNOME_FastUserSwitchApplet

Try run the following command:

sudo aptitude install gnome-applets
sudo aptitude install fast-user-switch-applet

Source: Ubuntu forums

,

No Comments


Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Error: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

This means the current user or user the service has no read/write permission on the folder.

Type the following command to change permission

chmod a+rwx /path/to/folder

Read More
chmod tutorial

, ,

No Comments


Installing LAMPP in ubuntu
  1. Open Accessories->Terminal.
  2. Type the command, sudo apt-get update && sudo apt-get -y install lamp-server^, this will install apache, mysql and php on the machine and it will start automatically on boot time.
  3. Also, you need to install the phpmyadmin to manage mysql database. To install phpmyadmin type the command, sudo apt-get install phpmyadmin
  4. Next, you also need to configure the apache. Type the command, gksudo gedit /etc/apache2/apache2.conf, this will open the apache2.conf file.
  5. Include the following command to the apache2.conf, Include /etc/phpmyadmin/apache.conf
  6. Lastly, restart the apache
  7. sudo /etc/init.d/apache2 restart

mysql data path – /var/lib/mysql/
web root directory – /var/www/

phpMyAdmin

, ,

No Comments


How to Install .tar

TAR files are generally not compressed; simply added together into a single file. Most programs that will handle .ZIP or other archive formats will also handle .TAR files.

1. Open Terminal
2. Type the command, sudo tar -xjvf -C .

, , ,

No Comments


How to Install .bin

To Install the .bin file extension in Ubuntu;

First, you have to make the .bin file executable,

1. Open Terminal (Applications->Accessories->Terminal).
2. Change the current directory if necessary, use cd command to change the directory.
3. sudo chmod +x

Finally, run the .bin file

1. In Terminal, type sudo

, ,

2 Comments


How to Install .sh extension

To install the .sh file extension in ubuntu, you can use the Terminal to install.

1. Goto Applications->Accessories ->Terminal
2. Change to the directory that the .sh file located.
3. Type sudo sh

or

You have to make the .sh file to executable.
1 . Open Terminal
2. Locate the directory of file to install (.sh)
3. Typed sudo chmod +x
4. To execute, just type the filename in the Terminal, or ./

,

No Comments



SetPageWidth