• Keine Ergebnisse gefunden

Appendix A: Installation

N/A
N/A
Protected

Academic year: 2022

Aktie "Appendix A: Installation"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Appendix A: Installation

In this appendix installation is introduced.

Documentations is available at

https://github.com/Mailis/EstNer/blob/master/cloud/readme.md .

The software is available at https://github.com/Mailis/EstNer/tree/master/cloud.

Requirements

Master server and virtual machines in the cloud of worker instances both use

• Ubuntu operating system

• Apache2 server,

• php 5.x,

• python 2.7 and

• python 3.4.

Installation in master server

This installation, for master, is tested on Ubuntu 14.10 and Ubuntu 15.04

sudo apt-get update

sudo apt-get install Apache2 sudo apt-get install php5

sudo apt-get install python-pip

sudo pip install --upgrade google-api-python-client sudo apt-get install python3-pip

sudo pip3 install rdflib

---

sudo apt-get install python-pip

sudo pip install --upgrade google-api-python-client

--- download master folder files from

https://github.com/Mailis/EstNer/tree/master/cloud/master into folder /var/www/html ---

cd /var/www/html

mv index.html apache2.html sudo mkdir upload_logfile sudo mkdir logfiles

sudo mkdir css sudo mkdir js

sudo mkdir datasets

sudo mkdir SPARQLendpoint sudo mkdir errors

sudo mkdir updates sudo mkdir statistics

sudo mkdir statistics/processed_logfiles sudo mkdir statistics/monthly_updates

(2)

2

Installation in worker server

This installation, for worker, is tested on Ubuntu 14.10 and Ubuntu 15.04

sudo apt-get update

sudo apt-get install Apache2 sudo apt-get install php5

sudo apt-get install python3-pip sudo pip3 install numpy>=1.8.2

sudo python3 -m pip install nltk==3.0.0 sudo pip3 install python-crfsuite>=0.8.1 sudo pip3 install jsonpath-rw>=1.3.0 sudo pip3 install six>=1.7.3

sudo pip3 install tempdir>=0.6 sudo pip3 install xmltodict>=0.9.0 sudo pip3 install beautifulsoup4>=4.3.2 sudo pip3 install pandas>=0.14.1

sudo pip3 install scikit-learn>=0.15.1 sudo pip3 install xlrd>=0.9.2

sudo pip3 install xlsxwriter>=0.5.7 sudo pip3 install pytz>=2014.4

sudo pip3 install python-dateutil>=2.2 sudo pip3 install nose>=1.3.3

sudo pip3 install pyparsing>=2.0.2 sudo pip3 install matplotlib>=1.2.1 sudo pip3 install xlwt-future>=0.7.5

sudo apt-get install libfreetype6-dev libxft-dev

sudo apt-get install g++ swig python3-setuptools libfreetype6-dev python3-pip liblapack-dev libblas-dev python3-dev gfortran default-jre

sudo python3 -m pip install estnltk==1.1 python3 -m nltk.downloader punkt

find /path/to/nltk_data

find / -xdev 2>/dev/null -name "nltk_data"

copy this folder to /var/www

cp -a /path/to/nltk_data /var/www

# e.g. cp -a /home/marfa_majakas/nltk_data /var/www

remove it from old location

rm -rf /path/to/nltk_data

#e.g. rm -rf /home/marfa_majakas/nltk_data

sudo apt-get install python3-lxml sudo apt-get install python-httplib2 sudo pip3 install PyPDF2

sudo pip3 install rdflib

sudo apt-get install python-pip

sudo pip install --upgrade google-api-python-client

--- download worker folder files from

https://github.com/Mailis/EstNer/tree/master/cloud/worker

into folder /var/www/html ---

Referenzen

ÄHNLICHE DOKUMENTE

Consulte la guía de uso del CD-ROM que acompaña a la impresora para obtener información sobre el acceso al controlador de la impresora, la configuración del panel de control,

enth¨ alt Liste mit Servern und lokalen Quellen, von denen Software installiert werden kann. deb http://ftp.de.debian.org/debian/

apt-get install phpmyadmin (automatische Konfiguration für apache2

There are three steps to successfully installing the ES/3xTwin adapter card when used together with the ES/3xTwin software from NLynx Systems:.. • Verify the I/O address on

For more details, double-click the ESPR800 Software Guide icon on the desktop to view Photo Print Software Setup.. Viewing the Reference Guide Viewing the Reference Guide

Connect the interface board to the scanner using a shielded parallel interface cable that has a DB25 (D-sub 25 pin) male connector on one end and a Centronics ® -type 36-pin

how to install Python3 with Anaconda on Windows: click how to install Python3 with Anaconda on Ubuntu: click Packet Manager:. sudo apt install python3 python3-pip

how to install Python3 with Anaconda on Windows: click how to install Python3 with Anaconda on Ubuntu: click Packet Manager:. sudo apt install python3 python3-pip