Last active
December 12, 2016 18:26
-
-
Save rnrbarbosa/832fcfc8b83336f015ed1d2bc91b4155 to your computer and use it in GitHub Desktop.
Nuxeo Candidate Discussion Exercise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Introduction | |
This simple exercise has as an objective to make the candidate familiar with Nuxeo Software, and will serve | |
as base of discussion for the interviews. The candidate is free to chose the methodology that he feels more confortable. | |
The candidate can express freely his own ideas and the best of his own devops craft skills. | |
** Description | |
The goal of this exercise is to install Nuxeo software and create a way to share it with other users like developers. | |
** Exercise (STAR technique - Situation/Task/Actions/Results) | |
SITUATION: We would like to distribute/publish to the developers a runnning nuxeo for of-the-shelf (OTS) usage | |
on Vagrant OR Docker | |
TASK: Create a Vagrant Box OR a Docker ready to be used by the developers and pre-sales with minimum effort. | |
NOTE: Eventually this could lead evolve to deployment on the cloud within a Continuos Deliver/Deployment | |
pipeline with a setup including additional components like Database, Redis and/or ElasticSearch | |
(but this is not part of this exercise). | |
ACTIONS: Up to the Candidate | |
RESULTS: To be discussed on the interview (the result must be shared on GITHUB repository) | |
** DURATION | |
User should not spend more than a couple hours. | |
** HINTS | |
In order to have Nuxeo to work you need to run the following commands on Ubuntu as an example | |
sudo useradd -d /opt/nuxeo -p nuxeo -s /bin/bash nuxeo | |
sudo apt-get install -y acpid openjdk-8-jdk libreoffice imagemagick poppler-utils ffmpeg ffmpeg2theora ufraw libwpd-tools perl locales pwgen dialog supervisor unzip vim htop | |
curl -sSL http://cdn.nuxeo.com/nuxeo-8.3/nuxeo-server-8.3-tomcat.zip -o /tmp/nuxeo-distribution-tomcat.zip | |
sudo unzip -q -d /opt /tmp/nuxeo-distribution-tomcat.zip | |
sudo mv /opt/nuxeo-server-8.3-tomcat /opt/nuxeo | |
sudo chown -R nuxeo /opt/nuxeo | |
sudo chmod +x /opt/nuxeo/bin/*ctl /opt/nuxeo/bin/*.sh | |
/opt/nuxeo/bin/nuxeoctl console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment