Last Updated on
Running the Installation Program in Silent Mode
What Is Silent-Mode Installation?
Silent-mode installation allows you to define an installation configuration only once and then use the configuration to duplicate the installation on many machines. During installation in silent mode, the installation program reads the settings for your configuration from a SilentInstaller.conf file that you create before beginning the installation. The installation program does not display any configuration options during the installation process. Silent-mode installation works on UNIX systems.
Overview of Silent-Mode Installation Steps
The silent-mode installation process has two primary steps:
- Edit a SilentInstaller.conf file that defines the installation configuration that user would normally enter during an interactive installation process. For example, in SilentInstaller.conf, user can supply the configuration for the Ephesoft installation directory, the shared folder path, and the components to be installed.
Important Considerations for Silent-Mode Installation
When using silent mode, keep the following considerations in mind:
- Silent-mode installation requires the same amount of temporary disk space and uses the same temporary storage directories as a standard installation.
- A silent-mode installation takes the same amount of time as a standard installation. At the beginning of a silent-mode installation, an initial installation program window or message is displayed briefly, indicating that the installation has started.
- Incorrect entries in the SilentInstaller.conf file can cause installation failures. To help you determine the cause of a failure, Ephesoft installer will check for the incorrect entries before starting installation. If there is any incorrect entry then installer will stop installation displaying invalid entry.
- Please don’t use semi-colon or special characters in SilentInstaller.conf file.
Editing a SilentInstaller.conf File for Silent-Mode Installation
When you install Ephesoft in silent mode, the installation program uses a SilentInstaller.conf file (SilentInstaller.conf) to determine which installation options should be implemented. Before you can run the installation program in silent mode, you must first edit a SilentInstaller.conf file.
To edit a SilentInstaller.conf file:
- Open the file Respose-Files/SilentInstaller.conf file in any editor.
- In the SilentInstaller.conf file that you opened on your system, edit the values for the data-value names to reflect your configuration.
- Save the file, with the name SilentInstaller.conf, in the directory Response-Files.
Below table describes all of the data-value names that are currently available.
|input_installation_directory||The full path for the Ephesoft installation directory of your choice.|
|input_changed_shared_folder_path||The full path for the directory where you want to install SharedFolders.|
|input_tomcat_port_number||Tomcat port number.|
|input_system_ip_name||System IP of the server where database is present.|
|input_database_username||Username of the database if existing database instance.|
|input_database_port_number||Database port number|
|input_database_password||Password of the database.|
|input_application_database_name||Database name of Ephesoft application.|
|input_report_database_name||Database name of Ephesoft report.|
|input_existing_shared_folder_path||The full path for the directory where SharedFolders are present, if user want to use existing shared folders.|
This is used for up gradation purposes.
|input_mounted_sharedfolder_path||The full path for the mounted shared folder.|
Starting Silent Mode Installation
This section describes how to start a silent mode installation. It contains the following sections:
Starting the Installation Program in Silent Mode
To start the installation program in silent mode, follow these steps:
- Copy the Ephesoft_220.127.116.11.tar.gz, Response-Files directory and installation scripts to some path using WINSCP or any other tool. As shown in the below example all the required files have been copied to /home/turbo directory.
2. Edit a SilentInstaller.conf file in Respose-Files/ directory that defines the configuration settings normally entered by a user during an interactive installation process, such as console-mode installation. For information about creating a silent.xml file, see Editing a SilentInstaller.conf File for Silent-Mode Installation.
3. In order to execute the scripts, give appropriate permission for executing the scripts using the command “chmod 755 * “.
4. Now, proceed with the fresh/silent installation of Ephesoft on Linux operating system (RedHat or Ubuntu). Run the installation script using command “./install -silentinstall”. The script must be run as a super user. Installation will be interrupted if script is not run with super user permission.
5. Now installer will start installation as a silent installer.
NOTE: User can also run silent installer by entering “y” option when prompted while running the command “./install”. As shown in below screenshot.
Sample SilentInstaller.conf File for Silent Mode Installation
The following sample SilentInstaller.conf file installs all default configuration of Ephesoft Server.
#This takes the input of installation directory.
#This takes the input of whether to change shared folder path. ‘y’ [without qoutes] changes the default shared folder path and ‘n’ [without qoutes] will install the shared folders at default path.
#If above switch change shared folder path is ‘y’ then this act as an input for shared folder path.
#This takes the input of tomcat port number.
#This takes the input whether to change the server name. ‘y’ [without qoutes] changes the server name and ‘n’ [without qoutes] do not change the default server name.
#If above switch change server name is ‘y’ then this act as an input for server name.
#This takes the input of whether to make a new database instance. ‘y’ [without qoutes] make a new instance of mariadb and ‘n’ [without qoutes] donot make a new instance of mariadb.
#This takes the input of ip name.
#This takes the input of database user name.
#This takes the input of database port number.
#This takes the input of database password.
#This takes the input of application database name.
#This takes the input of report database name.
#The installation of tesseract is optional. This takes the input whether to install tesseract or not. ‘y’ [without qoutes] installs the tesseract and ‘n’ [without quotes] donot install the tesseract.
#This takes the input of whether to use existing shared folder. ‘y’ [without qoutes] uses existing shared folder and ‘n’ [without qoutes] do not use existing shared folders.
#This takes the input of existing shared folder path if above existing shared folder switch is ‘y’.
#This takes the input of whether to enable database patch. ‘y’ [without qoutes] enables the database patch and ‘n’ [without qoutes] do not enable the database patch.
#This takes the input of whether to upgrade or not. ‘y’ [without qoutes] upgrades the application and ‘n’ [without qoutes] do not upgrade the application.
#This takes the input of whether to stop the server if it is running during upgrade installation. ‘y’ [without qoutes] stops the server and ‘n’ [without qoutes] do not stop the server and exit the script.
#This takes the input of whether to install as a multi server. ‘y’ [without qoutes] will install as a multi server and ‘n’ [without qoutes] installs as a single server.
#If above multi server switch is ‘y’ then this takes the input as a path for mounted shared folder path.
Running the Upgrade Installer in Silent Mode
The process for upgrading an installation in silent mode is similar to the process for a full installation in silent mode, except that the SilentInstaller.conf file is much simpler. Please note the following issues when performing an upgrade in silent mode:
- Incorrect entries in SilentInstaller.conf can cause installation failures.
- Please set these two data-value properly in case of up gradation.