<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to deployProcedures2</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>Recent changes to deployProcedures2</description><atom:link href="https://sourceforge.net/p/maritaca/wiki/deployProcedures2/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 20 Mar 2015 23:21:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/maritaca/wiki/deployProcedures2/feed" rel="self" type="application/rss+xml"/><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 20 Mar 2015 23:21:22 -0000</pubDate><guid>https://sourceforge.net717d5b7c38a5e905b930bce8e7b32e6c6471f554</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v43
+++ v44
@@ -151,8 +151,8 @@

 To install them, type:

-    $ sudo android-sdk-linux/tools/android update sdk -u --no-ui
-
+    $ sudo android-sdk-linux/tools/android update sdk --no-ui
+//AFC sudo android-sdk-linux/tools/android update sdk -u --no-ui
     /* OLD, TEST! $ android-sdk-linux/tools/android update sdk -u -n -t 7,8,15 --dry-mode */

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 20 Mar 2015 22:38:57 -0000</pubDate><guid>https://sourceforge.neta8d9b490d4b8e394a4e374e338d76f459a16ae0a</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v42
+++ v43
@@ -5,6 +5,7 @@
 ###Install Java
 Use Java 7

+    $ sudo apt-get update
     $ sudo apt-get install openjdk-7-jdk

@@ -140,7 +141,7 @@
 ###Installing a specific platform with Android SDK
 Go to the folder where Android SDK was extracted, and using a terminal, type:

-    $ android-sdk-linux/tools/android list sdk
+    $ sudo android-sdk-linux/tools/android list sdk

 It is going to show the packages availables to install. Maritaca needs the API 7 and 15:

@@ -150,7 +151,7 @@

 To install them, type:

-    $ android-sdk-linux/tools/android update sdk -u --no-ui
+    $ sudo android-sdk-linux/tools/android update sdk -u --no-ui

     /* OLD, TEST! $ android-sdk-linux/tools/android update sdk -u -n -t 7,8,15 --dry-mode */

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 20 Mar 2015 22:21:59 -0000</pubDate><guid>https://sourceforge.net3bfb83996be59af430a934c580a8aebd7a724348</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v41
+++ v42
@@ -69,9 +69,11 @@
 ###Configure Solr    
 Create the following file structures:

-    solr42/solr/data, not necessarily in /opt
-
-    $ mkdir -p /opt/solr42/solr/data
+    //AFC solr42/solr/data, not necessarily in /opt
+
+    $ sudo mkdir -p /opt/solr42/solr/data
+    $ cd /opt
+    $ sudo chown -R maritaca:maritaca solr42
 ####sudo chown -R maritaca:maritaca solr42 !!!! testar

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 20 Mar 2015 20:49:07 -0000</pubDate><guid>https://sourceforge.net7872cb35622c5090987395ebf4f7a6760d99b718</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v40
+++ v41
@@ -148,7 +148,9 @@

 To install them, type:

-    $ android-sdk-linux/tools/android update sdk -u -n -t 7,8,15 --dry-mode
+    $ android-sdk-linux/tools/android update sdk -u --no-ui
+
+    /* OLD, TEST! $ android-sdk-linux/tools/android update sdk -u -n -t 7,8,15 --dry-mode */

 ###Download the project source from Source Forge and build it:
@@ -233,3 +235,6 @@
 Verificar:

 mkdir apps em maritaca-code/client
+android-sdk-linux/tools/android update sdk -u --no-ui
+Se for um linux de 64-bits: sudo apt-get install ia32-libs
+iptables
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 21 Feb 2014 21:07:41 -0000</pubDate><guid>https://sourceforge.net0680236326a1e20faabdd488a2c1e9741497f710</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v39
+++ v40
@@ -142,12 +142,13 @@

 It is going to show the packages availables to install. Maritaca needs the API 7 and 15:

+    7- SDK Platform Android 4.1.2, API 16, revision 4
     8- SDK Platform Android 4.0.3, API 15, revision 3
     15- SDK Platform Android 2.1, API 7, revision 3

 To install them, type:

-    $ android-sdk-linux/tools/android update sdk -u -n -t 8,15 --dry-mode
+    $ android-sdk-linux/tools/android update sdk -u -n -t 7,8,15 --dry-mode

 ###Download the project source from Source Forge and build it:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 21 Feb 2014 16:50:11 -0000</pubDate><guid>https://sourceforge.net6c3343519a4b1501f44f168f79ee6f76546d8b5b</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v38
+++ v39
@@ -225,3 +225,10 @@

 ###Test
 Visit: http://localhost:8080/maritaca
+
+
+
+
+Verificar:
+
+mkdir apps em maritaca-code/client
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 21 Feb 2014 16:44:00 -0000</pubDate><guid>https://sourceforge.net1bf1e84aa5ee415caa3f05a1a8603289474a0548</guid></item><item><title>deployProcedures2 modified by Arlindo Flavio da Conceicao</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v37
+++ v38
@@ -72,12 +72,13 @@
     solr42/solr/data, not necessarily in /opt

     $ mkdir -p /opt/solr42/solr/data
+####sudo chown -R maritaca:maritaca solr42 !!!! testar

 Copy the tomcat file tomcat7.tgz to /opt/solr42, and extract its content

     $ cp PATH_TO/tomcat7.tgz /opt/solr42/
-    $ tar zxcf tomcat7.tgz
+    $ tar zxvf tomcat7.tgz

 Open the server.xml file.

@@ -99,9 +100,9 @@

 Copy the solr.war file from the Solr distribution to the webapps directory of this other tomcat.

-    $ cp -p /opt/solr42/solr/dist/solr-VERSION.war /opt/solr42/solr/solr.war
-
-Create the context in Tomcat
+    $ cp -p DOWNLOADS/solr/dist/solr-VERSION.war /opt/solr42/solr/solr.war
+
+Create the context for Solr in Tomcat

     $ vi /opt/solr42/tomcat/conf/Catalina/localhost/solr.xml

@@ -111,7 +112,7 @@

 Copy the Solr configuration files:

-    $ cp -R /opt/solr42/solr/example/solr/* /opt/solr/data/.
+    $ cp -R DOWNLOADS/solr/example/solr/* /opt/solr42/solr/data/.

 Define the dataDir for Solr:

@@ -155,6 +156,22 @@
     $ cd server
     $ mvn clean install -Dmaven.test.skip=true

+###Install Apache2
+    $ sudo apt-get install apache2
+
+Create the following file structures into /var/www, and change the permissions, so that, tomcat can write in these files.
+
+    hadoop_mounted/user/maritaca/apk
+    hadoop_mounted/user/maritaca/audio
+    hadoop_mounted/user/maritaca/picture
+    hadoop_mounted/user/maritaca/video
+
+    $ mkdir -p hadoop_mounted/user/maritaca/{apk,audio,picture,video}
+
+    $ sudo chown -R maritaca:maritaca hadoop_mounted/
+
+
+
 ###Configure the project
 Create a file called configuration.properties and edit it. It should contain the following properties:

@@ -163,8 +180,8 @@
   maritaca_mobile_path|Path to Maritaca mobile project|/home/user/workspace/maritaca/client/
   android_sdk_path    |Path to Android SDK            |/opt/android/android-sdk-linux
   maritaca_uri_server |URL to Maritaca server         |http://10.0.2.2:8080/maritaca
-  filesystem_path     |Where all data will be saved   |/opt/maritaca/data
-  http_uri_server     |URL to the server hosting multimedia |http://localhost/maritaca
+  filesystem_path     |Where all data will be saved   |/var/www/hadoop_mounted
+  http_uri_server     |URL to the server hosting multimedia |http://localhost/hadoop_mounted
   ffmpeg_path         |Path to execute ffmpeg         |/usr/bin/ffmpeg
   tmp_directory       |Path to temporary folder       |/tmp/
   mongo_host          |MongoDB will use this host     |localhost
@@ -180,21 +197,12 @@
     maritaca_uri_server=http://192.168.1.105:8080/maritaca
     ...

-Create the following file structures into /var/www, and change the permissions, so that, tomcat can write in these files.
-
-    hadoop_mounted/user/maritaca/apk
-    hadoop_mounted/user/maritaca/audio
-    hadoop_mounted/user/maritaca/picture
-    hadoop_mounted/user/maritaca/video
-
-    $ mkdir -p hadoop_mounted/user/maritaca/{apk,audio,picture,video}
-
-###Configure Tomcat
+###Configure Maritaca Tomcat

 __Configure URI Encoding__
 Go to the folder where Tomcat7 was extracted and edit the following file:

-    $ vi conf/server.xml
+    $ vi DOWNLOADS/TOMCAT_PATH/conf/server.xml

 Add URIEncoding="UTF-8", so:

@@ -208,11 +216,12 @@
 Move the war file generated by the build process to the Tomcat deployment folder. The deploy folder is in the Tomcat folder in the following path: tomcat7/webapps/
 The war file resides in the following path: maritaca-code/server/web/target/maritaca.war

+To build a war file, from server source code, execute: $ mvn clean install -Dmaven.test.skip=true

 ###Start Tomcat7
 Substituting YOUR_PATH_TO_CONFIG_FILE with the path to the configuration.properties created before:

-    $ ./bin/startup.sh -DMARITACA_CONFIG_PATH=YOUR_PATH_TO_CONFIG_FILE
+            $ ./bin/    startup.sh -DMARITACA_CONFIG_PATH=YOUR_PATH_TO_CONFIG_FILE/configuration.properties

 ###Test
 Visit: http://localhost:8080/maritaca
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arlindo Flavio da Conceicao</dc:creator><pubDate>Fri, 21 Feb 2014 16:34:46 -0000</pubDate><guid>https://sourceforge.net57f4977b893b91171bb65401b1ddd374baa4f88c</guid></item><item><title>deployProcedures2 modified by Jimmy Valverde Sanchez</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jimmy Valverde Sanchez</dc:creator><pubDate>Thu, 20 Feb 2014 21:23:51 -0000</pubDate><guid>https://sourceforge.netafb786361b92d46c516ce2a06aa7bcb6be788656</guid></item><item><title>deployProcedures2 modified by Jimmy Valverde Sanchez</title><link>https://sourceforge.net/p/maritaca/wiki/deployProcedures2/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jimmy Valverde Sanchez</dc:creator><pubDate>Thu, 20 Feb 2014 21:21:08 -0000</pubDate><guid>https://sourceforge.netcbc2ee5eb9ba2c739ce333cd03839372824732c8</guid></item></channel></rss>