Stepo Paradise

Blogged by Stephen Po

UCenter Home 2.0 Installation (Part 1)

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:

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

Here’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’ll talk about UCenter Home.

Setup UCenter

UCenter is the pre-requisite of installing UCenter Home 2.0.  UCenter stands for “User Center” and is the integral part of Comsenz’ products.

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’s shell, issue the following commands to download and unpack the installation package.

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

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.

mkdir /var/www/html/u.tcpo.org
cp -pr upload /var/www/html/u.tcpo.org/ucenter

Then I need to change permission to some files and directories to allow read/write by apache.

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

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.

<VirtualHost *:80>
        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
</VirtualHost>

Then restart apache.

service httpd restart

I also need to prepare a MySQL database and a MySQL user because running the UCenter installation guide.

CREATE DATABASE UC;
GRANT ALL PRIVILEGES ON UC.* TO "uc"@"localhost" \
  IDENTIFIED BY "<password>";
FLUSH PRIVILEGES;

Now I can visit the UCenter installation site at http://u.tcpo.org/ucenter/install.  A license agreement will be shown, click “我同意” to proceed.  After that, a step-by-step installation guide will guide you through the setup procedure.

1. 開始安裝

This step checks the server configuration to see if it meets UCenter’s requirement.  If everything’s fine, you will see everything “ticked”.

2. 安裝數據庫

Here I enter the database access information.

數據庫服務器: localhost
數據庫名: UC
數據庫用戶名: uc
數據庫密碼: <password>
數據表前綴: uc_

I also need to setup a 創始人密碼.

3. 安裝數據庫

You should see messages saying that database tables are successfully created.  If not, check your database access parameters entered in step 2.

Now UCenter is completely setup.  You can use the 創始人密碼 to login into UCenter 用戶管理中心 to have a look around.

Tags: ,

48 Responses to “UCenter Home 2.0 Installation (Part 1)”

  • RUSSELL says:

    Zofran

    Buygeneric pills…

  • RONNIE says:

    leg swelling lasix

    Buyno prescription…

  • DONNIE says:

    yaz plan b

    Buydrugs without prescription…

  • REGINALD says:

    Synthroid

    Buygeneric pills…

  • AUSTIN says:

    risperdal and luvox loss of libido

    Buydrugs without prescription…

  • HUBERT says:

    Prozac

    Buyno prescription…

  • REX says:

    Punarnava

    Buynow it…

  • CLINTON says:

    Purim

    Buyit now…

  • CHRIS says:

    Rogaine

    Buygeneric meds…

  • CURTIS says:

    Zoloft

    Buynow it…

  • ROGER says:

    Purim@Purim.Purim” rel=”nofollow”>..

    Buywithout prescription…

  • GREGORY says:

    Provera@Provera.Provera” rel=”nofollow”>.

    Buygeneric pills…

  • DOUGLAS says:

    Clonidine@Clonidine.Clonidine” rel=”nofollow”>…

    Buyit now…

  • DANNY says:

    Prozac@Prozac.Prozac” rel=”nofollow”>…

    Buyno prescription…

  • JOSHUA says:

    Cipro@Cipro.Cipro” rel=”nofollow”>..

    Buygeneric meds…

  • IVAN says:

    do@you.need.to.fast.for.prograf.levels” rel=”nofollow”>…

    Buywithout prescription…

  • GLEN says:

    .

    Buydrugs without prescription…

  • SHAUN says:

    cms@coverage.of.pulmicort.respules.j7627” rel=”nofollow”>.

    Buygeneric pills…

  • SHAUN says:

    Buygeneric meds…

  • DENNIS says:

    dapple@hydrocortisone.cream” rel=”nofollow”>…

    Buyit now…

  • ANTONIO says:

    purpose@of.advair” rel=”nofollow”>.

    Buygeneric meds…

  • CHRIS says:

    pyrantel@pamoate.to.kill.acanthocephala” rel=”nofollow”>..

    Buygeneric drugs…

  • RODNEY says:

    Buygeneric drugs…

  • JULIAN says:

    bulk@coral.calcium.powder” rel=”nofollow”>..

    Buygeneric drugs…

  • KURT says:

    buy@acai.berry.supplement” rel=”nofollow”>.

    Buyit now…

  • NICK says:

    when@will.i.ovulate.after.using.clomid” rel=”nofollow”>.

    Buyno prescription…

  • WAYNE says:

    accutane@and.ototoxicity” rel=”nofollow”>…

    Buyno prescription…

  • EDDIE says:

    does@clonidine.and.lamisil.interaction” rel=”nofollow”>..

    Buywithout prescription…

  • BERNARD says:

    sexual@side.effects.of.lexapro.vs.paxil” rel=”nofollow”>..

    Buynow it…

  • JIMMIE says:

    .

    Buyit now…

  • CLAUDE says:

    aciphex@vs.nexium” rel=”nofollow”>..

    Buygeneric drugs…

  • MARK says:

    is@dexamethasone.steroid” rel=”nofollow”>..

    Buyit now…

  • MARCUS says:

    aloe@vera.juice” rel=”nofollow”>..

    Buynow it…

  • WARREN says:

    maximum@dosage.for.pristiq” rel=”nofollow”>…

    Buyit now…

  • HARRY says:

    .

    Buygeneric drugs…

  • REX says:

    coral@calcium.safety” rel=”nofollow”>.

    Buyit now…

  • KEVIN says:

    prilosec@and.pepcid.and.carafate.for.dog” rel=”nofollow”>.

    Buywithout prescription…

  • CARLTON says:

    flomax@in.dogs” rel=”nofollow”>.

    Buyit now…

  • EDDIE says:

    calories@and.nutrition.in.boost.nutritional.energy.drink” rel=”nofollow”>…

    Buywithout prescription…

  • SALVADOR says:

    weitz@and.luxenberg.accutane.settlement” rel=”nofollow”>..

    Buyit now…

  • GERALD says:

    aciphex@how.fast.does.it.work” rel=”nofollow”>.

    Buyit now…

  • TED says:

    ..

    Buynow it…

  • Matildess says:

    Hello…

    My life,vist it http://deborahr.monbebeblog.com/ ,Thanks….

  • ssanzing says:

    Great One…

    What genre of classical or orchestral music would you classify most scores for films to be? , http://ghtyye.seesaa.net/...

  • Leave a Reply