Follow the below instructions to install WSO2 Governance Registry (source) version 4.15.1 0 on Windows.
Info | ||
---|---|---|
| ||
Before you install Governance Registry, ensure that your system meets the minimum hardware and software requirements described in Governance Registry Installation Prerequisites. |
...
Table of Contents | ||||
---|---|---|---|---|
|
...
|
...
Step 1. Obtain Installation Pack
Download the latest version of the program (for downloading instructions, see Obtaining Governance Registry Downloading the Product).
...
Step 2. Extract the Archive
After the download is complete, extract the installation files to a user-defined folder (further referred to as GREG_HOME
).
...
Step 3. Set up JAVA_HOME
Anchor | ||||
---|---|---|---|---|
|
...
2. Inside that path, there will be one or more sub-directories (for example, jdk1.5.0_08)
. If you have just recently installed the Java Development Kit, it will be located in the newest directory, which you can find by sorting by date. For example, it may be installed in C:\Program Files\Java\jdk1.6.0_2529
. (This is the installation path.)
...
There are two ways to set up JAVA_HOME: via "System Properties" or via "Windows Command Prompt".
...
Alternatively, you can temporarily set the JAVA_HOME environment variable within a Windows command prompt window (CMD).
1. Click "Start" "Run."
2. Type "cmd" click "OK" to run CMD.
...
3. In the opened CMD, enter the following command and press <Enter>:
Code Block |
---|
set JAVA_HOME=<JDK_INSTALLATION_PATH>
|
...
3. In the opened CMD window, enter the following command and press "Enter":
Code Block |
---|
set JAVA_HOME
|
4. The program shows that JAVA_HOME
is set to the JDK installation path (for example, JAVA_HOME=:c\Program Files\java\jdk1.6.0_25)
.
This means that JAVA_HOME
was set up correctly.
...
- Download the source distribution, which is available as a ZIP archive.
- Expand the source archive to a directory of your choice.
- All the necessary build scripts are included with the source distribution.
You can run the following command inside that directory to build the WSO2 Governance Registry:
Info title Note You will require a connection to the Internet for the Maven build to download the dependencies required for the build.
Command mvn
clean install
This will create the complete release artifacts including the binary and source distributions in the modules/distribution/target/ directory which can be installed using the above instructions.
...
3. Go to GREG_HOME\bin
via the command:
Code Block |
---|
cd GREG_HOME\bin
|
For example, cd c:\greg\wso2greg-4.15.1-src0\bin.
4. Execute the following command:
Code Block |
---|
wso2server.bat --run |
5. The operation log is displayed.
Note | ||
---|---|---|
| ||
Make sure no errors occurred. |
...
Governance Registry is installed and environment variables are set up. Proceed to Starting Governance Registry Management Console on Windows for instructions on how to run the Governance Registry Management Console.
Excerpt | ||
---|---|---|
| ||
Instructions on how to install Governance Registry on Windows from Source Distribution. |