Warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache' query: UPDATE drupal_cache SET data = 'a:284:{s:13:\"theme_default\";s:14:\"garland-Open-S\";s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:18:\"drupal_private_key\";s:64:\"d0f6ffe8a97f320aa81dc41da9aa6da2eac5bb4ab9cbd5ef31e547e821e7a920\";s:10:\"menu_masks\";a:26:{i:0;i:127;i:1;i:125;i:2;i:63;i:3;i:62;i:4;i:61;i:5;i:59;i:6;i:58;i:7;i:56;i:8;i:31;i:9;i:30;i:10;i:29;i:11;i:25;i:12;i:24;i:13;i:21;i:14;i:15;i:15;i:14;i:16;i:13;i:17;i:12;i:18;i:11;i:19;i:7;i:20;i:6;i:21;i:5;i:22;i:4;i:23;i:3;i:24;i:2;i:25;i:1;}s:12:\"install_task\";s:4:\"done\";s:13:\"menu_expanded\";a:0:{}s:16:\"language_default\";O:8:\"stdClass\":11:{s:8:\"language\";s:2:\"en\";s:4:\"name\";s:7:\"English\";s:6:\"native\& in /home/tanaguru/www/includes/database.mysqli.inc on line 134

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 729

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 730

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 731

Warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/bootstrap.inc on line 732
Ubuntu Installation (Tanaguru 3.x) | Tanaguru

Ubuntu Installation (Tanaguru 3.x)

  • warning: Cannot modify header information - headers already sent by (output started at /home/tanaguru/www/includes/database.mysqli.inc:134) in /home/tanaguru/www/includes/common.inc on line 153.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_filter' query: UPDATE drupal_cache_filter SET data = '<p>This page describes the steps to follow to install Tanaguru <strong>since Version 3.0.0-beta3</strong> from the binary files or from the sources. The sofware has been tested on <strong>12.04 LTS</strong> (Precise Pangolin).</p>\n<p>PLEASE ensure you meet all <a href=\"http://www.tanaguru.org/en/content/ubuntu-prerequisites-tanaguru-3x\">prerequisites for Tanaguru 3.x on Ubuntu</a>.</p>\n<h2>Tanaguru Web Application</h2>\n<pre>wget <a href=\"http://www.tanaguru.org/Download/tanaguru-latest.tar.gz\" title=\"http://www.tanaguru.org/Download/tanaguru-latest.tar.gz\">http://www.tanaguru.org/Download/tanaguru-latest.tar.gz</a>\ntar xzf tanaguru-latest.tar.gz<br />cd tanaguru*<br />\nsudo ./install.sh --mysql-tg-db &lt;Tanaguru_mysql_db&gt; \\ <br /> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mysql-tg-user &lt;Tanaguru_mysql_user&gt; \\<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mysql-tg-psswd &lt;Tanaguru_mysql_password&gt; \\<br /> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mysql-root-user &lt;mysql_root_user&gt; \\<br /> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mysql-root-passwd &lt;mysql_root_password&gt; \\<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --tanaguru-url &lt;Tanaguru_webapp_url&gt; \\<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --tomcat-webapps &lt;tomcat_webapps_directory&gt; \\<br /> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --tomcat-user &lt;tomcat_unix_user&gt; \\<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --tg-admin-email &lt;Tanaguru_admin_email&gt; \\<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --tg-admin-passwd &lt;tanaguru_admin_password&gt; \\<br /> &nbsp;&nbsp; &nbsp; --firefox-esr-path &lt;path_to_Firefox_ESR&gt; \\<br /> &nbsp;&nbsp; &nbsp; --display-port &lt;Xorg_display_port&gt;<br /></pre><h3>Installation options</h3>\n<table>\n<tbody>\n<tr>\n<td>--mysql-root-user</td>\n<td>Mysql user with privileges of database creation and user creation (e.g. mysql root user)</td>\n</tr>\n<tr>\n<td>--mysql-root-passwd</td>\n<td>Password of the user specified by --mysql-root-user</td>\n</tr>\n<tr>\n<td>--mysql-tg-user</td>\n<td>Mysql user for Tanaguru</td>\n</tr>\n<tr>\n<td>--mysql-tg-passwd</td>\n<td>Password of the user specified by --mysql-tg-user. if this user already exists, please ensure you give its correct password. If not, the user will be automatically created.</td>\n</tr>\n<tr>\n<td>--mysql-tg-db</td>\n<td>Database for Tanaguru</td>\n</tr>\n<tr>\n<td>--tanaguru-url</td>\n<td>URL where tanaguru will be deployed (e.g. <a href=\"http://localhost:8080/\" title=\"http://localhost:8080/\">http://localhost:8080/</a>)</td>\n</tr>\n<tr>\n<td>--tomcat-webapps</td>\n<td>Tomcat webapps directory (e.g. /var/lib/tomcat6/webapps)</td>\n</tr>\n<tr>\n<td>--tomcat-user</td>\n<td>Unix user name for the tomcat service (e.g. tomcat6)</td>\n</tr>\n<tr>\n<td>--tg-admin-email</td>\n<td>Email of the Tanaguru admin user (by the way, it\'s you !)</td>\n</tr>\n<tr>\n<td>--tg-admin-passwd </td>\n<td>The tanaguru application admin password</td>\n</tr>\n<tr>\n<td>--firefox-esr-path</td>\n<td>Path to Firefox-ESR binary (e.g. /opt/firefox-esr/firefox)</td>\n</tr>\n<tr>\n<td>--display-port </td>\n<td>Xorg display port (e.g. \":99.1\")</td>\n</tr>\n</tbody>\n</table>\n<h3>Example of install-script invocation</h3>\n<pre>sudo ./install.sh --mysql-root-user root \\<br /> --mysql-root-passwd MyPassWord \\<br /> --mysql-tg-user tanaguru \\<br /> &nbsp;--mysql-tg-passwd MyTGPassWord \\<br /> --mysql-tg-db tanaguru \\<br /> --tanaguru-url <a href=\"http://localhost:8080/tanaguru\" title=\"http://localhost:8080/tanaguru\">http://localhost:8080/tanaguru</a> \\<br /> &nbsp;--tomcat-webapps /var/lib/tomcat6/webapps/ \\<br /> --tomcat-user tomcat6 \\<br /> --tg-admin-email <a href=\"mailto:me@email.com\">me@email.com</a> \\<br /> --tg-admin-passwd toto42 \\<br /> --firefox-esr-path /opt/firefox/firefox \\<br /> --display_port :99.1</pre><h2>Tanaguru \"Command Line Interface\"</h2>\n<p>Tanaguru runs as a non-installed shell script, which allows you to run Tanaguru as a non-root user.</p>\n<h4>Mysql scripts invocation</h4>\n<p>Edit \"tanaguru-10-create-user-and-base.sql\" with the correct user and password for your tanaguru mysql and execute the script with a mysql user with user and database creation privileges.</p>\n<pre>wget <a href=\"http://www.tanaguru.org/Download/tanaguru-latest.tar.gz\" title=\"http://www.tanaguru.org/Download/tanaguru-latest.tar.gz\">http://www.tanaguru.org/Download/tanaguru-latest.tar.gz</a>\ntar xzf tanaguru-latest.tar.gz<br />cd tanaguru*<br />mysql -u ${root-user} -p &lt; install/engine/sql/tanaguru-10-create-user-and-base.sql \n</pre><p>Execute the table creation script and data insertion scripts</p>\n<pre>mysql -u ${tanaguru-user} -p &lt; install/engine/sql/tanaguru-20-create-tables.sql\nmysql -u ${tanaguru-user} -p &lt; install/engine/sql/tanaguru-30-insert.sql \nmysql -u ${tanaguru-user} -p &lt; install/rules/sql/10-rules-resources-insert.sql\nmysql -u ${tanaguru-user} -p &lt; install/rules/sql/accessiweb2.2-insert.sql\nmysql -u ${tanaguru-user} -p &lt; install/rules/sql/rgaa2.2-insert.sql\nmysql -u ${tanaguru-user} -p &lt; install/rules/sql/seo-10-insert.sql\n</pre><h4>Configuration</h4>\n<p>Edit tanaguru.conf file and replace all stars \'*********\' with the correct user and password for your tanaguru mysql and replace the content of the jdbc.url variable with the right settings.</p>\n<pre>vi conf/context/tanaguru.conf</pre><h2>Running Tanaguru</h2>\n<p>See <a href=\"http://open-s.com/en/content/running-tanaguru\">running Tanaguru</a></p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 255px; width: 1px; height: 1px; overflow: hidden;\"></div>\n', created = 1498491517, expire = 1498577917, headers = '', serialized = 0 WHERE cid = '2:e9e6e3c9c56e607b6757a9d7a25374aa' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_block' query: UPDATE drupal_cache_block SET data = 'a:2:{s:7:\"subject\";s:15:\"Book navigation\";s:7:\"content\";s:2116:\"<div id=\"book-block-menu-518\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/about\">About</a></li>\n</ul></div>\n<div id=\"book-block-menu-234\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/download\">Download</a></li>\n</ul></div>\n<div id=\"book-block-menu-108\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"expanded first last active-trail\"><a href=\"/en/content/documentation\">Documentation</a><ul class=\"menu\"><li class=\"expanded first active-trail\"><a href=\"/en/content/installation\">Installation</a><ul class=\"menu\"><li class=\"collapsed first\"><a href=\"/en/content/tanaguru-1x\">Tanaguru 1.x </a></li>\n<li class=\"collapsed\"><a href=\"/en/content/tanaguru-2x\">Tanaguru 2.x</a></li>\n<li class=\"expanded last active-trail\"><a href=\"/en/content/tanaguru-3x\">Tanaguru 3.x</a><ul class=\"menu\"><li class=\"leaf first\"><a href=\"/en/content/upgrade-2x-3x\">Upgrade from 2.x to 3.x</a></li>\n<li class=\"leaf\"><a href=\"/en/content/ubuntu-prerequisites-tanaguru-3x\">Ubuntu prerequisites (Tanaguru 3.x)</a></li>\n<li class=\"leaf last active-trail\"><a href=\"/en/content/ubuntu-installation-tanaguru-3x\" class=\"active\">Ubuntu Installation (Tanaguru 3.x)</a></li>\n</ul></li>\n</ul></li>\n<li class=\"collapsed\"><a href=\"/en/content/configuration\">Configuration</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/administration\">Administration</a></li>\n<li class=\"collapsed\"><a href=\"/en/content/rules-design\">Rules Design</a></li>\n<li class=\"collapsed last\"><a href=\"/en/content/usage\">Usage</a></li>\n</ul></li>\n</ul></div>\n<div id=\"book-block-menu-543\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/features\">Features</a></li>\n</ul></div>\n<div id=\"book-block-menu-513\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"collapsed first last\"><a href=\"/en/content/get-involved\">Get involved</a></li>\n</ul></div>\n<div id=\"book-block-menu-233\" class=\"book-block-menu\">\n <ul class=\"menu\"><li class=\"leaf first last\"><a href=\"/en/content/support\">Support</a></li>\n</ul></div>\n\";}', created = 1498491517, expire = -1, headers = '', serialized = 1 WHERE cid = 'book:0:garland-Open-S:en:r.1:http://open-s.com/en/content/ubuntu-installation-tanaguru-3x' in /home/tanaguru/www/includes/cache.inc on line 112.
  • user warning: UPDATE command denied to user 'tanagurudrupal'@'10.0.84.72' for table 'drupal_cache_block' query: UPDATE drupal_cache_block SET data = '', created = 1498491517, expire = -1, headers = '', serialized = 0 WHERE cid = 'profile:0:garland-Open-S:en:r.1:http://open-s.com/en/content/ubuntu-installation-tanaguru-3x' in /home/tanaguru/www/includes/cache.inc on line 112.
mfaure's picture

This page describes the steps to follow to install Tanaguru since Version 3.0.0-beta3 from the binary files or from the sources. The sofware has been tested on 12.04 LTS (Precise Pangolin).

PLEASE ensure you meet all prerequisites for Tanaguru 3.x on Ubuntu.

Tanaguru Web Application

wget http://www.tanaguru.org/Download/tanaguru-latest.tar.gz
tar xzf tanaguru-latest.tar.gz
cd tanaguru*
sudo ./install.sh --mysql-tg-db <Tanaguru_mysql_db> \
         --mysql-tg-user <Tanaguru_mysql_user> \
        --mysql-tg-psswd <Tanaguru_mysql_password> \
         --mysql-root-user <mysql_root_user> \
         --mysql-root-passwd <mysql_root_password> \
        --tanaguru-url <Tanaguru_webapp_url> \
        --tomcat-webapps <tomcat_webapps_directory> \
         --tomcat-user <tomcat_unix_user> \
        --tg-admin-email <Tanaguru_admin_email> \
        --tg-admin-passwd <tanaguru_admin_password> \
     --firefox-esr-path <path_to_Firefox_ESR> \
     --display-port <Xorg_display_port>

Installation options

--mysql-root-user Mysql user with privileges of database creation and user creation (e.g. mysql root user)
--mysql-root-passwd Password of the user specified by --mysql-root-user
--mysql-tg-user Mysql user for Tanaguru
--mysql-tg-passwd Password of the user specified by --mysql-tg-user. if this user already exists, please ensure you give its correct password. If not, the user will be automatically created.
--mysql-tg-db Database for Tanaguru
--tanaguru-url URL where tanaguru will be deployed (e.g. http://localhost:8080/)
--tomcat-webapps Tomcat webapps directory (e.g. /var/lib/tomcat6/webapps)
--tomcat-user Unix user name for the tomcat service (e.g. tomcat6)
--tg-admin-email Email of the Tanaguru admin user (by the way, it's you !)
--tg-admin-passwd The tanaguru application admin password
--firefox-esr-path Path to Firefox-ESR binary (e.g. /opt/firefox-esr/firefox)
--display-port Xorg display port (e.g. ":99.1")

Example of install-script invocation

sudo ./install.sh --mysql-root-user root \
--mysql-root-passwd MyPassWord \
--mysql-tg-user tanaguru \
 --mysql-tg-passwd MyTGPassWord \
--mysql-tg-db tanaguru \
--tanaguru-url http://localhost:8080/tanaguru \
 --tomcat-webapps /var/lib/tomcat6/webapps/ \
--tomcat-user tomcat6 \
--tg-admin-email me@email.com \
--tg-admin-passwd toto42 \
--firefox-esr-path /opt/firefox/firefox \
--display_port :99.1

Tanaguru "Command Line Interface"

Tanaguru runs as a non-installed shell script, which allows you to run Tanaguru as a non-root user.

Mysql scripts invocation

Edit "tanaguru-10-create-user-and-base.sql" with the correct user and password for your tanaguru mysql and execute the script with a mysql user with user and database creation privileges.

wget http://www.tanaguru.org/Download/tanaguru-latest.tar.gz
tar xzf tanaguru-latest.tar.gz
cd tanaguru*
mysql -u ${root-user} -p < install/engine/sql/tanaguru-10-create-user-and-base.sql

Execute the table creation script and data insertion scripts

mysql -u ${tanaguru-user} -p < install/engine/sql/tanaguru-20-create-tables.sql
mysql -u ${tanaguru-user} -p < install/engine/sql/tanaguru-30-insert.sql 
mysql -u ${tanaguru-user} -p < install/rules/sql/10-rules-resources-insert.sql
mysql -u ${tanaguru-user} -p < install/rules/sql/accessiweb2.2-insert.sql
mysql -u ${tanaguru-user} -p < install/rules/sql/rgaa2.2-insert.sql
mysql -u ${tanaguru-user} -p < install/rules/sql/seo-10-insert.sql

Configuration

Edit tanaguru.conf file and replace all stars '*********' with the correct user and password for your tanaguru mysql and replace the content of the jdbc.url variable with the right settings.

vi conf/context/tanaguru.conf

Running Tanaguru

See running Tanaguru