Search This Blog

Sunday, October 3, 2010

Install Sun Virtual Box

Hay Guy's you have to follow 4 steps to install Sun virtual Box on CentOS or RedHat


Step 1:
First we have to get Sun’s public rpm key:



Step 2:
Now we have to enable the VirtualBox repository on our system:



Step 3:
Install VirtualBox 3.1.x



Step 4:
Now you must add the user that will run VirtualBox (admin in this example) to the vboxusers group:


 

Step 1:
First we have to get Sun’s public rpm key:


[root@~]# wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc
[root@~]# rpm --import sun_vbox.asc
[root@~]# rm -f sun_vbox.asc

Step 2:
Now we have to enable the VirtualBox OpenSUSE repository on our system:

[root@~]# cd /etc/yum.repos.d/
[root@~]# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo


Step 3:
Install VirtualBox 3.1.x

[root@~]# yum install VirtualBox-3.1


Step 4:
Now you must add the user that will run VirtualBox (admin in this example) to the vboxusers group:

[root@~]# /usr/sbin/usermod -G vboxusers admin

VirtualBox is now installed and ready to be used.

To access virtualbox goto Applications->System Tools->Sun VirtualBox

Monday, August 2, 2010

How to unrar rar files with ubuntu or Kubuntu

Imagine you have .rar file. But on Ubuntu or Kubuntu platform you can't unrar file. First of all you have to install unrar package. This is how we are install unrar package.


1. Open Your Terminal
2. Type sudo apt-get install unrar-free 


Now you can unrar your file very easily.

Friday, July 30, 2010

Install BlueFish Programming IDE

Blue-Fish is valuable IDE for programmers and Designers. Because it's support for many programming languages.Try to install and get Develop.


Installing 2.0.0 (current stable) 

add the following line, that fits your Debian version, to 

/etc/apt/sources.list   

 deb http://debian.wgdd.de/debian lenny main contrib non-free

or put a snippet into /etc/apt/sources.list.d/

sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list 
Then install the repository cryptographic key and Bluefish:

apt-get install wgdd-archive-keyring
apt-get install bluefish

Installing 2.0.0 (current stable) on Ubuntu 9.04 or newer

add the following line to /etc/apt/sources.list 


deb http://debian.wgdd.de/ubuntu jaunty main restricted universe multiverse or 
put a snippet into /etc/apt/sources.list.d/ 


sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_ubuntu.list -N -P /etc/apt/sources.list.d 
 
Run updates, to pick up the newly available options 


apt-get update 
 
(NOTE:- You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that)
Then install the repository cryptographic key and Bluefish: 


apt-get install wgdd-archive-keyring apt-get install bluefish 


Installing Bluefish on Windows XP/Vista/7 (32 bit)


Installing 2.0.1 (current stable)

download Bluefish-2.0.1-setup.exe from the main download server  


http://www.bennewitz.com/bluefish/stable/binaries/win32/
 
(NOTE: -This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.)







Wednesday, July 28, 2010

LAMP installation for Ubuntu

LAMP - Linux Apache Mysql Php

Apache

Install Apache
sudo apt-get install apache2
(Testing HTTP Server by open a web browser and enter http://localhost)

PHP

Install PHP5
sudo apt-get install php5 libapache2-mod-php5

Stop/Restart Apache
sudo /etc/init.d/apache2 restart


Test the installation
sudo gedit /var/www/testphp.php
(you can use vi or nano editor instead of gedit)
Insert this following line into test.php file.
Save this new file.
Open a web browser and enter http://localhost/test.php
Be sure to remove the file afterwards, as it may pose a security risk.
sudo rm /var/www/test.php

MySQL

Install MySQL Server
sudo apt-get install mysql-server
MySQL initially only allows connections from the localhost (127.0.0.1). We’ll need to remove that restriction if you wish to make it accessible to everyone on the internet. Open the file /etc/mysql/my.cnf
gksudo gedit /etc/mysql/my.cnf
Find the line bind-address = 127.0.0.1 and comment it out then save the file.
MySQL comes with no root password as default. This is a huge security risk. You’ll need to set one. So that the local computer gets root access as well, you’ll need to set a password for that too. The local-machine-name is the name of the computer you’re working on.
mysqladmin -u root password yourpassword
mysqladmin -h root@local-machine-name -u root -p password yourpassword
sudo /etc/init.d/mysql restart

MySQL Administrator

Install MySQL Administrator
sudo apt-get install mysql-admin

Refresh Gnome Panel
killall gnome-panel


Run MySQL Administrator
(On ubuntu) Applications -> System Tools -> MySQL Administrator
(On Kubuntu) Applications -> Development -> MySQL Administrator


MySQL for Apache HTTP Server

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
To get PHP to work with MySQL, open the php.ini file
gksudo gedit /etc/php5/apache2/php.ini
You’ll need to uncomment the “;extension=mysql.so” line so that it looks like this
extension=mysql.so
Restart Apache
sudo /etc/init.d/apache2 restart