This topic describes the steps to install a custom configuration of Chili!Soft ASP for Linux systems. For more information about a custom installation, see "Choosing an Installation Option for Linux" in this chapter.
Important Upgrade Information
If you are upgrading from a version other than Chili!Soft ASP 3.5.2, the setup program will not preserve your existing settings. Before beginning the installation, go to the Chili!Soft Web site for information about performing an upgrade, at:
http://www.chilisoft.com/support/
The configuration options you specify when installing a custom configuration of Chili!Soft ASP can have serious consequences for your server environment. Before you begin, make sure you meet the following requirements:
· You must be logged in as root.
· If you are downloading Chili!Soft ASP from the Web, you must have 45 MB of hard disk space available in order to extract the installation files.
· Your hardware and software must meet the requirements listed in "Installation RequirementsChili!Soft ASP for Linux" in this chapter.
· You need to know your product serial number. Chili!Soft ASP requires a valid serial number in order to run. If you downloaded the product from the Web, you should have received an e-mail message that included your serial number. If you are installing this product from a CD-ROM, the serial number is printed on the CD-ROM case. If you are installing a trial version from a CD-ROM, you must obtain a serial number at:
http://www.chilisoft.com/register
· To configure Chili!Soft ASP to run with a Web server that is already installed on the target computer, the Web server must be shut down, and you should be prepared to provide the following information:
Absolute path name of the Web server main configuration file (for example, /usr/HTTPServer/conf/httpd.conf)
Absolute path name of the Web server binary (for example, /usr/HTTPServer/bin/httpd)
Web server version (for example, 1.3.12)
Web server type (for example, Apache)
Web server port number (for example, 80)
Web server root directory (for example, /usr/HTTPServer)
· If you configure Chili!Soft ASP to run with an Apache Web Server that does not support Dynamic Shared Objects (DSO), you must manually link the Web server to Chili!Soft ASP and then recompile it, as described in "Configuring a Non-DSO Apache Web Server" in this chapter. If your Apache Web Server supports DSO, there are no additional steps to take: Chili!Soft ASP includes pre-built DSO modules that automatically link to your Web server.
· When configuring the Zeus Web Server to run with Chili!Soft ASP 3.6, do not specify the Web server hostname as the fully qualified domain name (or "server address"). If you do, the Test DSN feature of the Administration Console will not work. Instead, use the hostname only.
For example, do not use this: hostname.domain.com
Instead, use this: hostname
· If you choose to customize settings for the Chili!Soft ASP Administration Console, you will need to specify a username and password for accessing it. Be sure to specify a password that you can remember, or else plan to store it in a secure location. If you forget your password, you can run the admtool utility and set a new password, as described in "Configuring Usernames and Passwords" in "Chapter 3: Managing Chili!Soft ASP." If you do not choose the customize settings option, the username is set as "admin" and the password as "root." To protect the security of your server, you should run the admtool and change these as soon as possible.
· You need to know what language you want Chili!Soft ASP to support. The options are US English, British English, Dutch, French, German, Japanese Shift-JIS, Spanish, and Swedish. If you want, you can change the language after installation, as described in "Configuring International Support" in "Chapter 3: Managing Chili!Soft ASP."
· If you have already installed the IBM Bonus Pack on your server, you must stop the IBM HTTP Server before installing Chili!Soft ASP.
· If you are upgrading from a previous installation of Chili!Soft ASP, you must shut down the ASP Server.
· If you have an existing installation of Chili!Soft ASP 3.5.2 or 3.6 in the directory to which you are installing Chili!Soft ASP 3.6, the setup program automatically preserves your existing server settings. However, you must take the additional steps described in "Upgrading Chili!Soft ASP for Linux" in this chapter before you can run the ASP Server.
To install a custom configuration of Chili!Soft ASP 3.6 for Linux, use the following procedure.
To install a custom configuration of Chili!Soft ASP for Linux
1. If you are installing Chili!Soft ASP from a CD-ROM, skip this step and go to step 2. If you are downloading Chili!Soft ASP from the Web, download the casp-3.6.0-linux.tar file to a temporary directory, and then extract the installation files by using the following command:
#> tar -xvf casp-3.6.0-linux.tar
This step creates the following files in the temporary directory, which you can delete after completing the installation:
A README file containing important product information
The install.sh installation script
A package/EULA file containing the end-user license agreement
A package/directory containing files required to install Chili!Soft ASP
2. Run the install.sh script by using the following command. For downloaded versions, this script is located in the temporary directory you created in the previous step. For CD-ROM versions, this script is located on your installation CD-ROM.
#> ./install.sh
3. Review the End-User License Agreement (EULA) that displays. Enter yes if you agree with its conditions. You must type the entire word "yes."
or
Enter no if you do not agree. If you enter no, the Chili!Soft ASP setup program aborts the installation
4. On the next screen, enter 2 to select a Custom Installation.
5. On the next screen, press Enter to accept the default Chili!Soft ASP installation directory (/opt/casp).
or
Enter the absolute path name of the installation directory you want. It is a good idea to make a note of this location so that you can easily find the Chili!Soft ASP files at a later time.
Note
In order to upgrade from Chili!Soft ASP 3.5.2, you must specify the installation directory of your existing installation.
6. If the setup program detects a previous installation of Chili!Soft ASP in the specified directory, it asks whether or not you want to uninstall the previous version and continue. If the setup program successfully exported your existing settings from the previous installation, it also provides a message indicating this. You will be prompted to import the settings later during setup.
If you do not see the second message, your settings will not be preserved, and you will need to reconfigure all of them following installation.
Enter y (yes) to uninstall the previous installation and continue, and then enter y (yes) again to confirm that you want to continue.
or
Enter n (no) to cancel the installation.
7. On the next screen, enter y (yes) if you know the product serial number.
or
If you do not know the serial number, enter n. Chili!Soft ASP will not run without a serial number, so if you enter n, the setup program aborts the installation.
8. When prompted, enter the product serial number.
9. On the next screen, press Enter to accept the default language (English US).
or
Enter the number of a language shown in the list.
10. The next screen provides options for choosing the Web server to run with Chili!Soft ASP. If you want the setup program to search your system and generate a list of installed Web servers from which to select, enter the number of the search option you want (1, 2, or 3). If you select one of these search options, skip to step 14.
or
If you want to skip this search and provide information about the Web server, or if you do not want to configure a Web server during installation, enter number 4 (Don't search). If you choose option 4 (Dont search), follow the instructions in step 11.
11. On the next screen, if you want to provide information about the Web server to configure, enter 1 (Specify the Webserver), and then follow the instructions in step 12.
or
If you want the setup program to search for installed Web servers from which to select, enter 2 (Refresh the Webserver list), and then follow the instructions in step 10.
or
If you do not want to configure a Web server during installation, enter 3 (Do not configure a Webserver), and then go to step 16. If you choose this option, the first time you open the Chili!Soft ASP Administration Console, you will be prompted to configure the ASP Server and a Web server.
12. On the next screen, enter the number of the type of Web server to configure: 1 for Apache, 2 for Netscape, or 3 for Zeus, and go to the next step.
or
To cancel the user-specified Web server configuration, enter 4. If you choose this option, the setup program returns you to the previous screen. From this screen you can choose another option, as described in step 11.
13. At the prompts, enter the requested information about the Web server.
14. On the next screen, enter the number of the Web server you want the setup program to configure to run with Chili!Soft ASP, and go to the next step.
or
To provide information about the Web server to configure, enter the number for the option, Specify the Webserver. If you choose this option, follow the instructions in step 12.
or
To perform another search for installed Web servers, enter the number for the option, Refresh the webserver list. If you choose this option, on the next screen, follow the instructions in step 10.
or
If you do not want to configure a Web server during installation, enter the number for the option, Do not configure a Webserver, and then go to step 16. If you choose this option, the first time you open the Chili!Soft ASP Administration Console, you will be prompted to configure the ASP Server and a Web server.
15. On the next screen, verify the information that the setup program displays about your Web server. If the information is incorrect, the Chili!Soft ASP installation could fail. In this event, you can run the installation script again. If you do this, it is recommended that you first run the uninstall script, as described in "Uninstalling Chili!Soft ASP" in this chapter. If the information on the screen is correct, enter y (yes), and go to the next step.
or
If the information is incorrect, enter n (no). The setup program returns you to the previous screen. For this screen, follow the instructions in step 14.
16. On the next screen, choose a configuration option for the ASP Server. Enter 1 to choose a default configuration, and go to the next step.
or
Enter 2 to choose a custom configuration, and provide the following information at the prompts:
Would you like me to restart the Web Server for you? Type y (yes) if you want the setup program to automatically restart Apache Web Server after completing Chili!Soft ASP installation, or type n (no) if you do not want this, and then press Enter.
Enable samples on this Web server? Enter y (yes) if you want the setup program to install and configure the Chili!Soft ASP samples on your Web server, or n (no) if you do not want this.
Enable documentation on this Web server? Enter y (yes) if you want the setup program to install and configure the Chili!Soft ASP documentation on your Web server, or n (no) if you do not want this. If you enter n, the documentation will be available from the Administration Console, but not from the Chili!Soft ASP Start Page.
Start the Chili!Soft ASP on system boot? Enter y (yes) if you want the setup program to start Chili!Soft ASP automatically each time you start the computer, or type n (no) if you do not want this.
Would you like to start this Chili!Soft ASP Server? Enter y (yes) if you want the setup program to start Chili!Soft ASP automatically immediately after you finish installing it, or n (no) if you do not want this.
17. On the next screen, select a configuration option for the Administration Console. When you choose Auto-Select/Default, the setup program automatically configures the console. For this option, the setup program specifies the username as "admin" and the password as "root." To protect the security of your server, it is highly recommend that you change these settings as soon as possible. For information about doing this, see "Configuring Usernames and Passwords" in "Chapter 3: Managing Chili!Soft ASP."
When you choose Customize Settings, you must provide the following information:
Administration Console port number: Enter the number of the port on which the Web server should listen for requests for the Administration Console or press Enter to accept the default.
Automatically start the Administration Console on system startup: Enter y (yes) if you want the Chili!Soft ASP Administration Console to start automatically each time you start the computer, or n (no) if you do not want this.
Type the username for the administrator: Enter the administrator username.
New password: Enter the administrator password, which is required for accessing the Administration Console. It is a good idea to make note of this password because you cannot access the Administration Console without providing it.
Confirm password: Re-enter the password to confirm it.
18. If you are upgrading from Chili!Soft ASP 3.5.2, and the setup program was able to export the settings from your previous installation, it prompts you to import these settings into your new installation. Enter y (yes) to import your settings.
or
Enter n (no) if you do not want to import your settings.
19. The next screen provides summary information about your Administration Console configuration, including the URL for accessing it. It is a good idea to make a note of this information or else print this screen for future reference. When finished, press Enter to complete the installation.
The setup program then completes the installation and writes a summary file to:
[C-ASP_INSTALL_DIR]/logs/install_summary
where [C-ASP_INSTALL_DIR] is the directory in which you installed Chili!Soft ASP (/opt/casp by default). It is a good idea to print the information contained in the install_summary file for future reference.
Note
On Chili!Soft ASP 3.6 for Linux, you need to access your Web server by using the "server address" specified in the Zeus Administration Console, rather than the address specified in install_summary.
Before running a custom installation of Chili!Soft ASP, see "Important Notes About Custom Installations for Linux" in this chapter.
For information about the changes the setup program makes to your Web server configuration files, see "Changes to Netscape Web Server Configuration Files" or "Changes to Apache Web Server Configuration Files" in this chapter, as appropriate.
See also:
Installing Chili!Soft ASP 3.6 for Linux in this chapter
Uninstalling Chili!Soft ASP in this chapter
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.