Step By Step Install Instructions For Concrete5
I've put together a step by step guide on how I quickly install Concrete5 using a simple PHP script and cPanel.
Here is my 6 step process
- In cPanel - create you MySQL Database, User and add the user to the database with proper permissions
- Use cPanel for this... it's very easy to do, you setup all your own passwords.
- Get the URL of the C5 Install from Concrete5.org
- You will use this in the next step. This is important so that you can go ahead and get a specific version of the software.
- Create a download script (and make sure it's using the script from step 2) and run it
- You'll find the code I use below. Note - my web host ran this with no problem. It took about 5 seconds to run, and left me with a blank screen. If you get an error message, you'll likely have to manually download the install zip, then upload it to your server. This usually only saves a few minutes, but it's nice to not have to download then upload the same file when you can simply do it in one step. Also - save this file to your hard drive, and then you can upload it whenever you want to deploy a new install.
- Unzip the c5 install archive
- Just go ahead and use the tool built into the file manager.
- Move the files into root
- I like my C5 install in the root, seems cleaner.
- Visit the website and run through the install screens
- You're done. You created the username, database and passwords, so it should be pretty easy to fill out and be up and running!
<?php
$url = 'http://www.concrete5.org/download_file/-/view/33453/';
$outputfile = "c5.zip";
$cmd = "wget -q \"$url\" -O $outputfile";
exec($cmd);
?>