Changing the port number of the installation server
You can change the port number of the OpenPages® installation server. This task is optional.
Procedure
- Log on to the computer where you set up the installation server.
-
If the installation server is running, stop it.
On Windows:
- Stop the
ibmopenpagesinstaller<version>.exeservice. - Or, go to the <installation_server_home> directory of the installation
server that you want to stop. Open a command prompt as an administrator, and then run the following
command:
npm run stop
On Linux®:- Open a shell and go to the <installation_server_home> directory of the installation server that you want to stop, for example /home/opuser/IBM/OPInstall/OP_<version>_Installer.
- Run the following command:
npm run stop
- Stop the
-
Create a .env file to set the port number.
-
Create a new file and add the following line:
INSTALLER_PORT=<port_number>Example:INSTALLER_PORT=9091 -
Save the file in the <installation_server_home> directory.
Name the file .env.
Example: C:\IBM\OPInstall\OP_<version>_Installer /.env
-
Create a new file and add the following line:
-
Start the installation server.
- Windows
- Do one of the following steps:
- Start the
ibmopenpagesinstaller<version>.exeservice. - Go to the
<installation_server_home>
directory. For
example C:\IBM\OPInstall\OP_<version>_Installer. Right-click the startup.bat file and click Run As
Administrator. Note: If you do not see the startup.bat script, you can also find it and run it from the <installation_server_home>\install\Windows directory.
- Start the
- Linux
-
- Open a shell and go to the <installation_server_home> directory, for example /home/opuser/IBM/OPInstall/OP_<version>_Installer.
- Run the following command:
./startup.shNote: If you do not see the startup.sh script, you can also find it and run it from the <installation_server_home>/install/Linux directory.
Results
The port number of the installation server is updated. Use the new port number when you log on to
the installation app:
https://<host>:<port_number>.