flagflag  
11: 2014-07-28 (Mon) 11:08:13 iseki source 12: 2014-07-28 (Mon) 17:24:22 iseki source
Line 1: Line 1:
** Helper Scripts [#sd479b44] ** Helper Scripts [#sd479b44]
 +- Tar Ball
 +-- http://www.nsl.tuis.ac.jp/DownLoad/SoftW​are/OpenSim/helper_scripts-0.8.0.tar.gz
 +- Dev Version
 +-- use ''setup_scripts.sh'' in opensim.currency tar ball (helper_scripts/setup_scripts.sh)
 +#br
 +
*** Setup [#z0dc298a] *** Setup [#z0dc298a]
- If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (Web Interface), you should setup helper scripts by manual. - If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (Web Interface), you should setup helper scripts by manual.
- If you use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]], this function is setup by automatically. - If you use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]], this function is setup by automatically.
- You need ''Web Server (ex. Apache) and PHP-5.x (include PHP5-XMLRPC, PHP5-CURL)'' - You need ''Web Server (ex. Apache) and PHP-5.x (include PHP5-XMLRPC, PHP5-CURL)''
-- You can find helper scripts in ''helper_scripts'' directory.+#br 
 +**** Download [#bc390aa2] 
 +- You can download helper scripts from http://www.nsl.tuis.ac.jp/DownLoad/SoftW​are/OpenSim/helper_scripts-0.8.0.tar.gz directly. 
 +-- Please copy extracted helper_scripts/* to any Web contents directory. 
 +- Or you can find helper scripts download tool (''setup_scripts.sh'') in ''helper_scripts'' directory
-- Please copy helper_scripts/* to any Web contents directory. -- Please copy helper_scripts/* to any Web contents directory.
-- If you use Dev Version, please execute ''setup_scripts.sh'' shell scrupt -- If you use Dev Version, please execute ''setup_scripts.sh'' shell scrupt
 +
 +**** edit config.php [#e9a33c88]
- And edit include/config.php to set ENV_HELPER_URL, ENV_HELPER_PATH and DB information and more. - And edit include/config.php to set ENV_HELPER_URL, ENV_HELPER_PATH and DB information and more.
 +-- If you use PHP-5.5.x, you need set ''true'' to ''OPENSIM_DB_MYSQLI''
-- command ex.:+**** command example [#c08f8836] 
 +- Download directory 
 + cd (working Directory) 
 + wget http://www.nsl.tuis.ac.jp/DownLoad/SoftW​are/OpenSim/helper_scripts-0.8.0.tar.gz ​
 + zcat helper_scripts-0.8.0.tar.gz |tar xfv - 
 + mkdir (Document Root of WEB)/currency 
 + cp -Rpd helper_scripts/* (Document Root of Web)/currency 
 + cd (Document Root of Web)/currency 
 + chown -R apache.apache . 
 + vi include/config.php 
 +- use setup_scripts.sh
 cd (Money Server's Directory)  cd (Money Server's Directory)
 mkdir (Document Root of WEB)/currency  mkdir (Document Root of WEB)/currency
- cp -R helper_scripts/* (Document Root of Web)/currency+ cp -Rpd helper_scripts/* (Document Root of Web)/currency
 cd (Document Root of Web)/currency  cd (Document Root of Web)/currency
- ./setup_scripts.sh  -a                   // Download newest Scripts and setup (Dev Version Only)+ ./setup_scripts.sh  -a
 chown -R apache.apache .  chown -R apache.apache .
 vi include/config.php  vi include/config.php
Line 22: Line 45:
- include/cpnfig.php: - include/cpnfig.php:
 // Please set this hepler script URL and directory  // Please set this hepler script URL and directory
- if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://www.nsl.tuis.ac.jp/currency/helper/');+ if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://www.opensim.tuis.ac.jp/currency/helper/');
 if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/apache/htdocs/currency/helper/');​  if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/apache/htdocs/currency/helper/');​
Line 29: Line 52:
 // Please set MySQL DB access information  // Please set MySQL DB access information
- define('OPENSIM_DB_HOST',     'localhost');                 // FQDN or IP addess of MySQL DB server + define('OPENSIM_DB_HOST', 'localhost'); 
- define('OPENSIM_DB_NAME',     'opensim_db');                 // DB name of MySSQL + define('OPENSIM_DB_NAME', 'opensim'); 
- define('OPENSIM_DB_USER',     'opensim_user');               // User ID of DB + define('OPENSIM_DB_USER', 'opensim_user'); 
- define('OPENSIM_DB_PASS',     'opensim_pass');               // Password of DB+ define('OPENSIM_DB_PASS', 'opensim_pass'); 
 + // 
 + define('OPENSIM_DB_MYSQLI', false);    // if you use MySQLi interface, please set true
 // Money Server Access Key  // Money Server Access Key
 // Please set same key with MoneyScriptAccessKey in MoneyServer.ini  // Please set same key with MoneyScriptAccessKey in MoneyServer.ini
- define('CURRENCY_SCRIPT_KEY', '123456789');                 // Secret key of Helper Script+ define('CURRENCY_SCRIPT_KEY', '123456789'); 
 // Group Module Access Keys  // Group Module Access Keys
Line 44: Line 70:
 define('XMLGROUP_WKEY', '1234');    // Write key  define('XMLGROUP_WKEY', '1234');    // Write key
- // Please set user(robust) server's URL +- %%Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' '']%% 
- define('USER_SERVER_URI', 'http://opensim.nsl.tuis.ac.jp:8002/'); ​ // not use localhost or 127.0.0.1 +- %%Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php.%% 
- +- %%If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option.%% 
- +- Please set helper URL to ''economy'' valiable at [GridInfoService] section in ''Robust.ini'' 
-- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' ''] +-- ex) economy = http://www.opensim.tuis.ac.jp/currency/h​elper/    [''need last '/' '']
-- Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php. +
-- If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option.+
#br #br
Line 57: Line 81:
**** setup_scripts.sh [#k7690f5c] **** setup_scripts.sh [#k7690f5c]
- Scripts that downloaded and be setup - Scripts that downloaded and be setup
 +-- jbxl (JunkBox Library)
-- opensim.helper -- opensim.helper
-- opensim.phplib -- opensim.phplib


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

49 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 49

more...

Access Counter

Today : 481481481
Yesterday : 9324932493249324
Total : 2357963323579633235796332357963323579633235796332357963323579633
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com