13: 2014-11-30 (日) 22:58:36 iseki  |
現: 2020-03-01 (日) 17:07:48 iseki  |
| - | ** Helper Scripts [#sd479b44] | + | ** Helper Scripts for OpenSimulator [#sd479b44] |
| | - Tar Ball | | - Tar Ball |
| - | -- http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.8.1.tar.gz | + | -- http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.9.1.tgz |
| - | - Dev Version | + | |
| | + | - Subversion Repository |
| | + | -- http://www.nsl.tuis.ac.jp/svn/opensim/helper_scripts/trunk |
| | + | - Dev Version (use Subversion Repository) |
| | -- use ''setup_scripts.sh'' in opensim.currency tar ball (helper_scripts/setup_scripts.sh) | | -- use ''setup_scripts.sh'' in opensim.currency tar ball (helper_scripts/setup_scripts.sh) |
| | #br | | #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)'' | + | -- XoopenSim is not maintained now. |
| | + | - You need ''Web Server (ex. Apache) and PHP (include PHP-XMLRPC, PHP-CURL)'' |
| | #br | | #br |
| | + | |
| | **** Download [#bc390aa2] | | **** Download [#bc390aa2] |
| - | - You can download helper scripts from http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.8.0.tar.gz directly. | + | - You can download helper scripts from http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.9.1.tgz directly. |
| | -- Please copy extracted helper_scripts/* to any Web contents directory. | | -- 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 | | - 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 |
| | + | --- bash setup_scripts.sh |
| | | | |
| | **** edit config.php [#e9a33c88] | | **** 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'' | + | -- If you use PHP-5.5.x later, you need set ''true'' to ''OPENSIM_DB_MYSQLI'' |
| | | | |
| | **** command example [#c08f8836] | | **** command example [#c08f8836] |
| | - Download directory | | - Download directory |
| | cd (working Directory) | | cd (working Directory) |
| - | wget http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-0.8.0.tar.gz | + | wget http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/helper_scripts-x.y.z.tgz |
| - | zcat helper_scripts-0.8.0.tar.gz |tar xfv - | + | zcat helper_scripts-x.y.z.tgz |tar xfv - |
| | mkdir (Document Root of WEB)/currency | | mkdir (Document Root of WEB)/currency |
| | cp -Rpd helper_scripts/* (Document Root of Web)/currency | | cp -Rpd helper_scripts/* (Document Root of Web)/currency |
| | if (!defined('ENV_HELPER_URL')) define('ENV_HELPER_URL', 'http://www.opensim.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/'); |
| | + | |
| | //////////////////////////////////////////////////////////////////////////////////i | | //////////////////////////////////////////////////////////////////////////////////i |
| | // Valiables for OpenSim | | // Valiables for OpenSim |
| | + | |
| | // Please set MySQL DB access information | | // Please set MySQL DB access information |
| | define('OPENSIM_DB_HOST', 'localhost'); | | define('OPENSIM_DB_HOST', 'localhost'); |
| | // | | // |
| | define('OPENSIM_DB_MYSQLI', false); // if you use MySQLi interface, please set true | | 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'); | | define('CURRENCY_SCRIPT_KEY', '123456789'); |
| - | | + | |
| | + | |
| | // Group Module Access Keys | | // Group Module Access Keys |
| | // Please set same keys with at [Groups] section in OpenSim.ini (case of Aurora-Sim, it is Groups.ini) | | // Please set same keys with at [Groups] section in OpenSim.ini (case of Aurora-Sim, it is Groups.ini) |
| | - Please set helper URL to ''economy'' valiable at [GridInfoService] section in ''Robust.ini'' | | - Please set helper URL to ''economy'' valiable at [GridInfoService] section in ''Robust.ini'' |
| | -- ex) economy = http://www.opensim.tuis.ac.jp/currency/helper/ [''need last '/' ''] | | -- ex) economy = http://www.opensim.tuis.ac.jp/currency/helper/ [''need last '/' ''] |
| | + | - Please set ''Helper URL'' at your ''viewer's Grid Manager'' |
| | + | -- ex) http://www.opensim.tuis.ac.jp/currency/helper/ [''need last '/' ''] |
| | #br | | #br |
| | | | |
| - | *** Support scripts for setup helper scripts (only Dev Version) [#f73a9d6c] | + | *** Support scripts for setup helper scripts [#f73a9d6c] |
| | | | |
| | **** setup_scripts.sh [#k7690f5c] | | **** setup_scripts.sh [#k7690f5c] |
| | | | |
| | # ./setup_scripts.sh -h | | # ./setup_scripts.sh -h |
| | + | |
| | usage... ./setup_scripts.sh [-c/--copy] [-d/--download] [-a/--all] [-h/--help] | | usage... ./setup_scripts.sh [-c/--copy] [-d/--download] [-a/--all] [-h/--help] |
| | -c or --copy : not symbolic link but copy files | | -c or --copy : not symbolic link but copy files |
| | -a or --all : treat all scripts include optional scripts | | -a or --all : treat all scripts include optional scripts |
| | -h or --help : show this help | | -h or --help : show this help |
| | + | |
| | # ./setup_scripts.sh --copy | | # ./setup_scripts.sh --copy |
| | | | |
| | - Optional Scripts | | - Optional Scripts |
| - | -- NSL Mute Module support scripts (not work in Aurora-Sim, now) | + | -- NSL Mute Module support scripts |
| - | -- NSL OSProfile Module support scripts (not work in Aurora-Sim, now) | + | -- NSL OSProfile Module support scripts |
| - | -- NSL OSSearch Module support scripts (not work in Aurora-Sim, now) | + | -- NSL OSSearch Module support scripts |
| | #br | | #br |
| | | | |