# Installation with Windows
To install the 4ALLPORTAL with Windows, you should first set up a database. Currently, the 4ALLPORTAL supports the Microsoft SQL Server, MariaDB and MySQL. Make sure it is accessible from the server you are installing the 4ALLPORTAL on. If you have further questions regarding the database, please contact our support team.
After setting up the database, a PowerShell script takes over the installation procedure. You can download it directly from the repository server, using a browser or PowerShell. Here are some examples:
https://repository.4allportal.net/installer/<VERSION>/install.ps1
https://repository.4allportal.net/installer/3.8.5/install.ps1
https://repository.4allportal.net/installer/latest/install.ps1 <-- recommended
The script can be launched from any folder location you desire. To launch the script, open up a PowerShell terminal with administrator privileges. Then execute the following command to allow script execution:
Set-ExecutionPolicy bypass
Before executing the installer, start and exit the Internet Explorer once. Execute it with the following arguments:
.\install.ps1 -installDir c:\4allportal -license ignore -version latest
The script will now install Java and all the other dependencies required by the 4ALLPORTAL.
Name | Description |
---|---|
installDir | The target directory for the installation files. For example c:\4allportal . This folder will contain all application binaries, plugins and configuration files. |
license | The 4ALLPORTAL license to verify usage. This parameter is currently not implemented. |
version | The version to be installed. For example: latest , 3.8.5 . |
serviceName | The name for the windows service. Default is 4ALLPORTAL . |
serviceUser | The user for the windows service. Its password will be requested during the installation. Default is the system user. Often needed to be changed for MSSQL's integrated security. |
After the script completed, go to the windows service manager (services.msc
) and search for 4ALLPORTAL
. If you would like to use Microsoft's integrated security feature, set up the user for authentication as a service user using the service properties. Then start the service. After a while, the installation GUI will be available at http://localhost:8181/. Upon the first launch, you will see an installation wizard. Follow the instructions there to complete the installation.