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 RedHat (RHEL)

You can install Wyn Enterprise on RHEL using yum command.

  1. To install ASP.NET Runtime 2.2 (the minimum supported version is 2.2.6), run the following commands.

    sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
    sudo yum install aspnetcore-runtime-2.2
    
  2. (this step is optional) To install PostgreSQL database server, run the following command.

    sudo yum install postgresql-server 
    

    If you do not want to install the database server by yourself, Wyn Enterprise will automatically install PostgreSQL server during installation.

  3. To configure YUM REPO information, either use the internal repository or the external Azure repository.

    a. For internal repository, run the following commands.

    sudo bash -c 'echo "[wynrepo]
    name=Wyn Enterprise
    baseurl={baseurl}
    enabled=1
    gpgcheck=0" > /etc/yum.repos.d/wyn.repo'
    

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

    sudo bash -c 'echo "[wynrepo]
    name=Wyn Enterprise
    baseurl=https://gecfartifacts.blob.core.windows.net/repos/yumrepo/wyn/4.0/en/
    enabled=1
    gpgcheck=0" > /etc/yum.repos.d/wyn.repo'
    
  4. To install Wyn Enterprise, run the following command.

    sudo yum install wyn-enterprise
    
  5. To configure Wyn Enterprise service, run the following command.

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

Silent Installation

To perform the silent installation, please 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 update the version.

    sudo yum update wyn-enterprise
    
  • To uninstall.

    sudo yum erase wyn-enterprise
    
  • To install a specific version.

    sudo yum install wyn-enterprise-{version}
    
  • To force downgrade package.

    sudo yum downgrade wyn-enterprise-{version}
    
  • To show the package information of installed Wyn Enterprise.

    yum info wyn-enterprise
    
  • To update packages list.

    sudo yum clean all
    sudo yum makecache