free hit counter

While using one click installers is OK for beginners, It's far better if you plan to have a small business site, high traffic blog or even a frequently updated personal site to install Joomla manually via the command line. The process is very straightforward, and even novices can do this following this tutorial.

First off, you must have SSH access to your server. If you're on shared hosting, you might not have SSH on your account, so please check with your hosting provider. If you wish to get hosting that does have SSH access, we recommend either CloudAccess.net or Siteground.com as reliable, shared hosting providers (under $10/month too).

If you have purchased a VPS or have a dedicated server, then you'll definately have SSH access. Additionally, we will not go over how to use SSH in this tutorial as it's outside the scope for this article.

Download The Latest Joomla! Version

You'll need to SSH to your world accessible directory (usually either public_html or httpdocs). 

In a browser window, go to the Joomla! Github download page to grab the URL to the latest ZIP.

Copy this link, then head over to your SSH terminal and enter:

wget (paste the URL here), or in my case at the time of this writing:

wget https://github.com/joomla/joomla-cms/releases/download/3.4.3/Joomla_3.4.3-Stable-Full_Package.zip

Joomla will now download the Zip package into your public_html or httpdocs folder. 

Check for a default Index page by entering:

dir

to view the directory contents. If you see a default index page, something index.html, delete it:

rm index.html

Now, just unzip Joomla by entering:

unzip (package.zip), or in my case, again, it would be:

unzip Joomla_3.4.3-Stable-Full_Package.zip

Create the Joomla Database

For this tutorial, the database name is joomla and the user is user and password is password, but you will want to choose your own database, username and password.

Drop in to MySQL to create the database:

MYSQL -u root -p

and enter the password for the root MySQL user.

Create the database:

CREATE DATABASE joomla;

Create the user:

CREATE USER user@localhost;

Create the password for "user"

SET PASSWORD FOR user@localhost= PASSWORD("password");

Assign permissions to user on joomla database:

GRANT ALL PRIVILEGES ON joomla.* TO user@localhost IDENTIFIED BY 'password';

Refresh MySQL to reflect changes:

FLUSH PRIVILEGES;

Exit MySQL:

exit

Now, all you have to do is go to your website where you installed joomla, and you'll be greeted with the Joomla Install and Configuration page.

Configure Joomla From Your Web Browser

At this time, open your web browser and enter the IP address of your Raspberry PI. You will find the standard Joomla web install page:

1

Fill in the site name, your email address, the username and password for the admin user (you), and click the next button.

2

The next screen is the database screen. Fill the field out with your database name, database username and password that you previously created in the MySQL part of the tutorial above. The table prefix is automatically populated, so you can leave this alone. Also, you can leave "Old Database Process" alone because this is a new installation.

3j

Finally, you can just click Install on the "Finalisation" page to begin the installation.

installing joomla

The installer will complete within 5 minutes and you'll see the "Congratulations" screen below:

congrats

Click the orange "Remove installation folder" button to remove the install folder. The button will change to say "Installation folder successfully removed" when complete.

install folder removed

Finally, you can click either the SITE button to view the front end of your new Joomla site running on the Raspberry Pi 2:

frontend

Or you can login to the admin panel at http://(yourIPaddresshere)/administrator - for this tutorial, if my raspberry Pi's IP address was 192.168.1.100, then the login URL would be:

http://192.168.1.100/administrator

joomla administrator login

And successfully logging in, you will be greeted by your Joomla Administrator Control Panel!

joomla admin control panel

 And that's It! you've just installed Joomla manually using the Command Line!


About Joomla Resources

JoomlaResources.com is an unofficial blog for Joomla! news, extensions, templates and other useful information. We are in no way affiliated with or endorsed by Open Source Matters or the Joomla! Project. The official resources page is located at resources.joomla.org

powered by Joomla

Web Hosting