Installing Joomla 1.5

From ALSwiki
Jump to: navigation, search

Dreamhost One-Click Installs

If installing Joomla! at Dreamhost, it couldn't be easier. Using their One-Click Installs, it takes about 10 minutes to install Joomla.

Set up the site

Select

 Domains > Manage Domains

Specify your web directory (type the appropriate bold goes into the web-form):

 /home/username/domainname/htdocs/

By using an htdocs subdirectory, you have the option of putting other files outside your web root that are still associated with this site -- php include files for example.

Install Joomla using the One-Click Install

Select

 Goodies > One-Click Installs

Select

 Install new website software (advanced)?

Do the following

  • Check Joomla 1.5
  • Set the install-to location. If you want Joomla to run your entire site, install it at the site root with no subdirectory.
  • Select Create a new data base now
  • Give it a name like <siteabbreviation>joomla
  • Set the user dropdown to "Create a new user"
  • Give the user a name lime <siteabbreviation>joomlauser
  • Set a password
  • Double check everything.
  • Click "Install it for me now!"

An email should arrive in 5-10 minutes with Joomla set up instructions.

  • Follow them.

A more detailed version follows

Dreamhost

Directory Structure

I'm setting up a new site to replace one that already exists. At this time, I don't have access to the dns for the current domain. I want to set up a directory structure that I can use to develop the new domain, make it visible via a url that I control when we are ready, cut over. The existing domain is blueandgrayeducation.org. I plan to use as a bg.alstevens.org. As a convention, I name the directory to be v<n>.domain. v1 indicates version 1, v2, will indicate version 2, etc.

Point the domain at the directory

  • Using the "Manage Domains" web control panel, edit the domain bg.alstevens.org as a fully hosted domain. Set the web directory to:
 /home/username/v1.blueandgrayeducation.org/htdocs/
  • Check "remove www".
  • Click "Fully host this domain now"
  • Login to the serer via putty and check to make sure the new directory is there.
  • Wait for the Joomla robot to finish and then check the domain with a web browser. If there's more than an empty directory, the domain is pointing at the wrong place.

Install Joomla! 1.5

Install Joomla and Create the Data Base

Using the Dreamhost Web Panel, select

 Goodies >> One-click installs >> Install new website software - Advance mode
  • Select the software: Joomla! 1.5
  • Install it to the top-level. No subdirectory is needed since bg.alstevens.org points to htdocs. If I did install to a subdirectory, e.g. joomla, I would need to get to it by using bg.alstevens.org/joomla -- not what I want.
  • Select create a new data base. using a convention of <2 initials>joomla<version>, call the db bgjoomla. Create a user, again, by convention ...omitted... And create a password.
  • Double check everything -- once launched, the install script will remove any files already there.
  • Use putty again and watch the directory fill up. It usually happens in a minute or two.

Complete the initial setup

Dreamhost follows the software/db install with emailed instructions. Complete them right away so that someone else doesn't do it for you. The instructions are pretty clear. I've added a few notes:

 1: Language -- select 'en-GB - English (United Kingdom)' and click Next
 2: Pre-installation Check -- everything should pass. If not, you are in trouble. click Next
 3: License -- click Next
 4: Database -- these all need to be entered. Check them twice -- click Next
 5: FTP Configuration -- leave it unconfigured. You don't need it. click Next
 6: Configuration -- scroll down to 'Load Sample Data, Restore, or Migrate Backed Up Content'
    select 'Install Default Sample Data'
    click 'Install Sample Data'
    Fill in the site info
    Site Name: Blue and Gray Education
    Your E-mail: myname@mydomain.com
    Admin Password: (pick a secure one)
    Confirm Admin Password: (re-type password again) -- and write it down right away
    click Next
 7: Using putty, or ftp, remove the "installation" directory -- or Joomla will tell you to.
 8: Click the link at the top for "Admin" and log in as "admin" with the password you just set.

Add the master db user

I manage my mysql data bases using one "master user". Using the Dreamhost Web panel:

  • Select Goodies >> Manage MySQL
  • Click "Add User" next to the new data base and add the master user.

Record all passwords, accounts and db names

I put them all in my password vault.