answersLogoWhite

0

How do you install Joomla in Ubuntu?

Updated: 8/17/2019
User Avatar

Wiki User

13y ago

Best Answer

1. first Install LAMP (Linux, Apache, MySQL, PHP)

Install LAMP on UbuntuThe Ubuntu developers have made it easy to install the LAMP server packages with a single command. Simply open a terminal window and enter the following.

sudo apt-get install lamp-server^

No, that's not a typo. Please make sure to include the caret (^). The command will not work without it.

sudo apt-get install lamp-server^

The apt package manager will show all the packages that need to be installed. Hit to confirm that you want to install them.

LAMP packages

You will then be prompted to change the password for the root user on the MySQL database.

Set MySQL root password

Enter the password you want. You'll be prompted to enter it a second time to confirm.

After you confirm your password, apt will continue to install the rest of the packages.

Congratulations, your LAMP installation is now complete! That was the easy part, now you need to get a few things configured to make your system easy to work with.

Test ApacheOpen a web browser and enter the address http://localhost/. You should see a web page that says "It Works!"

Testing Apache

Test phpNow that you know Apache works, you'll want to test the phpinstallation. You'll need to create a file in /var/wwwcalled testing.php. Open a terminal and enter:sudo nano /var/www/testing.php

Enter the following line into the text editor, save the file and exit.

Next, restart Apache with the following terminal command:sudo /etc/init.d/apache2 restart

Now go back to your web browser and enter the address http://localhost/testing.php/. You should see a page displaying version information for your php installation.

php Information

Configure MySQLSince I'm installing LAMP for a web development environment, I want the MySQL database to be bound to the localhost IP address. This should be 127.0.0.1 for your system. You can verify it with this terminal command.cat /etc/hosts | grep localhost

You'll now want to verify that the correct bind address is set up in MySQL's my.cnf file.cat /etc/mysql/my.cnf | grep bind-address

You should see a line that looks like this: bind-address = 127.0.0.1

If the IP address doesn't match the one for your system, you'll need to edit the my.cnf file to correct it.

Install phpMyAdminYou don't need to install phpMyAdmin, but it's a much easier way to get in and adjust things in your MySQL database if you're not familiar with MySQL's commands. You can install phpMyAdmin from the command line with:sudo apt-get install libapache2-mod-auth-mysql phpmyadmin

The installation will prompt you to select a web server for automatic configuration.

phpMyAdmin Setup

This is important! Use the space bar on your keyboard to select apache2. Make sure there's a * next to apache2 like the picture below and then hit . (Click the picture to enlarge it and see what I'm talking about.)

phpMyAdmin Setup: select apache2

The next screen will explain some information about database configuration. Hit the key to move on.

phpMyAdmin database config

Another screen will come up asking if you want to configure a new database called dbconfig-common. Since this is a fresh installation, use the key to select Yes and hit .

phpMyAdmin dbconfig-common

You'll be prompted next to enter the MySQL root password. Enter the MySQL root password that you created earlier, hit to select Ok and hit .

MySQL root password

You'll then be prompted to enter a MySQL application password for phpmyadmin. You can hit and a random password will be generated. I chose to use the same password that I used for the root MySQL password.

MySQL application password

If you enter your own password, a password confirmation screen will come up. Confirm your password.

MySQL application password confirmation

Your phpMyAdmin installation and configuration is now complete.

Testing phpMyAdminOpen your web browser and enter the address http://localhost/phpmyadmin/. You should see a page like this.

phpMyAdmin log in

You can log in with the username root and the root password that you created earlier.

Logged into phpMyAdmin

Congratulations, you're now ready to start building your local website. If you're only working on one site you can put all of your files into /var/www. If you'll be working on multiple sites you may want to consider some additional Apache configuration to keep things neat and clean on you system.

2. Then download joomla from joomla dowload page (www.joomla.org)

extract your joomla zip file in /var/www/ and then locate your browser to your extract joomla file Follow the joomla instruction instruction.

That is it....

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you install Joomla in Ubuntu?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does installing ubuntu remove windows?

No. After download and burn the Ubuntu 10.10 install disk, you can either TRY Ubuntu without affecting your Windows at all, or INSTALL Ubuntu to have them both in your PC. However, to install Ubuntu, you need to be careful. Make sure not to install Ubuntu to the Windows drive. That is all.


How do you install Adobe Flash Player on Ubuntu?

install ubuntu-restricted-extras from the package repositories or ubuntu software center.


Does joomla provides domain name and hosting?

No But you can find a free hosting company and install joomla on it


How do you install Ubuntu Linux on a separate partition?

Click the install as partition when installing Ubuntu.


How do you Install Joomla from Fantastico?

Login at your admin cpenal . click on fantastico icon >> Select Joomla >> New Installation >> Select Root. and click on install


How do you install ubuntu on an iMac G5?

PowerPC version of Ubuntu.


How do you install ubuntu 6.10 on a second partition?

When you boot from the install CD, indicate which partition you want Ubuntu installed on.


How do you install Enlightenment in Ubuntu?

sudo apt-get install e16


How do you install Photoshop on Ubuntu?

Install Crossover Office and then install Photoshop thru it.


What is the best version of GIMP to download?

Get the Ubuntu (linux) version. If you install ubuntu it comes with it.


How do you format a hard disk with Windows and Ubuntu and only use Ubuntu afterward?

When you first install Ubuntu, it will walk you through the steps to install it and keep your other OS installed. Then when you boot your dual-boot system, you can simply select Ubuntu.


Can you use Wubi to install another Operating System other than Ubuntu Like Windows Vista etc?

Wubi can only be used to install Ubuntu. (It stands for Windows-based Ubuntu Installer).