FITMAN – Future Internet Technologies for MANufacturing

Project ID 604674

3DScan ___ Installation and Administration Guide

Author(s): Copyright: Release Date: Revision:

Toni Ventura DATAPIXEL, Aitor Romero DATAPIXEL © 2015 DATAPIXEL 06-08-2015 1.0

FITMAN – Future Internet Technologies for MANufacturing

Project ID 604674

Table of Contents INTRODUCTION ................................................................................................................................................. 3 1.

SOFTWARE LICENSE .............................................................................................................................. 3

2.

INSTALLING THE SOFTWARE ............................................................................................................. 3 2.1. 2.2. 2.3. 2.4.

3.

System Requirements ....................................................................................................................... 3 Download ........................................................................................................................................ 3 Installation and Configuration ........................................................................................................ 3 Sanity Check .................................................................................................................................... 5

ADMINISTRATION PROCEDURES ....................................................................................................... 7

2

FITMAN – Future Internet Technologies for MANufacturing

Project ID 604674

Introduction

The main objective of this document is to explain clearly how to install the Specific Enabler 3DScan so it can be used by the future users. This document should work as a manual for the installation process.

1. Software License

The SE is licensed under the FreeBSD License, which allows maximum reuse, contribution and the freedom of commercialization for 3rd parties. Please check the specific terms and conditions linked to this open source license at https://www.freebsd.org/copyright/freebsdlicense.html. 2. Installing the Software

2.1. 



2.2.

System Requirements Hardware requirement: o 100 MBytes of available disk space at least o 512 MBytes of RAM at least o 1Ghz or more, single or multi-core CPU Software requirement: o Install Java version 7 . o Install Apache Tomcat servlet container version 6. o Install MySQL server 5.5. o TCP port set in Tomcat must be reachable. Download

Donwlod the enabler in the following link of the FITMAN Catalogue: http://catalogue.fitman.atosresearch.eu/enablers/3dscan/downloads 2.3.

Installation and Configuration

 For local installation: The 3Dscan SE runs in a servlet container such as Tomcat, thus it does not depend on a particular operating system flavor. Installation Steps: 1. Install Java version 7 if there is no Java configured in the PC. 2. Install Apache Tomcat servlet container version 6. 3. Get the 3Dscan_v3.zip file and extract it. It contains 2 zipped application files: FitmanGL.zip and sqlrest.zip. And it also includes the script file fitman_3dscan_webgl.sql in the folder of SQL_Config for creating the database in MySQL server to manage the file storage path.

3

Project ID 604674

FITMAN – Future Internet Technologies for MANufacturing

4. Install MySQL server 5.5 and create the database called FITMAN with the script provided. Meanwhile to ensure there is mysql-connector-java-5.1.31-bin.jar in the bin folder of Tomcat in order to connect to MySQL, if not copy the jar file from the SQL_Config folder. 5. Extract both FitmanGL.zip and sqlrest.zip files, and copies both folders to the {TomcatRoot}/webapps directory. 6. Then configure the sqlrestconfig.xml in the extracted sqlrest directory with your own MySQL database username and password as the following xml file:

7. Besides, configure config.properties in the folder of {Tomcat Root}/webapps/fitmanGL/WEB-INF/classes/. Change the highlighted lines with your own setting of file location and web host as shown in the following format: # To change this template, choose Tools | Templates # and open the template in the editor. url_threejs = http://cdnjs.cloudflare.com/ajax/libs/three.js/r67/three.min.js url_jquery = http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js url_bbdd = http://localhost:8080/sqlrest/webgl/ url_resource_base = http://localhost:8080/Fitman3DImages/ dir_base = C:/FITMAN_TEST_DATA/

8. It is necessary mapping the local image storage directory (dir_base value in config.properties above) which is outside the web-app to the URL (url_resource_base value above) in TOMCAT. Thus add the following example code in the server.xml between the tags in tomcat directory/conf/:

4

FITMAN – Future Internet Technologies for MANufacturing

Project ID 604674

9. Run/Start Tomcat. 

For the VM deployment: 1. Install the Oracle VM VirtualBox (https://www.virtualbox.org/wiki/Downloads). 2. Run virtual image: The 3Dscan VM instance is running on CentOS (minimal, no GUI version. The Virtual network type is set to bridge (default with libvrt) or Bridge (enables network cards depending on the type of the wired or wifi adapter). If the free RAM is getting less than 1GB and there is less than 5GB of free disk space, the GE instance begins to experience problems. Once the Virtual Machines are configured, and you can access to it by using command: sudo bash Login: root Password: centos To discover the guest virtual network IP address from the host in a terminal, the command can be used (as root) in the host: ifconfig An example for eth0 (could be any number) configuration is the following: # ifconfig eth0 eth0 Link encap:EthernetHWaddr 08:00:27:2C:2E:7F inet addr:192.168.1.193 Bcast:192.168.1.255 Mask:255.255.255.0 inet6addr: fe80::a00:27ff:fe2c:2e7f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13760 errors:0 dropped:0 overruns:0 frame:0 TX packets:1291 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1756333 (1.6 MiB) TX bytes:1011237 (987.5 KiB)

The highlighted address is the VM server path.

2.4. 

Sanity Check

For the local deployment: 1. Install any REST Client for any browser, such as POSTMAN (https://chrome.google.com/webstore/detail/postman-restclient/fdmmgilgnpjigdojojpjoooidkmcomcm?utm_source=chrome-app-launcherinfo-dialog) plugin for Chrome. 2. In POSTMAN, send GET http://host:port/sqlrest/webgl/ request to check if the “webgl” database of “fitman” existed. 3. See next section “User Interface” for testing details. 4. Send GET http://host: port/FitmanGL/rest/get/id_canvas/1(your image file ID added) request in POSTMAN to check if the Response is 200 with a JavaScript file. 5. Upload a 3D file to http://{server Ip: port}/{FitmanGL or your application root}/index_upload.jsp 6. Modify the FitmanGL_DisplayTesting.html with the following script, so that to show the 3D file in any web browser:

5

FITMAN – Future Internet Technologies for MANufacturing

Project ID 604674



For the VM image 1. Check TOMCAT status As default, Tomcat should be auto-start with the system, to check the status: # service tomcat status If is not running, to start it: # service tomcat start To stop it: # service tomcat stop The default port for Tomcat is TCP 8080 which is opened for host access. The installation path of Tomcat is /home/apache-tomcat-7.0.53 The html interface for Tomcat can be accessed from any browser on the host through the following url: http://[SERVER PATH]:8080 To manage app from Tomcat Web GUI in any web browser: Username: tomcat Password: tomcat To test the upload page: http://[SERVER PATH]:8080/FitmanGLv1/ 2. Check MySQL status Mysql, as per default, is auto-started, To check it status: # service mysqld status To start it tun: # service mysqld start A quick fix to set MySQL to auto-start, is to run the following command as root: # sudo /sbin/chkconfig --level 2345 mysqld on Once, the MySQL is running, send some requests calls in any REST Client to see if all SQL REST services work, such as: I. II.

Type http://host:port/sqlrest/webgl/ in any web browser in hosting PC to check if the database table existed. Type http://host:port/sqlrest/webgl/1 (any your data ID fetched in the step I) in any web browser in hosting PC to check the file info.

3. Download FitmanGL_DisplayTesting.html, and then edit it with the following script, so that to run it in any hosting PC web browser.

6

Project ID 604674

FITMAN – Future Internet Technologies for MANufacturing

3. Administration Procedures

To diagnose installation/running errors, refer TOMCAT logs in \tomcat directory\logs

7

FITMAN 3DScan admin guide.pdf

Project ID 604674 FITMAN – Future Internet Technologies for MANufacturing. 3DScan. ___ .... and the freedom of commercialization for 3rd parties. Please ...

321KB Sizes 2 Downloads 233 Views

Recommend Documents

FITMAN 3DScan user guide.pdf
USER INTERFACE . ... The main objective of this document is to give the basics so that users can get ... individual points obtained from a scanning system.

FITMAN MoVA admin guide.pdf
Project ID 604674 FITMAN – Future Internet Technologies for MANufacturing. MoVA. Advanced Management of Virtualized. Assets. ___. Installation and Administration Guide. Author(s): Konrad Pfleiderer, DITF Denkendorf. Copyright: © 2015 DITF Denkendo

FITMAN SFDC admin guide.pdf
Network specifications; and which is intended to foster the rapid prototyping of RFID. applications. Therefore, allows collect information from RFID devices. The Fosstrak platform is composed by four separate modules: EPCIS Repository: Fosstrak EPCIS

FITMAN SFDC admin guide.pdf
Shoopflor Data Collection (SFDC) SE, installed and running on a virtual machine, as well as. the process for a clean installation taking into account list of ...

FITMAN SEMed admin guide final.pdf
Table of Figures. FIGURE 1 UPLOAD OF A WEB APPLICATION ................................................................................................4 ... FIGURE 4 EMPTY O-MI MESSAGE..................................................................

FITMAN SEMed admin guide final.pdf
FITMAN SEMed admin guide final.pdf. FITMAN SEMed admin guide final.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying FITMAN SEMed admin ...

FITMAN SEMed user guide final.pdf
Author(s): Marco Franke ( BIBA – Bremer Institut für Produktion und Logistik GmbH). Copyright: © 2015 BIBA – Bremer Institut für Produktion und Logistik GmbH.

FITMAN MoVA user guide.pdf
Demo repository . ... Retrieval allows the definition of data type specific search criteria, including e. g. ... stored and published to build an open search repository. ... a web service interface providing retrieval functionalities will be availabl

FITMAN CBPM user guide.pdf
Ecosystems. Targeted at the Virtual Factory domain, and based on open standards like. Business Process Model and Notation (BPMN) 2.0, it is delivered as a ...

OLA Admin -
Jan 11, 2016 - Server Info. Hostname raspberrypi. Primary IP. 192.168.1.72. Primary Broadcast Address 192.168.1.255. Primary MAC Address.

FITMAN SFDC user guide.pdf
intended to support application developers and integrators by providing core software ... between the data producers in the shop floor and the data consumers,.

OLA Admin -
Jan 11, 2016 - Page 1 ... Hostname raspberrypi. Primary IP. 192.168.1.72. Primary Broadcast Address 192.168.1.255. Primary MAC Address b8:27:eb:6b:5b: ...

FITMAN GeToVa user guide.pdf
USER INTERFACE .................................................................................................................................. 15. 5. APPLICATION PROGRAMMING INTERFACE................................................................

Admin Application.pdf
Whoops! There was a problem loading this page. Whoops! There was a problem loading this page. Admin Application.pdf. Admin Application.pdf. Open. Extract.

LifeMap Admin Summary.pdf
Whoops! There was a problem loading more pages. LifeMap Admin Summary.pdf. LifeMap Admin Summary.pdf. Open. Extract. Open with. Sign In. Main menu.

Public Admin..pdf
Page 1 of 7. ue wu s d s iz'u&i= dh ;k stuk 2011 & 2012. d{kk & XIIth. fo"k; & yksd iz'kklu iz'u i= &. vof/k & 3 ?k.V s 15 feuV iw.kkZ ad & 80 vad. 1- mn ~ns'; gsr q ...

rietbron admin service.pdf
Address: Mdantsane SAPS. 2. ND Floor. 1 Mazaule Street. NU1, Mdantsane. 5219. Page 3 of 5. Main menu. Displaying rietbron admin service.pdf. Page 1 of 5.

bv admin pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. bv admin pdf.

SALESFORCE ADMIN ONLINE TRAINING COURSE.pdf ...
SALESFORCE ADMIN ONLINE TRAINING COURSE.pdf. SALESFORCE ADMIN ONLINE TRAINING COURSE.pdf. Open. Extract. Open with. Sign In.

Google Toolbar for Enterprise - Admin Guide
The document was written for Windows domain administrators. As an administrator, you can install and configure. Google Toolbar for all users. By defining ...

Med Admin Parent Consent Form.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Med Admin ...

Explore the Admin console - G Suite
G Suite services. Add your billing details, add or remove users, set sharing preferences, manage security settings, and more. The Admin console is only available to administrators. When you sign in to your ... see billing details in your Admin consol