6 easy steps: Install Joomla locally, design and develop, transfer to live servers.
Quick Tutorial on how to install Joomla! on your local computer, then how to move your Joomla! to a live server environment once your finished designing and developing it. In a nutshell, here's what we're doing.
- We'll download and Install a stand-alone server enviroment (PHP,MySQL,Apache), pre-packaged with a full version of Joomla!
- We'll show you how to access your Joomla! site, and the admin area of the site.
- You'll then build your site…
- You'll then transfer your database and site directory.
- The configuration file will need modification.
- That's it, you're up and running.
Tools we'll be using:
- JSAS – Stand alone server environment, pre-packaged with PHP, MySQL, Apache, and of course… Joomla!
- FileZilla – FTP Client
- Moovla – PHP File that helps modify the configuration file after we've transferred the site
- Unzip the Tools.zip file
- Install JSAS
- Once you've installed JSAS, run the program
- When you install JSAS, you'll see that a new Drive has appeared under "My Computer." This is where your directory and your data are located. Keep this in mind.
- The Joomla! user/pass is defaulted to: admin/admin
*Note: JSAS allows you to have several Joomla! installations… for this demonstration, we'll be using the default, pre-installed Joomla! site, at http://localhost:85/joomla, and using folder 'joomla.' To create new installations:
- open the JSAS control panel
- Click 'Admin'
- Click 'My JSAS'
- Click 'Create a new site'
- Name your site, folder name, and database
- From there, click 'Advanced Options'
- Click 'Install Joomla.'
- From here, you'll be guided through the Joomla! installation
*Another Note: Get familiar with the JSAS control panel. It has several additional tools that we'll be using later. For more information on using JSAS, go here: http://jsas.joomlasolutions.com/docs/myjsas.htm Step Two: Build your Joomla! site. Unfortunately this tutorial isn't about building the site… It's simply to teach you how to build locally and then move your site to the live server environment. Step Three: Preparing your files and exporting your database. When you get here, we assume you're happy with your site and you're ready to make it 'LIVE!' FILES
- Go to your root installation folder: Start > My Computer > Local Disk (W:) > www > joomla >
- Drag 'moovla.php' into the /joomla folder (moovla.php is included with the Download )
- Open the JSAS console
- Click 'admin'
- Click 'PHP MyAdmin'
- Locate your database in the dropdown, on the left side of the screen, select your database.
- *If you don't remember the name of your database, go to the admin area of your Joomla! site, click 'Site > 'Global Configuration. Then click on the tab named 'database.' You'll see the database name there.
Step Four: Accessing your server Included in the Download was an application called 'FileZilla.' This is a great FTP client that will allow you to easily access your file system on the live server.
- Install FileZilla
- Create a new account, from within FileZilla
- The host will be the name of your website… Example: www.openjason.com
- username: Check with your host for this information
- pass: Check with your host for this information
Step Five: Creating and Importing the database (if you're not that familiar with creating a database, talk to your host)
- Create a new database – Go to your cPanel and create a new 'MySQL database.' If you're not using cPanel, ask your host how to create a new database and how to access phpMyAdmin.
- Go to phpMyAdmin. There should be a link from within your cPanel, or whatever software you're using.
- On the select menu, select the database you have just created. (left side of the screen). Now, NOTE that the database will now have a prefix on it. Probably something like (accountname)_databasename. The same applies to the MySQL username… For me, the database name would be: openjason_joomla. This is because I initially named the db 'joomla,' but the system attached on my account name and an underscore before the db name.
- Go to 'import' on the top menu links
- Browse for the database file you saved on your desktop
- Install the database
Your database should import without errors into the newly created database. Step Six: Modifying the configuration file. Almost done! Now we have to change the configuration file in the root directory of your joomla site. This can be done manually, or it can be done using moovla.php.
- Open firefox and type: www.(yoursite).com/moovla.php (remember, we added the moovla.php file to the root directory a while back)
- Enter the information… please note that you have to have the correct database name, user, and password. This was all defined in Step Five, creating a new database.
- Click 'Submit Changes'
- We're done! I'm open for questions here… please comment and I'll happily reply! Also, the video demo is soon to follow.