Skip to content

Latest commit

 

History

History
88 lines (51 loc) · 1.5 KB

exercise_opennebula.md

File metadata and controls

88 lines (51 loc) · 1.5 KB

Máster en Ciencia de Datos e Ingeniería de Computadores. Prácticas de BigData y Cloud Computing. Curso 2017-2018.

Header

Manuel J. Parra Royón ([email protected]) & José. M. Benítez Sánchez ([email protected])

UGR | DICITS | SCI2S | DECSAI

Exercise with OpenNebula and OpenStack

Create a RService

Go to docker.ugr.es or atcstack.ugr.es.

Create a Virtual Machine with CentOS7 or CentOS6.

Once started the Virtual Machine, use ssh to connect:

Install the next:

yum install epel-release

then

yum install R -y

Install inside R your favorite packages.

Create a Web Service

In one of your VM, install :

A) WebServer:

sudo yum install httpd
sudo systemctl start httpd.service
sudo systemctl enable httpd.service

B) PHP:

sudo yum install php php-mysql
sudo systemctl restart httpd.service

Exit of the VM and create another VM (your mate's VM) for MySQL Server (MariaSQL)

Create a MySQL (DataBase) service

In one of your VM (mate), install :

sudo yum install mariadb-server mariadb
sudo systemctl start mariadb

Configure MySQL Database Service:

sudo mysql_secure_installation

Enable Service:

sudo systemctl enable mariadb.service

Create full service

Connect WebServer VirtualMachine with MySQL DataBase Service