flagflag  If you want to see English page, please click "English" Button at Left.
1: 2011-09-03 (土) 14:30:29 iseki ソース 現: 2020-03-01 (日) 17:07:48 iseki ソース
Line 1: Line 1:
-*** Helper Scripts [#sd479b44] +** Helper Scripts for OpenSimulator [#sd479b44] 
-- If you do not use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]] (Web Interface), you should setup helper scripts by manual. +- Tar Ball 
-- If you use [[XoopenSim>XoopenSim (E)]] or [[Modlos>Modlos (E)]], this function is setup by automatically. +-- http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.9.1.tgz
-- You need ''Web Server (ex. Apache) and PHP5 (include PHP5-XMLRPC, PHP5-CURL)'' +
-- Please copy Scripts/* to any Web contents directory, and edit ENV_HELPER_URL, ENV_HELPER_PATH and DB information  in include/config.php+
-- command ex.:+- Subversion Repository 
 +-- http://www.nsl.tuis.ac.jp/svn/opensim/he​lper_scripts/trunk 
 +- Dev Version (use Subversion Repository) 
 +-- use ''setup_scripts.sh'' in opensim.currency tar ball (helper_scripts/setup_scripts.sh) 
 +#br 
 + 
 +*** 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 use %%[[XoopenSim>XoopenSim (E)]] or%% [[Modlos>Modlos (E)]], this function is setup by automatically. 
 +-- XoopenSim is not maintained now. 
 +- You need ''Web Server (ex. Apache) and PHP (include PHP-XMLRPC, PHP-CURL)'' 
 +#br 
 + 
 +**** Download [#bc390aa2] 
 +- You can download helper scripts from http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/O​penSim/helper_scripts-0.9.1.tgz 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. 
 +-- If you use Dev Version, please execute ''setup_scripts.sh'' shell scrupt 
 +--- bash setup_scripts.sh 
 + 
 +**** edit config.php [#e9a33c88] 
 +- 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 later, you need set ''true'' to ''OPENSIM_DB_MYSQLI'' 
 + 
 +**** command example [#c08f8836] 
 +- Download directory 
 + cd (working Directory) 
 + wget http://www.nsl.tuis.ac.jp/DownLoad/SoftW​​are/OpenSim/helper_scripts-x.y.z.tgz 
 + zcat helper_scripts-x.y.z.tgz |tar xfv -
 mkdir (Document Root of WEB)/currency  mkdir (Document Root of WEB)/currency
- cp -R 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
 chown -R apache.apache .  chown -R apache.apache .
 vi include/config.php  vi include/config.php
 +- use setup_scripts.sh
 + cd (Money Server's Directory)
 + mkdir (Document Root of WEB)/currency
 + cp -Rpd helper_scripts/* (Document Root of Web)/currency
 + cd (Document Root of Web)/currency
 + ./setup_scripts.sh  -a
 + chown -R apache.apache .
 + vi include/config.php
 +#br
 +*** Configuration [#j0733692]
- include/cpnfig.php: - include/cpnfig.php:
- // URL of Helper Script + // Please set this hepler script URL and directory 
- if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://202.26.159.139/currency/helper'); + if (!defined('ENV_HELPER_URL'))  define('ENV_HELPER_URL',  'http://www.opensim.tuis.ac.jp/currency/helper/');
- // Path of Helper Script+
 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/');​
 + 
 + ///////////////////////////////////////​////////////////////////////////////////​///i
 + // Valiables for OpenSim
 + 
 + // Please set MySQL DB access information
 + define('OPENSIM_DB_HOST', 'localhost');
 + define('OPENSIM_DB_NAME', 'opensim');
 + define('OPENSIM_DB_USER', 'opensim_user');
 + define('OPENSIM_DB_PASS', 'opensim_pass');
 + //
 + define('OPENSIM_DB_MYSQLI', false);    // if you use MySQLi interface, please set true
 + 
 + 
 + // Money Server Access Key
 + // Please set same key with MoneyScriptAccessKey in MoneyServer.ini
 + define('CURRENCY_SCRIPT_KEY', '123456789');
 + 
 + 
 + // Group Module Access Keys
 + // Please set same keys with at [Groups] section in OpenSim.ini (case of Aurora-Sim, it is Groups.ini)
 + define('XMLGROUP_RKEY', '1234');    // Read Key
 + define('XMLGROUP_WKEY', '1234');    // Write key
 +
 +- %%Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''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.%%
 +- Please set helper URL to ''economy'' valiable at [GridInfoService] section in ''Robust.ini''
 +-- ex) economy = http://www.opensim.tuis.ac.jp/currency/h​elper/    [''need last '/' '']
 +- Please set ''Helper URL'' at your ''viewer's Grid Manager''
 +-- ex) http://www.opensim.tuis.ac.jp/currency/h​elper/    [''need last '/' '']
 +#br
 +
 +*** Support scripts for setup helper scripts [#f73a9d6c]
 +
 +**** setup_scripts.sh [#k7690f5c]
 +- Scripts that downloaded and be setup
 +-- jbxl (JunkBox Library)
 +-- opensim.helper
 +-- opensim.phplib
 +-- modified flotsam_XmlRpcGroup
- define('OPENSIM_DB_HOST',    'localhost');                  // FQDN or IP addess of MySQL DB server + # ./setup_scripts.sh -h 
- define('OPENSIM_DB_NAME',    'opensim_db');                 // DB name of MySSQL +  
- define('OPENSIM_DB_USER',     'opensim_user');               // User ID of DB + ;usage... ./setup_scripts.sh [-c/--copy] [-d/--download] [-a/--all] [-h/--help] 
- define('OPENSIM_DB_PASS',     'opensim_pass');               // Password of DB+ -c or --copy     : not symbolic link but copy files 
 + ;-d or --download : download only 
 + -a or --all      : treat all scripts include optional scripts 
 + -h or --help     : show this help 
 + ; 
 + # ./setup_scripts.sh --copy
- define('CURRENCY_SCRIPT_KEY', '123456789');                  // Secret key of Helper Script +- Optional Scripts 
- define('USER_SERVER_URI',    'http://202.26.159.214:8002'); // URL of User Server. Not use localhost or 127.0.0.1+-- NSL Mute Module support scripts 
 +-- NSL OSProfile Module support scripts 
 +-- NSL OSSearch Module support scripts 
 +#br
-- Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ )  [''need last '/' ''+**** delete_scripts.sh [#c8338918
-- Here, ENV_HELPER_URL is ''helper'' directory url  that is set in include/config.php. +- Delete all downloaded scripts.
-- If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option.+
 + # ./delete_scripts.sh
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
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
<今日>

オンライン状況

80 人のユーザが現在オンラインです。 (18 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 80

もっと...

アクセスカウンタ

今日 : 3901390139013901
昨日 : 2042920429204292042920429
総計 : 2338330723383307233833072338330723383307233833072338330723383307
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com