Submitted by pginpa
I successfully got Concrete5 working on a 1and1.com shared UNIX hosting account. By following these instructions, you may be able to do so too.
PLEASE NOTE:
- I am not an IT professional and cannot be responsible for the failure of this process, or any negative outcome you might experience. This is provided as information only.
This tutorial assumes:
- You have a UNIX shared hosting account on 1and1.com with MySQL access. This will not work on a Windows account.
- You have a web browser
- You have an ftp program installed and working, capable of connecting to your webhosting account.
- You have a rudimentary knowledge of editing and manipulating files for a website.
If you meet the above requirements...
Here's the short version for the intermediate user:
- Download the latest version .zip archive of Concrete5.
- Log into your admin.1and1.com
- Run MySQL Administration.
- Create a New Database with a slightly descriptive name. Make SURE you select MySQL 5.0 format, or it will NOT work!
- Make careful note of the information you get: database name, username, password, host name.
NOTE: By the time you get through the following steps, the database should be created and active. - Return to control panel.
- Run Webspace Explorer.
- Upload the .zip file of Concrete5 to your root directory.
- Unzip the archive using the menus.
- Optionally rename the resulting directory to something manageable, like just "c5" (which I will use for the remainder).
- Use FTP to set permissions on directory "c5/config" to 755.
- Use FTP to set permissions on directory "c5/files" AND its subdirectories to 777.
- Concrete5 must use PHP5 and will look for file index.php, so use a text editor to create an .htaccess file containing:
DirectoryIndex index.php
AddType x-mapp-php5 .php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] - FTP it to your c5 directory.
- Open a browser window and try to go to http://whateveryoursiteis/c5/
- You should be prompted to enter the database info from above. Do so precisely!
- With luck, Concrete5 is now running.
Here's the detailed version for the less-advanced user:
- Download the latest version .zip archive of Concrete5 via the link on the website, saving it to your PC.
- Log into your control panel at admin.1and1.com
- Run the MySQL Administration program (under Web Space & Access).
- Click on the New Database button.
- Enter a slightly descriptive name, like "C5 cms database v1"
- Make SURE you select MySQL 5.0 format, or it will NOT work!
- Click the Set Up button.
- Make careful note of the information you get on the database: database name, username, password, host name. Printing the page for your files is a good idea. NOTE: By the time you get through the following steps, the database should be created and active.
- Return to the 1and1 control panel.
- Run the Webspace Explorer program (also under Web Space & Access).
- Click on the initial folder to display its contents. The "current path" shown should be just a slash, indicating you are in the root directory of your webspace.
- Select Transfer/Upload. Browse to the .zip file of Concrete5 that you downloaded, and upload it to your root directory.
- Wait. If you are lucky, you have a fast connection and it won't take long.
- When the upload is complete, you should see the .zip file in your root directory, for example "concrete5.2.0RC2.zip"
- Select the .zip file by clicking on it, then go to the menu and select Archive/Unzip.
- The archive will be unzipped into a directory, for example "concrete5.2.0RC2".
- You may want to rename this something manageable, like just "c5", which you can do by right clicking on the directory name and selecting Rename.
- Start Firefox and FireFTP and connect to your webserver account. (Note: you can theoretically set permissions using Webspace Manager, I just don't quite trust it. It seems unreliable.)
- Browse to the new directory (I'm assuming you renamed it "c5").
- Find directory "c5/config", right click on it and select "Properties".
- Set permission for the folder to 755.
- Find directory "c5/files", right click on it and select "Properties (including contents)".
- Set permissions to 777. Make sure you tick Apply to: [This Folder] and [All Contained Folders].
- Open a text editor and create a file containing the following, starting on line 1:
DirectoryIndex index.php
AddType x-mapp-php5 .php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] - Save this file as name .htaccess (NOTE: the period is critical) and FTP it to the c5 directory.
- Open a browser window and try to go to http://whateveryoursiteis/c5/
- You should be prompted to enter the database info from step 8. Make sure you do so precisely!
- With luck, Concrete5 is now running and you can log in to your site and make changes.
Caveats:
- I suggest you leave the .zip file on Concrete5 in your root directory for now. If you have to reinstall from scratch, it will save you the upload time.
- I have not tried relocating my site from http://whateveryoursiteis/c5/ to any other location, or otherwise obscuring the fact that it is in a subdirectory rather than root. I'm trying to figure that out right now! Sorry.
Loading Conversation