Requirement files:

dotProject 2.1.3 http://ge.tt/66hA5oo (updated:12/2, 30days)

 

install steps:

1. download dotproject

> wget http://ge.tt/66hA5oo

2. uncompress dotproject file

> tar zxf  dotproject_2_1_3_cht.tar

3. (Not Requirement) copy dotproject to another place, and modify httpd.conf

> cp -r dotproject_2_1_3_cht/* /var/www/dotproject/

> vim /etc/httpd/conf/httpd.conf

at the bottom, add the following:

> alias /dotproject '/var/www/dotproject/'

4. open browser and go to http://localhost/dotproject

5. click Next

6. check for Requirements, Database Connectors, Directory and File Permissions, PHP Settings

Requirements:

If something is error, use 'yum -y install' to resolve. (ex: php-gd)

Database Connectors:

Just check Mysql Support, if not, please install mysql and start mysqld!!

Directory and File Permissions:

cp /var/www/dotproject/include/config-dist.php /var/www/dotproject/include/config.php

> chmod 766 /var/www/dotproject/include/config.php

chmod 777 /var/www/dotproject/files

chmod 777 /var/www/dotproject/files/temp

chmod 777 /var/www/dotproject/locales/en

> chmod 777 /var/www/dotproject/locales/zh-TW

  PHP Settings:

vim /etc/php.ini

7. create a mysql-user and a database, and install

8. install finish, go to administrator panel, (id: admin, pw: passwd)

9. (Not Requirement) go to 'Default User Preferences', and set 'Locale: Traditional Chinese (Taiwan)'

10. finish~~

膩撐 發表在 痞客邦 留言(0) 人氣()

skip installed steps...

[change YUM's mirror to 義守's ftp]

reference: http://apt.nc.hcc.edu.tw/web/student_server_centos/student_server_centos.html#update

steps:

> cd /etc/yum.repos.d/

> cp CentOS-Base.repo CentOS-Base.repo.bak

> vim CentOS-Base.repo

 

 comment CentOS-Base.repo 裡 [base],[update],[addons],[extras],...等中的mirrorlist,

 uncomment baseurl,

    並改變

 baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/

    為 

 baseurl=http://ftp.cse.yzu.edu.tw/pub/CentOS/$releasever/updates/$basearch/

 

[update PHP 5.1 to the latest version]

reference: http://centos.blog.oni.tw/2010/05/centos54yum.html

steps:

> cd /etc/yum.repos.d/

> cp CentOS-Base.repo CentOS-Base.repo.bak

> vim CentOS-Base.repo

 

在CentOS-Base.repo 最底部空白處填入以下:

 [c5-testing]

 name=CentOS-5 Testing

 baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/

 enabled=0

 gpgcheck=1

 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

更新 php

> yum --disablerepo=\* --enablerepo=c5-testing install php

更新 php-mcrypt

> yum --disablerepo=\* --enablerepo=c5-testing install php-mcrypt

 

[setup Mysql Admin's password first]

reference: http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=1875

mysqladmin -u root password your-new-password

 

[servers start/restart/stop]

$1: your server (ex: httpd, mysqld, vsftpd, ..., etc)

Server Start:

/etc/init.d/$1 start

Server Restart:

/etc/init.d/$1 restart

Server Stop:

/etc/init.d/$1 stop

膩撐 發表在 痞客邦 留言(0) 人氣()