<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stepo Paradise &#187; UCenter Home</title>
	<atom:link href="http://tcpo.org/tag/ucenter-home/feed/" rel="self" type="application/rss+xml" />
	<link>http://tcpo.org</link>
	<description>Blogged by Stephen Po</description>
	<lastBuildDate>Tue, 02 Mar 2010 07:52:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>UCenter Home 2.0 Installation (Part 2)</title>
		<link>http://tcpo.org/2010/02/06/ucenter-home-2-0-installation-part-2/</link>
		<comments>http://tcpo.org/2010/02/06/ucenter-home-2-0-installation-part-2/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 04:04:05 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[UCenter Home]]></category>

		<guid isPermaLink="false">http://tcpo.org/blog/?p=22</guid>
		<description><![CDATA[This is part 2 of the series of setting up UCenter Home 2.0 on a dedicated Linux machine.   Check out UCenter Home 2.0 Installation (Part 1) if you haven&#8217;t.
Setup UCenter Home
First, download the installation package at http://download.comsenz.com/UCenter_Home/2.0/UCenter_Home_2.0_TC_UTF8.zip.  Again I choose the Traditional Chinese edition with UTF-8 encoding.  Under the root&#8217;s shell, issue the following commands [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 2 of the series of setting up UCenter Home 2.0 on a dedicated Linux machine.   Check out <a href="http://tcpo.org/blog/2010/02/05/ucenter-home-2-0-installation/" target="_blank">UCenter Home 2.0 Installation (Part 1)</a> if you haven&#8217;t.</p>
<h3>Setup UCenter Home</h3>
<p>First, download the installation package at http://download.comsenz.com/UCenter_Home/2.0/UCenter_Home_2.0_TC_UTF8.zip.  Again I choose the Traditional Chinese edition with UTF-8 encoding.  Under the root&#8217;s shell, issue the following commands to download and unpack the installation package.</p>
<blockquote>
<pre>mkdir ~/setup-ucenter-home
cd ~/setup-ucenter-home
wget http://download.comsenz.com/UCenter_Home/2.0/\
UCenter_Home_2.0_TC_UTF8.zip
unzip UCenter_Home_2.0_TC_UTF8.zip</pre>
</blockquote>
<p><span id="more-22"></span></p>
<p>I would like UCenter Home to be installed at http://u.tcpo.org.  Because I have put UCenter into http://u.tcpo.org/ucenter, I can save put UCenter Home into the document root fof the domain, i.e. /var/www/html/u.tcpo.org/</p>
<blockquote>
<pre>cp -pr upload/* /var/www/html/u.tcpo.org/</pre>
</blockquote>
<p>Then I need to create config.php based on config.new.php</p>
<blockquote>
<pre>cd /var/www/html/u.tcpo.org
cp config.new.php config.php</pre>
</blockquote>
<p>Next permissions for some files and directories need to be changed in order for UCenter Home to run correctly.</p>
<blockquote>
<pre>chmod 777 attachment
chmod 777 data
chmod 777 data/*.*
chmod 777 uc_client/data
chmod 777 config.php</pre>
</blockquote>
<p>During the setup of UCenter Home, you need to make one user the administrator.  Visit http://u.tcpo.org/ucenter/admin.php, login with the 創始人密碼.  In the category 用戶管理, click on 添加用戶.  Enter the information required to create your first user.</p>
<p>Then, go to the category 應用管理, click on 添加新應用.  Enter the URL of http://u.tcpo.org/install/index.php and then click 安裝.  After that, the UCenter Home installation guide is shown.</p>
<h4>1. 安裝開始</h4>
<p>Here file/directory permission check is done.  If it is all ok, then proceed with the installation.</p>
<h4>2. 設置UCenter訊息</h4>
<p>Here UCenter information is pre-filled, normally you don&#8217;t need to change anything, just click on the submit button.  After that, you will be shown a message telling you that the application is successfully installed, go to the next step.</p>
<h4>3. 設置數據庫連接訊息</h4>
<p>Here we will reuse the same database connection parameters as that we have setup for UCenter.</p>
<blockquote>
<pre>數據庫服務器本地地址: localhost
數據庫用戶名: uc
數據庫密碼: &lt;password&gt;
數據庫字符集: UTF-8
數據庫名: UC
表名前綴: uchome_</pre>
</blockquote>
<h4>6. 安裝完成</h4>
<p>Here enter the user name and password of the administrator</p>
<p>After that, the installation guide is completed.  To safeguard the system, do the following.</p>
<blockquote>
<pre>cd /var/www/html/u.tcpo.org
rm -rf install
chmod 644 config.php</pre>
</blockquote>
<p>If you go into the administrative interface of UCenter Home, you will notice an error saying:</p>
<blockquote>
<pre>File: /var/www/html/u.tcpo.org/./data/tpl_cache/template_default_cp_advance.php can not be write!</pre>
</blockquote>
<p>This can be fixed on changing permission on the data/tpl_cache directory.</p>
<blockquote>
<pre>chmod -R 777 data/tpl_cache</pre>
</blockquote>
<p>Now everything is completed, you can enter http://u.tcpo.org/admincp.php to fine tune your configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://tcpo.org/2010/02/06/ucenter-home-2-0-installation-part-2/feed/</wfw:commentRss>
		<slash:comments>160</slash:comments>
		</item>
		<item>
		<title>UCenter Home 2.0 Installation (Part 1)</title>
		<link>http://tcpo.org/2010/02/05/ucenter-home-2-0-installation/</link>
		<comments>http://tcpo.org/2010/02/05/ucenter-home-2-0-installation/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 07:59:33 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[UCenter]]></category>
		<category><![CDATA[UCenter Home]]></category>

		<guid isPermaLink="false">http://tcpo.org/blog/?p=14</guid>
		<description><![CDATA[My previous experience with Discuz! and UCenter Home gave me an impression that their installation documentation is sometimes not so accurate, so I decided to write up my own here.  Basically, I follow:

UCenter 1.5.0 安装介绍
UCenter Home 2.0 安装方法详细介绍

Here&#8217;s what I want to achieve: setup UCenter Home 2.0 on a dedicated linux server.  And since installing [...]]]></description>
			<content:encoded><![CDATA[<p>My previous experience with Discuz! and UCenter Home gave me an impression that their installation documentation is sometimes not so accurate, so I decided to write up my own here.  Basically, I follow:</p>
<ol>
<li><a href="http://faq.comsenz.com/userguide/uchome/uc_install.html" target="_blank">UCenter 1.5.0 安装介绍</a></li>
<li><a href="http://faq.comsenz.com/viewnews-806" target="_blank">UCenter Home 2.0 安装方法详细介绍</a></li>
</ol>
<p>Here&#8217;s what I want to achieve: setup UCenter Home 2.0 on a dedicated linux server.  And since installing UCenter Home is a 2 step process of installing UCenter first and then UCenter Home, I break it into 2 posts.  This post covers installing UCenter.  In next post I&#8217;ll talk about UCenter Home.</p>
<p><span id="more-14"></span></p>
<h3>Setup UCenter</h3>
<p>UCenter is the pre-requisite of installing UCenter Home 2.0.  UCenter stands for &#8220;User Center&#8221; and is the integral part of Comsenz&#8217; products.</p>
<p>First, download the installation package at http://download.comsenz.com/UCenter/1.5.0/UCenter_1.5.0_TC_UTF8.zip.  Here I choose the Traditional Chinese edition with UTF-8 encoding.  Under the root&#8217;s shell, issue the following commands to download and unpack the installation package.</p>
<blockquote>
<pre>mkdir ~/setup-ucenter
cd ~/setup-ucenter
wget http://download.comsenz.com/UCenter/1.5.0/\
UCenter_1.5.0_TC_UTF8.zip
unzip UCenter_1.5.0_TC_UTF8.zip</pre>
</blockquote>
<p>I would like UCenter Home to be installed at http://u.tcpo.org.  Because UCenter and UCenter Home cannot be installed under the same directory, I decided to put UCenter under http://u.tcpo.org/ucenter.  The document root of the domain u.tcpo.org is /var/www/html/u.tcpo.org in my server.</p>
<blockquote>
<pre>mkdir /var/www/html/u.tcpo.org
cp -pr upload /var/www/html/u.tcpo.org/ucenter</pre>
</blockquote>
<p>Then I need to change permission to some files and directories to allow read/write by apache.</p>
<blockquote>
<pre>cd /var/www/html/u.tcpo.org/ucenter
chmod 777 data
chmod 777 data/avatar
chmod 777 data/backup
chmod 777 data/cache
chmod 777 data/logs
chmod 777 data/tmp
chmod 777 data/view</pre>
</blockquote>
<p>Next, I need to configure apache so that it responds to virtual host u.tcpo.org.  The following section is put inside /etc/httpd/conf/httpd.conf.</p>
<blockquote>
<pre>&lt;VirtualHost *:80&gt;
        ServerName u.tcpo.org
        DocumentRoot /var/www/html/u.tcpo.org
        CustomLog logs/u.tcpo.org-access_log combined
        ErrorLog logs/u.tcpo.org-error_log
&lt;/VirtualHost&gt;</pre>
</blockquote>
<p>Then restart apache.</p>
<blockquote>
<pre>service httpd restart</pre>
</blockquote>
<p>I also need to prepare a MySQL database and a MySQL user because running the UCenter installation guide.</p>
<blockquote>
<pre>CREATE DATABASE UC;
GRANT ALL PRIVILEGES ON UC.* TO "uc"@"localhost" \
  IDENTIFIED BY "&lt;password&gt;";
FLUSH PRIVILEGES;</pre>
</blockquote>
<p>Now I can visit the UCenter installation site at http://u.tcpo.org/ucenter/install.  A license agreement will be shown, click &#8220;我同意&#8221; to proceed.  After that, a step-by-step installation guide will guide you through the setup procedure.</p>
<h4>1. 開始安裝</h4>
<p>This step checks the server configuration to see if it meets UCenter&#8217;s requirement.  If everything&#8217;s fine, you will see everything &#8220;ticked&#8221;.</p>
<h4>2. 安裝數據庫</h4>
<p>Here I enter the database access information.</p>
<pre>數據庫服務器: localhost
數據庫名: UC
數據庫用戶名: uc
數據庫密碼: &lt;password&gt;
數據表前綴: uc_</pre>
<p>I also need to setup a 創始人密碼.</p>
<h4>3. 安裝數據庫</h4>
<p>You should see messages saying that database tables are successfully created.  If not, check your database access parameters entered in step 2.</p>
<p>Now UCenter is completely setup.  You can use the 創始人密碼 to login into UCenter 用戶管理中心 to have a look around.</p>
]]></content:encoded>
			<wfw:commentRss>http://tcpo.org/2010/02/05/ucenter-home-2-0-installation/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>

