x
Wyn 4.0 launches with more extensibility, enhanced embedded business intelligence, and an improved end-user experience. Learn More Wyn 4.0 launches, enhanced embedded business intelligence, improved end-user experience. Learn More Wyn 4.0 launches

Wyn Enterprise: Installing on Ubuntu

On Ubuntu, Wyn Enterprise can be installed using apt-get command.

Using apt-get Command

  1. To install ASP .NET Core 2.2 Runtime library according to the version of your server. Refer https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/runtime-2.2.7

  2. (this step is optional) Install any supported database server such as PostgreSQL, SqlServer, MySQL and OraclePostgreSQL.
    If you do not want to install the database server by yourself, Wyn Enterprise will automatically install PostgreSQL server during installation.

  3. To add the package source of Wyn Enterprise, either use the internal repository or the external Azure repository.

    a. For internal repository, run the following command.

     sudo bash -c 'echo "deb http://10.32.2.200:1040/ /" > /etc/apt/sources.list.d/wyn.list'
    

    b. For external Azure repository, run the following command.

     sudo bash -c 'echo "deb https://gecfartifacts.blob.core.windows.net/repos/aptrepo/wyn/4.0/en/ /" > /etc/apt/sources.list.d/wyn.list'
    
  4. To add the public key of apt repository of Wyn Enterprise, either use the internal repository or the external Azure repository.

    a. For internal repository, run the following command.

     wget -q -O - http://10.32.2.200:1040/wyn.enterprise.pubkey | sudo apt-key add -
    

    b. For external Azure repository, run the following command.

     wget -q -O - https://gecfartifacts.blob.core.windows.net/repos/aptrepo/wyn/wyn.enterprise.pubkey | sudo apt-key add -
    
  5. To update packages list.

     sudo apt-get update
    
  6. To install the latest version of Wyn Enterprise.

     sudo apt-get install wyn-enterprise
    
  7. To configure Wyn Enterprise, execute the script and run the following command.

    sudo bash /opt/Wyn/Monitor/configure.sh
    

    Enter the necessary information required during installation process (press enter to use the default value).

Silent Installation

To perform the silent installation, execute the script file 'install.sh' with the following arguments:

  • -s: Indicates whether to perform the silent installation.
  • -m: Refers to the modules that you want to install on this server, available values are "Server", "Portal", "ReportingWorker" and "CotWorker".
  • -d: Refers to the database provider, the supported database providers are "Postgres", "SqlServer", "MySql" and "Oracle".
  • -c: Indicates the database server connection strings.
  • -i: Indicates whether to import the sample documents.
  • -f: Refers to the location of the custom sample data, the custom sample data should be a ZIP file exported from the Wyn Enterprise system.
  • -b: Refers to the back-end server's address, this argument must be provided if you do not want to install the module "Server" on this server.
  • -k: The license key will be registered to the Wyn Enterprise system during the installation process.
  • -v: Indicates the exact version of Wyn Enterprise that you want to install. The latest version of Wyn Enterprise will be installed if you do not specify this argument.
  • -h: Shows the help information.

The install and uninstall script files can be downloaded from the following links:

Some Examples

  • To install all the modules with the default "Postgres" database provider on this server and import the built-in documents, run the following command.

    sudo bash ./install.sh -si
    
  • To install all the modules with the specified "MySql" database provider on this server and do not import the built-in documents, run the following command.

    sudo bash ./install.sh -s -d "MySql" -c "Server=localhost;Port=3306;Uid=root;Pwd=xA123456;"
    
  • To install modules "Server“ and "Portal" with default "Postgres" database provider on this server and import the custom sample documents, run the following command.

    sudo bash ./install.sh -sm "Server,Portal" -if "/the/location/of/custom/sample/documents.zip"
    
  • To install modules "ReportingWorker" and "CotWorker" on this server, run the following command.

    sudo bash ./install.sh -sm "ReportingWorker,CotWorker" -b "10.32.5.31"
    
  • To uninstall Wyn Enterprise, run the following command.

    sudo bash ./uninstall.sh -s
    
  • To uninstall Wyn Enterprise and force delete all its contents, run the following command.

    sudo bash ./uninstall.sh -sf
    
  • To uninstall Wyn Enterprise and remove the installed built-in database, run the following command.

    sudo bash ./uninstall.sh -sr
    

More Commands

  • To install a specific version.

    sudo apt-get install wyn-enterprise=x.x.xxx
    
  • To upgrade Wyn Enterprise, run either of the commands.

    sudo apt-get update
    sudo apt-get --only-upgrade install wyn-enterprise
    

    OR

    sudo apt-get update
    sudo apt-get install wyn-enterprise
    
  • To view version list.

    apt-cache policy wyn-enterprise
    
  • To uninstall.

    sudo apt-get purge wyn-enterprise
    
  • To check which version is installed.

    dpkg -s wyn-enterprise