|  | 返回菜单 |
Installation Guide - Windows version for PostgreSQL9.2
  This guide describes how to install Denbun on a Windows server. Please refer System Requirements before installation. To uninstall Denbun, please refer this guide. If you are using Internet Information Server 7 on Windows Server 2008, Please setup your server before installation. Denbun installation program contains the following modules. - Denbun Program Module - PostgreSQL 9.2 - Denbun initial database 1. Start Installation The installation starts. If you are not logged on as an administrator, please log off and log on as administrator. To start the installation, double click the file you downloaded. Click "Next" button. 2. Read Software License Agreement On the first screen, you will see the Software License Agreement. Please read the agreement carefully. If you agree the Software License Agreement, click "Next" button. When you click the "Next" button, you may see the following dialog box. This dialog box is displayed when the installer detects the installation of IIS, but cannot detect the virtual directory "scripts". If the dialog box is displayed please refer this guide for further information. This dialog box is displayed when the installer cannot detect any web server software (neither IIS nor Apache for Win32) and finds other program uses TCP Port No. 80. If the dialog box is displayed please refer this guide for further information. 3. Choose Setup Type Choose the setup type. If a web server is installed and started up normally, the installer can determine the appropriate directory as the destination directory. However the feature is enabled only if your web server is either IIS or Apache with default setting. If the web server was not started up with Port No. 80, the installer cannot detects the web server. In this case, we recommend that you cancel the installation and start the web server with Port No. 80 and install Denbun again. 4. Select Components Select the components (Denbun for HTML5, Denbun for Mobile) you want to install. When you finish the selection, click "Next" button. If PostgreSQL is installed, enter the information of PostgreSQL. Enter the user name and password of the administrative user and then click "Next". If a user named "pgsql" required for PostgreSQL service does not exist on your Windows, this dialog is displayed to confirm the creation of user.(Specify a user who does not have administrative rights.) If a user named "pgsql" required for PostgreSQL service exists on your Windows, this dialog is displayed to confirm the using user. When you choose "Custom" as the Setup Type, "Select Destination Directory for Denbun modules", "Select Home Directory", "Select Destination Directory for Denbun for Mobile" and "Select Destination Directory for PostgreSQL" screen will be displayed. Please specify appropriate directories. * "Select Destination Directory for Denbun for Mobile" will be displayed only if you install Denbun for Mobile. * "Select Destination Directory for PostgreSQL" will be displayed only if you install PostgreSQL. * "Enter the user information for the PostgreSQL service account" screen will be displayed only if you install PostgreSQL. Destination directory for Denbun modules When you finish the selection, click "Next" button. Destination directory for image files When you finish the selection, click "Next" button. Destination directory for Denbun for Mobile When you finish the selection, click "Next" button. Destination directory for PostgreSQL When you finish the selection, click "Next" button. The user information for the PostgreSQL service account When you finish entering the user information for the PostgreSQL service account, click "Next" button. 5. Confirm The confirmation screen is displayed. The destination directories of program modules other than Denbun.
  PostgreSQL | The destination you specified (*)
  (*) The default is "C:\Program Files\PostgreSQL\9.2". Please confirm the settings and click "Install" button to start the installation. The installer starts copying the files. Please wait for a while. This dialog screen is displayed when the data directory of PostgreSQL exist at the installation.The directory is renamed. If you do not need it, please delete it after the installation. 6. Complete Copying files is finished, the installation completed. Choose "Read the README file", "Run Management Tool" option and click "Finish". 7. Confirm the Installation After the installation, use Windows Explorer to make sure that the folders was created and the files exist in the folders. If you installed Denbun, make sure that the following folders and files exist in the destination. 8. Security Measure [Important] After installation, configure the web server. Configure the setting below so that the data folder for Denbun cannnot be executed from browsers. * Even though Denbun will still operate without the configuration, please make sure to configure it for security purpose. -> Configure IIS Web Server -> Configure Apache Web Server 9. Access to Denbun Start up a browser and enter a URL as follows: To use Denbun for HTML5 and Denbun for Mobile, you need to setup in "Denbun Management Tool". -> Please refer this guide for how to use the Denbun management tool. URLs e.g.: Denbun Management Tool http://Server Name (*1)/scripts/dnpwml/dnpwmlconfig.exe? Denbun for HTML5 http://Server Name (*1)/scripts/dnpwml/dnpwmljs.exe? Denbun for Mobile http://Server Name (*1)/scripts/dnpmwml/dnpmwml.exe? (*1) Server Name IP address of server or computer name on which Denbun is installed. * For example, in case of IP address http://192.168.1.1/scripts/dnpwml/dnpwmlconfig.exe? * For example, in case of computer name http://hogehoge/scripts/dnpwml/dnpwmlconfig.exe? * To find the IP address or computer name on which Denbun is installed, start the command prompt on the computer and use "ipconfig" command. Executing the command: C:\Documents and Settings>ipconfig /all In the output result; "xxx" in "Host Name . . :xxx" is the computer name. "yyy" in "IP Address. . :yyy" is the IP address. * You must have a web server to use Denbun. If you cannot access to Denbun after the installation, no web server might be installed on your computer. If a web server is installed and you cannot access to Denbun, please contact us on our web site. Uninstllation If you want to uninstall Denbun on your server, please open [Control Panel]-[Add/Remove Programs], and choose "Denbun" and the click "Change/Remove" button. If you installed PostgreSQL and it exists. this screen is displayed. If you do not need it, choose "Yes". You cam choose "No" and uninstall it later on. * Even if you uninstall it, the user and data created by the installation remain. Delete data Even if you uninstall Denbun, the data for messages and indexes remain. Please delete the data directly. - Example of Destination Folder for Denbun C:\Inetpub\Scripts\dnpwml Delete the Denbun database and user Delete the database and users of PostgreSQL that were created by the installation process of Denbun POP Version. Use the following command.
  > cd "C:\Program Files\PostgreSQL\9.2\bin" > dropdb.exe -U postgres dnpwmldb > dropuser.exe -U postgres dnpwml
In this explanation, it assumes that the destination folder for PostgreSQL is "C:\Program Files\PostgreSQL\9.2" and the administrator of PostgreSQL is "postgres". Please replace them according to your environment. ###### 1. Add or Remove Denbun for HTML5, Denbun for Mobile After the installation, if you run the installation program again, it starts "Add or remove Denbun for HTML, Denbun for Mobile". Click "Next" button. ###### 2. Select Components Check the components you want to install; clear the components you do not want to install. After you made the selection, click "Next" button to start the maintenance of Denbun. Please wait for a while. The maintenance of Denbun will be started soon. ###### 3. Complete Maintenance After completing the maintenance, click "Complete" to end the maintenance. ###### 4. Confirm the Addition/Removing If you install Denbun for HTML5 or Denbun for Mobile, please make sure that the following folders and files exist. If you uninstalled Denbun, make sure that the following folders and files were deleted. If you install Denbun for Flash, the following folders and files exist in the destination folder of Denbun. If you install Denbun for Mobile, the following folders and files exist in the destination folder of Denbun for Mobile.
| Copyright (C) NEOJAPAN Inc. All Rights Reserved.