星期二, 8月 02, 2005

如何安裝dotproject

Step One:
Unpack the distribution file somewhere on your system under your web server's root directory. If you are using a web hoster this is likely to be called www or public_html in your home directory. Other systems may have it named differently. Check with your hosting provider or your system administrator for details.

解壓縮檔案到伺服器的資料夾
例:windows以Appserv架的:C:\AppServ\www
Step Two:
Check that the web server is correctly configured. Point your browser to dotproject/install. (Depending on where you put your files you may need to provide a different path). Make sure you include your server details. For example, if you are installing on http://mydomain.com/ and you have unpacked in your public_html directory, the URL to use would be http://mydomain.com/dotproject/install/ Note: If you get an error page, or a directory listing, then your web server does not support index.php as a valid directory index. Contact your web server support staff to resolve this, as dotProject will not work without it. If you get a page that starts with a copyright notice, then your web server does not support PHP files. Again, you will need to get this resolved before you can continue. If all is well you should be in the dotProject Installer.
用瀏覽器如IE等 開啟dotproject/install 下的網頁
例:localhost/dotproject/install
Step Three:
Before continuing, review the details on the page, as some of the settings may result in either partial or complete failure of your dotProject installation. For instance, you may need to make changes to your directory permissions to support file uploads or to allow the main configuration file to be written. If you need to make changes do so and then refresh the install page. When you are satisfied, click on the Start Install button.
確認細節後,點選Start Install 的按鈕
Step Four:
At this point the Database Settings page will be shown. The Database Server Type should be left at MySQL unless you have made arrangements with the dotProject team to use a different database. Until noted on this page, only MySQL is supported. Enter the name of your database host. This is often the same host as your web server, so can be left as 'localhost'. Check with your service provider for details. Enter the name of a database that you have previously created, or if you have permission to create databases, the name of a new database. The database should not have any tables or other data in it at this stage. Enter the name and password of a database user (not a web server or ftp user) that has access to the above named database on the database host you have entered. If you have not yet created a database, and your database user has sufficient permissions, check the Create Database checkbox. If not, or if you already have created the database, leave this clear. You can safely leave the other options clear. Select the upgrade db & write cfg button. If all is well the next screen will display the progress as dotProject is installed. The most common problem at this stage is incorrect database details. If this is the case, go back and enter the correct details before proceeding.
輸入 資料庫 的名稱 及帳號密碼

Step Five:
When complete, you may be asked to cut and paste the config file contents to dotproject/includes/config.php. This will only occur if the web server could not write to the includes directory. If this is shown, create the config.php file with the information displayed before you click on the Login and Configure the dotProject System Environment link, otherwise you will be redirected back to the installer. When you click on the Login and Configure the dotProject System Environment link, you will be asked to login. The default login is admin with a password of passwd.
Step Six:
Remove the install directory from your dotProject environment. Failure to do this may affect your system security.
UPGRADING AN EXISTING SYSTEMBefore proceeding you will need to review your database name / password as part of the upgrade procedure. When installing an upgrade to an existing system, you will use exactly the same backup and installation process EXCEPT:
移除安裝頁
Step One: Be aware that you are unpacking your dotProject files into a directory that already contains dotProject (and is, presumably totally backed up). File permissions may need to be resolved
Step Two: We are assuming that you already know the required URL (if not see discussion above), but point your browser to dotproject/install
Step Three: Follow the on-screen instructions taking note of ALL of the recommendations
Step Four: Click on Start Upgrade to proceed
Step Five: Be aware that although the installer currently has a backup function built in this generates an XML output and we DO NOT CURRENTLY HAVE XML restore - do not use this option unless you are prepared to work out how to restore from XML yourself. NOTE: As of 2.0.1 the backup module has been upgraded and incorporated into dotProject. This is a new implementation however and you should NOT trust it - make sure that you have an alternative backup available until such time as this module has been extensively tested and used.
Step Six: Choose Upgrade DB Only OR Upgrade DB and Write CFG if you have made any changes to earlier details
Step Seven: Follow as per installation instructions above and resolve as per installation instructions
Step Eight: Login and update your system configuration as outlined below.
Step Nine: Remove the install directory from your dotProject environment. Failure to do this may affect your system security.