Friday, February 18, 2011

Installing ROR (Ruby on Rails) on Ubuntu 10.04

sudo apt-get install build-essential

sudo apt-get install ruby rdoc libopenssl-ruby ruby1.8-dev irb

wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz

tar zxvf rubygems-1.3.7.tgz

cd rubygems-1.3.7

sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem

Check gem version
gem -v

to get newest gem version, type following command
sudo gem update --system

then install rails
sudo gem install rails -v=2.3.9

sudo apt-get install sqlite3

sudo apt-get install libsqlite3-dev

sudo gem install sqlite3-ruby

Installing Apache2 with PHP5 and MYSQL support

Open your terminal and enter the following command to start installation

1. Installing Apache2
sudo apt-get install apache2

2. Installing PHP5
sudo apt-get install php5 libapache2-mod-php5

3. Installing MYSQL
sudo apt-get install mysql-server mysql-client
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin

Installing Netbeans on Ubuntu 10.04

Open your terminal and paste command at the below.

First time install the jdk
sudo apt-get install sun-java6-jdk sun-java6-jre

Then download the Netbeans, here's download as you want: http://netbeans.org/downloads
after download was completed, go to on the location file saved with terminal and install
 sh netbeans-6.9-ml-ruby-linux.sh

Sunday, February 6, 2011

Rename "CD/DVD Creator" Nautilus title in the Global Menu

Goto Preferences/Main Menu on the left sidebar select Other then on the right sidebar select button +New Item and named it File Browser (whatever you want give the name it) and type nautilus in the Command box.

That's all, hope helpful :)

How to remove the litle arrow on the Main Gnome Menu

Ok, open your terminal and follow the instructions:

First, let's download the package
sudo apt-get source gnome-panel

sudo apt-get build-dep gnome-panel

Then edit the applicable file (change "your_login_name" with your login name actually)
sudo gedit /home/(your_login_name)/gnome-panel-2.30.0/gnome-panel/panel-menu-button.c

find the word "has-arrow" (CTRL + F)
change the value "TRUE" to "FALSE" then save and exit :D


Re-open your terminal again and type

cd /home/(your_login_name)/gnome-panel-2.30.0/
sudo ./configure
sudo make
sudo make install

So, finally restart your gnome panel
killall gnome-panel

Hope, helpful.