Senior & Expert RoR Developers Discussion Forum by Nyros Technologies

HIRE Ruby on Rails Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

installing softwares in ubuntu

 
Post new topic   Reply to topic    Senior & Expert RoR Developers Discussion Forum by Nyros Technologies Index -> Database installations
View previous topic :: View next topic  
Author Message
swaminadhan



Joined: 14 Sep 2009
Posts: 52

PostPosted: Fri Nov 20, 2009 1:10 pm    Post subject: installing softwares in ubuntu Reply with quote

Hello developers!

When we wants to work in the ubuntu environment we have to install some softwares.so lets look for the command to install those softwares.
================================
1. First of all we should install the ruby software .For this the command we use is

sudo apt-get install ruby

With the above command the Ruby software gets installed.

================================

2. Once the ruby software gets installed we have to install Ruby gems,to do this we have to execute the following command

apt-get install ruby gems

with the above command we can install the ruby gems

================================================

3. Once the Ruby gems gets installed we have to install Rails, to install Rails we have the following command

gem install rails

================================================

4. Installation of MYSQL/phpMyAdmin for ubuntu 9.0

sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin


execute the above commands , you will be able to run phpmyadmin in your localhost.

===========================================

5. The command used to access the root is

sudo -i -u root

=========================

Similarly we will have different commands for installing different softwares.


Thank you,
swaminadhan.
Back to top
View user's profile Send private message
scrapper



Joined: 22 Jan 2010
Posts: 2

PostPosted: Fri Jan 22, 2010 9:06 am    Post subject: Reply with quote

hi,

I have followed the above procedure and still i was not able to install the phpmyadmin user interface. My version of ubuntu is 9.04.

I used the terminal with sudo apt-get install phpmyadmin. It all downloaded and I was asked which server to use. Apache2 was highlighted so I accepted it.

I used Synaptic again to check, and it found it OK. It said it was installed, gave all the versions & everything. The only thing it didn't tell me is where it is.

I opened Firefox, typed http://localhost/phpmyadmin/ in the address bar and got the following 404 again:-

The requested URL /phpmyadmin/ was not found on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch Server at localhost Port 80


I have checked whether the mysql was properly installed or not? I found that it was installed perfectly fine and i was able to use the mysql using console.

Anyone can help me to get this issue fixed.

Thanks in advance.
Back to top
View user's profile Send private message
swaminadhan



Joined: 14 Sep 2009
Posts: 52

PostPosted: Fri Jan 22, 2010 9:24 am    Post subject: Reply with quote

hey scrapper,


The only thing that's missing is the symbolic link to the phpMyAdmin directory.

Run the following command and you'll have a folder called "phpmyadmin" in your localhost.

sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin

Now you can access phpMyAdmin at http://localhost/phpmyadmin/

Hope that helps!

thank you,
swaminadhan.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert RoR Developers Discussion Forum by Nyros Technologies Index -> Database installations
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Documentation
0 Anu 8 Thu Mar 18, 2010 4:01 am
Anu View latest post
No new posts File handling in ruby
0 Anu 18 Wed Mar 17, 2010 2:14 pm
Anu View latest post
No new posts sending an email from rb file
0 umamahesh_nyros 15 Wed Mar 17, 2010 6:13 am
umamahesh_nyros View latest post
No new posts difference bewteen render component and render partial
0 umamahesh_nyros 11 Wed Mar 17, 2010 6:06 am
umamahesh_nyros View latest post
No new posts Acts_as_tsearch plugin
0 swaminadhan 23 Sat Mar 13, 2010 9:10 am
swaminadhan View latest post
No new posts Built in classes in ruby
0 ktulasi 33 Thu Mar 11, 2010 1:09 pm
ktulasi View latest post
No new posts User defined classes and types of variables.
2 swaminadhan 51 Wed Mar 10, 2010 4:40 am
swaminadhan View latest post
No new posts Background & Introduction of ruby
0 Divya 49 Mon Mar 08, 2010 12:59 pm
Divya View latest post
No new posts i have lost the data in schema.rb file in rails application
0 Raja 57 Thu Mar 04, 2010 4:46 am
Raja View latest post
No new posts AlertPay
0 Raghu 37 Mon Mar 01, 2010 11:36 am
Raghu View latest post




Hire an expert Ruby on Rails developer / coder / programmer or development team from India now!!

Other Forums : PHP   ::   .Net   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About Ruby on Rails Experts   |   More