<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>jCore Server - jCore - the Webmaster's Multisite CMS</title>
<link>http://jcore.net/</link>
<description>jCore is the web Content Management System build especially for webmasters to easily maintenance multiple websites</description>
<copyright>Copyright 2009, jCore - the Webmaster's Multisite CMS</copyright>
<lastBuildDate>Sun, 26 Jul 2009 17:39:00 +0100</lastBuildDate>
<managingEditor>support@jcore.net</managingEditor>
<webMaster>support@jcore.net</webMaster>
<generator>jCore CMS ver.0.1</generator>
<ttl>60</ttl>
<image>
<link>http://jcore.net/</link>
<url>http://jcore.net/favicon.ico</url>
<title>jCore Server - jCore - the Webmaster's Multisite CMS</title>
</image>
<item>
<title>How-to Install jCore Server</title>
<link>http://jcore.net/how-to/install/jcore-server/how-to-install-jcore-server</link>
<description><![CDATA[<p>The following instructions are mostly for users who have a server set up with directories for each user/client and have full access to that server but with some modifications you should be able to install jcore even without full access.</p>
<p>As I use cpanel for my hosting (btw I use Hostgator) the settings best apply to those situations.</p>
<p>There are two ways to install jCore server, one is to install it as a standalone system meaning you will run a website on it and not use it as a core for the jCore clients, and the other way is to install it as a core system where you still will be able to run  a website on the top of it but usually not recommended.</p>
<p><strong class="white">INSTALL jCore Server as Core System</strong></p>
<ol>
    <li>Copy the content of this directory to a global place. Usually I use /var/www/jcore/ directory.<br />
    &nbsp;</li>
    <li>Create a subdomain for your main domain where you would like to access the jCore server, for e.g. it could be jcore.yourdomain.com which will create a directory in your home /home/yourdomain.com/public_html/jcore/<br />
    &nbsp;</li>
    <li>Now delete the jcore directory just got created in your home folder (/home/yourdomain.com/public_html/jcore/) and create a symlink to /var/www/jcore/<br />
    &nbsp;</li>
    <li>That's it, just make sure to configure the jCore clients with the right url/path defined above and everything should work just fine.</li>
</ol>
<p><strong class="white">INSTALL jCore Server as Stand Alone website</strong></p>
<ol>
    <li>Copy the content of this directory to a home folder, for e.g. /home/yourdomain/public_html/</li>
    <li>Once content is copied and IF NO PHPChmod is activated give write access to the following directories to everyone:<br />
    <br />
    rss/ <br />
    sitefiles/banner/ <br />
    sitefiles/design/ <br />
    sitefiles/file/ <br />
    sitefiles/flash/ <br />
    sitefiles/image/ <br />
    sitefiles/media/</li>
</ol>
<p><strong class="white">SETTING UP MySQL</strong></p>
<ol>
    <li>Now we have everything set up we just need to configure it but before that we need to setup the MySQL db for the site. To do that please go to your cpanel, usually http://yourclient.com:2082 and click &quot;MySQL Databases&quot;.<br />
    <br />
    Here you should create a db, enter the name for your db New Database: [yourdb]<br />
    <br />
    Please note: your db will be prenamed with your clients' username, for e.g. it will look like this: yourclient_yourdb<br />
    <br />
    I usually enter only DB when creating a new database for my clients and then I have a db called myclient_DB<br />
    &nbsp;</li>
    <li>After you have set up the db you have two options, or you create a user for this new db or you just use the one you used to login to cpanel as that one will work too.<br />
    <br />
    For safety I recommend to use a new user/password for the db connection, just scroll down and where it says  &quot;Add New User&quot; enter the username and the passwords, click Create user and that's it.<br />
    <br />
    Now below &quot;Add User to Database&quot;, select the new user you created and for the Database select the DB you created and  click Add and check all privileges for the user and that should be.<br />
    &nbsp;</li>
    <li>After we have the DB set up, it's time to import the SQL file. First in your cpanel go back to home and click the &quot;phpMyAdmin&quot; icon and select your new db just created.<br />
    <br />
    NOTE: You should define a Collation for your db click on the &quot;Operations&quot; in phpMyAdmin as this charset will be used for your whole db and if you want characters like Hungarian you should set this to latin2_hungarian_ci for example.<br />
    &nbsp;</li>
    <li>Click &quot;Import&quot; in phpMyAdmin and browse to the jCore-client-0.1.sql file you downloaded and click &quot;Go&quot; This will import the tables and set up some example entries for you.</li>
</ol>
<p><strong class="white">CONFIGURING jCORE Server</strong></p>
<ol>
    <li>Now we should have both jCore and MySQL set up, it's time to configure it to use the right core and database.<br />
    <br />
    Go to your jCore servers directory and edit config.inc.php as following:<br />
    <br />
    SQL_HOST (you should leave it as it is, change it only if needed)    SQL_DATABASE (the new database you created, for e.g. yourclient_DB)    SQL_USER (the new user you created for your database)    SQL_PASS (the password for the user)<br />
    <br />
    SITE_URL_PATH (the url of your new site, for.e.g http://yourdomain.com/)       NOTE: please always add a slash to the end of the url!<br />
    <br />
    SITE_ABSOLUTE_PATH (this should be the home directory of your user, for       e.g. /home/yourdomain/public_html/)       NOTE: please always add a slash to the end of the path!<br />
    <br />
    SEO_FRIENDLY_LINKS (this will allow you to see the urls like        http://yourdomain.com/about instead of http://yourdomain.com?menuid=1)<br />
    &nbsp;</li>
    <li>That should be all, now test out your site, just enter the servers url into your browser (http://yourdomain.com) and you should see the site.</li>
</ol>
<p><strong>IMPORTANT</strong>: if you see a message saying that &quot;Site Temporary Unavailable&quot; it means that something is wrong and php can't access the db with the user/password you have provided above, in that case please make sure that all (sql_user, sql_pass, sql_database) are spelled right and try again.</p>
<p><strong class="white">REQUIREMENTS</strong></p>
<p>PHP &gt;= 5.0, MySQL &gt;= 4.1</p>
<p>Hope everyhting will be fine, if there is anything please let us know in the comments.</p>]]></description>
<pubDate>Sun, 26 Jul 2009 11:24:00 +0100</pubDate>
<guid>http://jcore.net/how-to/install/jcore-server/how-to-install-jcore-server</guid>
<author>me@pijulius.com (pijulius)</author>
</item>
</channel>
</rss>

