Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:start [2018-02-22 20:23:47] ahtikelder [STEP 3 (optional) - User Content Services development and own application integration with RoksNet] |
public:start [2023-09-17 09:38:58] (current) rihohiiepuu [Getting started] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Getting started on ROKSNET ====== | + | ====== Getting started (**Deprecated**) ====== |
- Install **Security Server** and setup **Trust Services**: | - Install **Security Server** and setup **Trust Services**: | ||
Line 47: | Line 47: | ||
| Ubuntu 14.04 LTS x86-64 | Operating system | | | Ubuntu 14.04 LTS x86-64 | Operating system | | ||
| 2 GB RAM, 10 GB disk space | Minimum system requirements | | | 2 GB RAM, 10 GB disk space | Minimum system requirements | | ||
- | | http://apt.roksnet.com/xroad6-debs | RoksNet package repository | | + | | http://x-road.eu/packages | X-Road package repository | |
- | | http://apt.roksnet.com/xroad6-debs/roksnet_repo.gpg | The repository key | | + | | http://x-road.eu/packages/xroad_repo.gpg | The repository key | |
| TCP 5500 | Port inbound & outbound for message exchange between security servers | | | TCP 5500 | Port inbound & outbound for message exchange between security servers | | ||
| TCP 5577 | Port inbound & outbound for querying OCSP responses between security servers | | | TCP 5577 | Port inbound & outbound for querying OCSP responses between security servers | | ||
Line 81: | Line 81: | ||
INSTALLATION | INSTALLATION | ||
- | 3. Add the address of the RoksNet package repository and the nginx repository to to /etc/apt/sources.list.d/roksnet.list: | + | 3. Add the address of the X-Road package repository and the nginx repository to to /etc/apt/sources.list.d/xroad.list: |
- | <code>deb [arch=amd64] http://apt.roksnet.com/xroad6-debs trusty main | + | <code>deb http://x-road.eu/packages trusty main |
deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main | deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main | ||
deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main</code> | deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main</code> | ||
- | 4. Add RoksNet's repository's signing key to the list of trusted keys: | + | 4. Add X-Road's repository's signing key to the list of trusted keys: |
- | <code>curl http://apt.roksnet.com/xroad6-debs/roksnet_repo.gpg | sudo apt-key add -</code> | + | <code>curl http://x-road.eu/packages/xroad_repo.gpg | sudo apt-key add -</code> |
<code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 00A6F0A3C300EE8C</code> | <code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 00A6F0A3C300EE8C</code> | ||
<code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB9B1D8886F44E2A</code> | <code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB9B1D8886F44E2A</code> | ||
Line 93: | Line 93: | ||
5. Install the security server software: | 5. Install the security server software: | ||
<code>sudo apt-get update</code> | <code>sudo apt-get update</code> | ||
+ | <code>sudo apt-get install openjdk-8-jre-headless</code> | ||
<code>sudo apt-get install xroad-securityserver</code> | <code>sudo apt-get install xroad-securityserver</code> | ||
Line 243: | Line 244: | ||
6. Install postgreSQL | 6. Install postgreSQL | ||
+ | For ubuntu 16.04 LTS | ||
+ | <code bash> | ||
+ | vi /etc/apt/sources.list.d/pgdg.list | ||
+ | </code> | ||
+ | add line: | ||
+ | <code bash> | ||
+ | deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main | ||
+ | </code> | ||
+ | Add key | ||
+ | <code bash> | ||
+ | wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | ||
+ | </code> | ||
+ | |||
+ | <code bash> | ||
+ | apt-get update | ||
+ | apt-get install postgresql-9.3 | ||
+ | </code> | ||
+ | |||
+ | For ubuntu 14.04 LTS | ||
<code>apt-get install postgresql-9.3</code> | <code>apt-get install postgresql-9.3</code> | ||
Line 387: | Line 407: | ||
=== Python example === | === Python example === | ||
- | Source code of example: {{ :public:docs:roksnet:pyxadapterlib_1.6.tgz |}} | + | Source code of example: [[https://github.com/Roksnet/Python-adapter-example|https://github.com/Roksnet/Python-adapter-example]] |
The example contains library and two examples. Installation instructions are in included in the package. | The example contains library and two examples. Installation instructions are in included in the package. | ||
Line 393: | Line 413: | ||
* create service implementation function (example: example_hello/hello/services/helloservice.py) | * create service implementation function (example: example_hello/hello/services/helloservice.py) | ||
* import and register service implementation module (example: example_hello/hello/server.py) | * import and register service implementation module (example: example_hello/hello/server.py) | ||
- | * create service description WSDL (example: example_hello/hello/static/hello_v4.wsdl) | + | * create service description WSDL (example: example_hello/hello/static/hello.wsdl) |
* publish service in Security Server and grant access to clients | * publish service in Security Server and grant access to clients | ||