<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki-dev.creativecommons.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skarim</id>
	<title>CC Public Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-dev.creativecommons.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skarim"/>
	<link rel="alternate" type="text/html" href="https://wiki-dev.creativecommons.org/wiki/Special:Contributions/Skarim"/>
	<updated>2026-09-30T19:10:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki-dev.creativecommons.org/index.php?title=Cchost/guide/Installing&amp;diff=51695</id>
		<title>Cchost/guide/Installing</title>
		<link rel="alternate" type="text/html" href="https://wiki-dev.creativecommons.org/index.php?title=Cchost/guide/Installing&amp;diff=51695"/>
		<updated>2011-07-25T12:12:56Z</updated>

		<summary type="html">&lt;p&gt;Skarim: /* Upgrading to 5 from 3.0 or Before */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ccHost]]&lt;br /&gt;
[[Category:ccMixter]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
{{cchost_head}}&lt;br /&gt;
{{lowercase}}&lt;br /&gt;
=Getting ccHost=&lt;br /&gt;
Check [[Cchost#Download|ccHost home page]] for download instructions of the latest stable release.&lt;br /&gt;
&lt;br /&gt;
For instructions on the getting the latest snapshot directly from our source control system check the [[Cchost/Developers#Source_Code|source code home page]].&lt;br /&gt;
&lt;br /&gt;
=Installing=&lt;br /&gt;
== Simple  ==&lt;br /&gt;
The easiest way to get going is to start with a web hosting server. Common web hosting services like [http://www.brainpulse.com BrainPulse] ,   [http://www.dreamhost.com/ Dreamhost] and [http://www.websitesource.com WebsiteSource] provide an administration interface for setting up a mysql database. Hosting services also provide some FTP or SFTP mechanism to upload the ccHost installation files as well. 99% of all services provide support for PHP as well. If you have questions about support in this area, check the server requirements below and with your hosting service.&lt;br /&gt;
&lt;br /&gt;
#Unzip the ccHost ZIP archive on your local system and copy the files to your server retaining the the directory structure.&lt;br /&gt;
#Browse to &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://where_you_installed&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; and follow all the instructions from then on.&lt;br /&gt;
&lt;br /&gt;
== Advanced ==&lt;br /&gt;
If you have basic knowledge of using FTP and you are comfortable at a terminal command line you can use these steps. Many of these can be filed under &amp;quot;you&#039;ll be glad you did&amp;quot; by the time you get to the browser-based installation steps later on.&lt;br /&gt;
&lt;br /&gt;
=== Download/Install getID3 ===&lt;br /&gt;
ccHost depends on the getID3 library for verifying uploads. Install getID3 (at least 1.7.3) here: http://www.getid3.org/#download before you install ccHost. (It&#039;s a simple download-unpack operation.)&lt;br /&gt;
&lt;br /&gt;
Note: Make sure the release you install is marked as &#039;&#039;&#039;stable&#039;&#039;&#039;. Do &#039;&#039;not&#039;&#039; install anything that is &amp;quot;beta&amp;quot; or &amp;quot;alpha&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For example (on Linux):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar xzf getid3.tar.gz&lt;br /&gt;
cp -a getid3/getid3 /var/www/localhost/htdocs/getid3/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ccHost installer will &#039;find&#039; your getID3 installation if it&#039;s roughly in the same area of the server, however it is &#039;&#039;not&#039;&#039; required that your getID3 be visible on the web and in fact, it&#039;s probably more secure if it isn&#039;t.&lt;br /&gt;
&lt;br /&gt;
{{Infobox|BUG WARNING: Later versions of getID3 (starting with 1.7.7) have an issue with RIFF based files (WAV, AVI, etc.) when tagging them and require a manual patch in order to work properly. Remove line #105 in getID3/write.php that looks like:&lt;br /&gt;
 case &#039;riff&#039;: // maybe not officially, but people do it anyway }}&lt;br /&gt;
&lt;br /&gt;
=== ccHost Terminal Installtion ===&lt;br /&gt;
* Unzip the ccHost ZIP archive on your local system and copy the files (retaining the directory structure) to your web-server directory. &lt;br /&gt;
* On Linux change the group and permissions of the files so they may be written by the web server (e.g., in the following lines, the web-server account is &amp;quot;apache&amp;quot;).&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp -a cchost-1.0.3 /var/www/localhost/htdocs/cchost&lt;br /&gt;
chgrp -R apache /var/www/localhost/htdocs/cchost&lt;br /&gt;
chmod g+w /var/www/localhost/htdocs/cchost/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Create a new database for ccHost (e.g., named &amp;quot;cchost&amp;quot;) and create an administrative user to access it (e.g., &amp;quot;cchostadmin&amp;quot;).  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -p -u root&lt;br /&gt;
mysql&amp;gt; CREATE DATABASE cchost;&lt;br /&gt;
mysql&amp;gt; GRANT ALL ON cchost.* TO &#039;cchostadmin&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;YOUR_PASSWORD_HERE&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to change &#039;YOUR_PASSWORD_HERE&#039; (and maybe &#039;cchostadmin&#039;) to something unique to your site.&lt;br /&gt;
(Many systems provide &#039;&#039;&#039;phpMyAdmin&#039;&#039;&#039; to take care of these tasks.&lt;br /&gt;
*Create directory /var/log/cchost or other location to store log files.  Must be writable by the web-server account (e.g., &amp;quot;apache&amp;quot;).  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /var/log/cchost&lt;br /&gt;
chown apache:apache /var/log/cchost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are several suggestions for mod_rewrite and configuration settings [[cchost/admin/apache/config|here]].&lt;br /&gt;
&lt;br /&gt;
Browse to &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://where_you_installed_cchost&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Everything else you need to know will be on the screen from that point on, including topics covered above such as suggested php.ini and .htaccess settings, access permissions requirements, etc.&lt;br /&gt;
&lt;br /&gt;
= Upgrading =&lt;br /&gt;
{{Infobox|&#039;&#039;&#039;Always&#039;&#039;&#039; make a backup of your mySQL ccHost database and the files you change before you start the upgrade process. Things go wrong. You have been warned.}}&lt;br /&gt;
== Upgrading from 5.0 to higher ==&lt;br /&gt;
*Log in to your ccHost installation as an admin&lt;br /&gt;
*Unzip the ZIP archive on a local machine&lt;br /&gt;
*Delete the &#039;&#039;&#039;ccadmin&#039;&#039;&#039; directory on your local copy&lt;br /&gt;
*Copy the entire structure to your web installation&lt;br /&gt;
*Browse &#039;&#039;&#039;&amp;lt;you_installation_root&amp;gt;?update=1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Upgrading to 5.x from 3.1 and Above ==&lt;br /&gt;
===Before you upgrade===&lt;br /&gt;
==== Plugins ====&lt;br /&gt;
It is recommended that you do &#039;&#039;&#039;not&#039;&#039;&#039; copy any plugins or custom code that have not been ported to ccHost 5 during the initial upgrade. You should get your site up and running without them using the standard upgrade first, then start migrating your plugins.&lt;br /&gt;
==== Importing phpTAL Templates ====&lt;br /&gt;
None of your previous version skins, pages, etc. work anymore as is. You can try to import your old phpTAL XML templates using:&lt;br /&gt;
&lt;br /&gt;
     bin/cc-host-import-v4-template.php &lt;br /&gt;
&lt;br /&gt;
Many imported templates (like your home page) might &amp;quot;just work&amp;quot; but many will need tweaking, assuming you are familiar with PHP. A detailed description of what might go wrong is [[Preparing_for_ccHost_5.0|this document]].&lt;br /&gt;
&lt;br /&gt;
===Doing the upgrade===&lt;br /&gt;
* Log in as admin on your ccHost installation&lt;br /&gt;
* Make a backup of your database.&lt;br /&gt;
* Unzip the ccHost package on a local machine.&lt;br /&gt;
* Copy the entire tree (including ccadmin) to your installation&lt;br /&gt;
* Browse to &amp;lt;nowiki&amp;gt;http://&amp;lt;your_install_location&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upgrading to 5 from 3.0 or Before ==&lt;br /&gt;
Upgrading to 5 simply hasn&#039;t been tried or tested. (If you have some experience, please feel to share with the rest of the class.) It is therefore not recommended except for the very strong willed. &lt;br /&gt;
&lt;br /&gt;
Instead what you may want to consider (if you don&#039;t have a lot of content data) is start with a brand new installation using version 5.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
You can compare the [http://www.simonlydealsandcontracts.co.uk/compare_by_deal/Best-SIM-Only-deals.html Best sim only deals] for your mobile tariff.&lt;/div&gt;</summary>
		<author><name>Skarim</name></author>
	</entry>
</feed>