product-iots/modules-old/core/distribution/README.txt

167 lines
5.9 KiB
Plaintext
Raw Normal View History

2016-05-20 13:23:52 +00:00
WSO2 IoT Server
2015-05-13 11:00:13 +00:00
----------------------
2017-01-20 12:39:16 +00:00
Welcome to the WSO2 IoT Server (IoTS) 3.0.0 release.
2015-05-13 11:00:13 +00:00
=======
Key Features
------------
2017-01-20 12:39:16 +00:00
Self-service device enrollment and management with an end-user IoTS console.
2015-05-13 11:00:13 +00:00
Installation & Running
----------------------
2017-01-20 12:39:16 +00:00
1. Extract the downloaded ZIP file.
2. Follow the INSTALL.txt file for install instructions.
3. After the server starts, point your Web browser to https://localhost:9443/devicemgt in order to see the available device types and operations
4. Navigate to https://localhost:9443/api-store to see the available device APIs. You can subscribe to these APIs with the default application (or by creating a new application).
In the API Store, go to my subscriptions and locate the client ID and secret, which can be used to invoke these APIs.
2015-05-13 11:00:13 +00:00
System Requirements
-------------------
2016-05-20 13:23:52 +00:00
1. Minimum memory - 4GB
2017-01-20 12:39:16 +00:00
2. The portal app requires full Javascript enablement on the Web browser
2015-05-13 11:00:13 +00:00
2016-05-20 13:23:52 +00:00
WSO2 IoT Server (IoTS) Binary Distribution Directory Structure
2015-05-13 11:00:13 +00:00
-----------------------------------------------------
2017-01-19 09:45:33 +00:00
IoT_HOME
.
├── core //core component
2017-01-20 12:39:16 +00:00
├── analytics //Analytics component
├── broker //Message Broker component
├── samples //sample device types e.g., connectedcup
2017-01-19 09:45:33 +00:00
├── plugins //pre-built device types
2017-01-20 12:39:16 +00:00
The IoTS Core, Analytics, and Broker have similar directory structures. For example Core has the following structure:
2017-01-19 09:45:33 +00:00
IoT_HOME/core
2015-05-13 11:00:13 +00:00
.
├── bin //executables
├── dbscripts //DBScripts
├── INSTALL.txt
├── lib
├── LICENSE.txt
├── modules //Jaggery Modules
├── README.txt
├── release-notes.html
├── repository // repository
├── tmp
├── webapp-mode
- bin
2017-01-20 12:39:16 +00:00
Contains various scripts (i.e., .sh & .bat scripts).
2015-05-13 11:00:13 +00:00
- dbscripts
Contains the database creation & seed data population SQL scripts for
various supported databases.
- lib
2016-05-20 13:23:52 +00:00
Contains the basic set of libraries required to startup WSO2 IoT Server
2015-05-13 11:00:13 +00:00
in standalone mode
- repository
The repository where Carbon artifacts & Axis2 services and
2017-01-20 12:39:16 +00:00
modules deployed in WSO2 Carbon, and other custom deployers such as
dataservices and axis1services are stored.
2015-05-13 11:00:13 +00:00
- carbonapps
Carbon Application hot deployment directory.
- components
Contains all OSGi related libraries and configurations.
- conf
2017-01-20 12:39:16 +00:00
Contains server configuration files. e.g., axis2.xml, carbon.xml
2015-05-13 11:00:13 +00:00
- data
Contains internal LDAP related data.
- database
Contains the WSO2 Registry & User Manager database.
- deployment
Contains server side and client side Axis2 repositories.
2017-01-20 12:39:16 +00:00
All deployment artifacts should go into this directory.
2015-05-13 11:00:13 +00:00
- logs
Contains all log files created during execution.
- resources
Contains additional resources that may be required.
- tenants
2017-01-20 12:39:16 +00:00
This directory will contain relevant tenant artifacts
in the case of a multi-tenant deployment.
2015-05-13 11:00:13 +00:00
- tmp
Used for storing temporary files, and is pointed to by the
2017-01-20 12:39:16 +00:00
java.io.tmpdir system property.
2015-05-13 11:00:13 +00:00
- webapp-mode
2017-01-20 12:39:16 +00:00
You have the option of running WSO2 Carbon in the webapp mode (hosted as a web-app in an application server). This directory contains files required to run Carbon in the webapp mode.
2015-05-13 11:00:13 +00:00
- LICENSE.txt
Apache License 2.0 under which WSO2 Carbon is distributed.
- README.txt
This document.
- INSTALL.txt
2016-05-20 13:23:52 +00:00
This document contains information on installing WSO2 IoT Server.
2015-05-13 11:00:13 +00:00
- release-notes.html
2017-01-20 12:39:16 +00:00
Release information for WSO2 IoT Server 3.0.0
2015-05-13 11:00:13 +00:00
2017-01-20 12:39:16 +00:00
Secure sensitive information in Carbon configuration files
2015-05-13 11:00:13 +00:00
----------------------------------------------------------
2017-01-20 12:39:16 +00:00
There is sensitive information such as passwords in the Carbon configuration.
You can secure them by using secure vault. Please go through the following steps to
secure them with the default mode.
2015-05-13 11:00:13 +00:00
2017-01-20 12:39:16 +00:00
1. Configure secure vault with the default configurations by running the ciphertool
script from the bin directory.
2015-05-13 11:00:13 +00:00
> ciphertool.sh -Dconfigure (in UNIX)
2017-01-20 12:39:16 +00:00
This script automates the following configurations that you would normally need to do manually.
2015-05-13 11:00:13 +00:00
2017-01-20 12:39:16 +00:00
(i) Replaces sensitive elements in configuration files that have been defined in
2015-05-13 11:00:13 +00:00
cipher-tool.properties, with alias token values.
2017-01-20 12:39:16 +00:00
(ii) Encrypts the plain text password which is defined in the cipher-text.properties file.
(iii) Updates the secret-conf.properties file with the default keystore and callback class.
2015-05-13 11:00:13 +00:00
cipher-tool.properties, cipher-text.properties and secret-conf.properties files
2017-01-20 12:39:16 +00:00
can be found in the <IoT_HOME>/repository/conf/security directory.
2015-05-13 11:00:13 +00:00
2017-01-20 12:39:16 +00:00
2. Start the server by running the wso2server script, which is in the <IoT_HOME>/bin directory.
2015-05-13 11:00:13 +00:00
> wso2server.sh (in UNIX)
2017-01-20 12:39:16 +00:00
When running the default mode, it asks you to enter the master password
(By default, the master password is the password of the Carbon keystore and private key)
2015-05-13 11:00:13 +00:00
2017-01-20 12:39:16 +00:00
3. Change any password by running the ciphertool script, which is in the <IoT_HOME>/bin directory.
2015-05-13 11:00:13 +00:00
> ciphertool -Dchange (in UNIX)
2017-01-20 12:39:16 +00:00
For more information, see
https://docs.wso2.com/display/ADMIN44x/Carbon+Secure+Vault+Implementation
2015-05-13 11:00:13 +00:00
Training
--------
2017-01-20 12:39:16 +00:00
WSO2 Inc. offers a variety of professional Training Programs for WSO2 products.
For additional support on training information please goto http://wso2.com/training/
2015-05-13 11:00:13 +00:00
Support
-------
2017-01-20 12:39:16 +00:00
We are committed to ensuring that your enterprise middleware deployment is completely supported from evaluation to production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.
2015-05-13 11:00:13 +00:00
For additional support information please refer to http://wso2.com/support/
---------------------------------------------------------------------------
2017-01-19 09:45:33 +00:00
(c) Copyright 2017 WSO2 Inc.