| View previous topic :: View next topic |
| Author |
Message |
swaminadhan
Joined: 14 Sep 2009 Posts: 52
|
Posted: Fri Nov 20, 2009 1:10 pm Post subject: installing softwares in ubuntu |
|
|
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 |
|
 |
scrapper
Joined: 22 Jan 2010 Posts: 2
|
Posted: Fri Jan 22, 2010 9:06 am Post subject: |
|
|
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 |
|
 |
swaminadhan
Joined: 14 Sep 2009 Posts: 52
|
Posted: Fri Jan 22, 2010 9:24 am Post subject: |
|
|
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 |
|
 |
|