Running the Setup Wizard
Run the Deployit Setup Wizard to start the Deployit server and make it ready for use. The command deployit.sh -setup starts the wizard. If you want to stop the Setup Wizard at any time, enter exitsetup. All changes to the configuration will be discarded.
The Setup Wizard displays the following welcome message:
Welcome to the Deployit setup.
You can always exit by typing 'exitsetup'.
To re-run this setup and make changes to the Deployit server configuration
you can run deployit.cmd -setup on Windows or deployit.sh -setup on Unix.
Do you want to use the simple setup?
Default values are used for all properties. To make changes to the default
properties, please answer no.
Options are yes or no.
[yes]:
Answer yes (or press Enter) to use the simple setup. Simple setup makes it easy to quickly get started with Deployit and to use the product's default configuration. See Simple Setup for more information.
Answer no to use the manual setup. Manual setup provides explicit control over all Deployit settings. See Manual Setup for more information.
Note: if you installed Deployit in the same location before, the Setup Wizard will display the following message:
An existing configuration was found. Do you want to edit it?
Options are yes or no. (selecting no will create an empty configuration)
[yes]:
Answer yes (or press Enter) to edit the existing configuration. The Setup Wizard will load all settings from the existing configuration and allow you to choose simple or manual setup.
Answer no to start over with an empty configuration.
Simple Setup
Using simple setup, the Setup Wizard will assume default values for all configuration parameters. Specifically, the following defaults will be used:
- The server will not use secure communication between the Deployit GUI and the Deployit server.
- The server will listen on Deployit's standard HTTP port (4516).
- The server will use a minimum of 3 and a maximum of 24 threads.
- The task recovery file will deleted.
- Applications can be imported from the
importablePackages directory.
The Setup Wizard will ask one more question:
Do you want Deployit to initialize the JCR repository?
Options are yes or no.
[yes]:
Answer yes (or press Enter) if you want the Deployit repository to be recreated. The Setup Wizard must have write access to the repository directory.
Answer no to leave the repository intact.
See Finishing the Setup Wizard for completing the setup process.
Warning: if you choose to recreate the Deployit repository and you have installed Deployit in the same location before, any information stored in the repository will be lost.
Manual Setup
The manual setup procedure contains the following steps:
Secure Communication Configuration
The Setup Wizard will show the following message:
Would you like to enable SSL?
Options are yes or no.
[yes]:
Answer no to use regular unsecured communication between the GUI and the server. Continue with the port configuration section.
Answer yes (or press Enter) if you want to use a secure connection from the GUI to the server.
If you answer yes, the Setup Wizard will ask the following question to help you configure secure communication:
Would you like Deployit to generate a keystore with a self-signed
certificate for you?
N.B.: Self-signed certificates do not work correctly with some versions
of the Flash Player and some browsers!
Options are yes or no.
[yes]:
Answer yes (or press Enter) if you want the Setup Wizard to generate a digital certificate automatically. The digital certificate is required to secure communication and is normally signed by a Certificate Authority (CA). The Setup Wizard can generate a self-signed certificate if there is no official certificate available. Beware that using a self-signed certificate may trigger security warnings in some Flash players and browsers. Continue with the port configuration section.
Answer no if you want to use your own keystore. Deployit uses the built-in Jetty webserver to communicate with the GUI. Jetty requires a certificate with the name Jetty to be present in the keystore.
The Setup Wizard prompts you for the following keystore information:
What is the path to the keystore?
[]:
What is the password to the keystore?
[]:
What is the password to the key in the keystore?
[]:
Enter the filesystem location of the keystore (for example, mykeystore.jks), the password to unlock the keystore and the password for the Jetty certificate in the keystore.
Port Configuration
The Setup Wizard shows the following question:
What http port number would you like the server to listen on?
[4516]:
Note: if you chose to enable secure communication, the default port will be 4517 instead of 4516.
Enter the port number that the Deployit server listens on for connections.
Thread Configuration
The Setup Wizard shows the following questions:
Enter the minimum number of threads the HTTP server should use (recommended:
3 per client, so 3 for single user usage)
[3]:
Enter the minimum number of threads that the Deployit server uses to handle incoming connections. The recommended minimum number of threads is 3 per Deployit application client.
Enter the maximum number of threads the HTTP server should use (recommended :
3 per client, so 24 for 8 concurrent users)
[24]:
Enter the maximum number of threads that the Deployit server uses to handle incoming connections. The recommended maximum number of threads is 3 per Deployit application client.
Repository Configuration
The Setup Wizard shows the following questions:
Where would you like Deployit to store the JCR repository?
[repository]:
Enter the filesystem path to a directory where Deployit will create the repository. If the directory does not exist, the Setup Wizard will create it.
Do you want Deployit to initialize the JCR repository?
Options are yes or no.
[yes]:
Answer yes (or press Enter) if you want the Deployit repository to be recreated. The Setup Wizard must have write access to the repository directory.
Answer no to leave the repository intact.
Warning: if you choose to recreate the Deployit repository and you have installed Deployit in the same location before, any information stored in the repository will be lost.
Importable Packages Configuration
The Setup Wizard shows the following question:
Where would you like Deployit to import packages from?
[importablePackages]:
Enter the filesystem path to a directory from which Deployit will import packages. The Setup Wizard assumes that this directory exists once the Deployit server starts and will not create it.
Finishing the Setup Process
Once you have completed configuration of the setup process, the Setup Wizard displays an overview of all selected options. The following text is an example:
Do you agree with the following settings for Deployit and would you like
to save them?
Changes will be saved in deployit.conf
Security is always enabled
SSL will be disabled
HTTP port is 4516
HTTP server will use a minimum of 3 and a maximum of 24 threads
JCR repository home is at repository
JCR repository will be initialized.
Task recovery file will deleted
Application import location is importablePackages
[yes]:
Answer yes (or press Enter) to store the configuration settings and end the Setup Wizard. If you selected the option to initialize the repository, this will be done now.
Answer no to abort the Setup Wizard.
If the Setup Wizard is successfully completed, it will display the following message:
You can now start your Deployit server by executing the command deployit.cmd
on Windows or deployit.sh on Unix.
Note: If your Deployit server is running please restart it.
Finished setup.