2: 2011-09-03 (土) 15:21:25 iseki |
3: 2011-09-10 (土) 23:17:29 iseki |
| - 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 PHP5 (include PHP5-XMLRPC, PHP5-CURL)'' | | - 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 | + | - Please copy Scripts/* to any Web contents directory, and execute ''setup_scripts.sh'' shell scrupt |
| + | - And edit include/config.php to set ENV_HELPER_URL, ENV_HELPER_PATH and DB information and more. |
| | | |
| - command ex.: | | - command ex.: |
| cp -R Scripts/* (Document Root of Web)/currency | | cp -R Scripts/* (Document Root of Web)/currency |
| cd (Document Root of Web)/currency | | cd (Document Root of Web)/currency |
| + | ./setup_scripts.sh // Download newest Scripts and setup |
| chown -R apache.apache . | | chown -R apache.apache . |
| vi include/config.php | | vi include/config.php |
| | | |
| - 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.nsl.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'); // FQDN or IP addess of MySQL DB server | | define('OPENSIM_DB_HOST', 'localhost'); // FQDN or IP addess of MySQL DB server |
| define('OPENSIM_DB_NAME', 'opensim_db'); // DB name of MySSQL | | define('OPENSIM_DB_NAME', 'opensim_db'); // DB name of MySSQL |
| define('OPENSIM_DB_PASS', 'opensim_pass'); // Password of DB | | define('OPENSIM_DB_PASS', 'opensim_pass'); // Password of DB |
| | | |
| + | |
| + | // Money Server Access Key |
| + | // Please set same key with MoneyScriptAccessKey in MoneyServer.ini |
| define('CURRENCY_SCRIPT_KEY', '123456789'); // Secret key of Helper Script | | define('CURRENCY_SCRIPT_KEY', '123456789'); // Secret key of Helper Script |
- | define('USER_SERVER_URI', 'http://202.26.159.214:8002'); // URL of User Server. Not use localhost or 127.0.0.1 | + | |
| + | // 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 set user(robust) server's URL |
| + | define('USER_SERVER_URI', 'http://opensim.nsl.tuis.ac.jp:8002/'); // not use localhost or 127.0.0.1 |
| | | |
| - Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. (ex. -loginuri http://localhost/currency/helper/ ) [''need last '/' ''] | | - 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. | | - 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. | | - If you use 3rd party viewer (ex. Hippo, Meerkat or Imprudence etc.), you should use ''Grid Manager'' instead of "-helperuri" option. |
| + | #br |
| + | |
| + | *** Support scripts for setup helper scripts [#f73a9d6c] |
| + | **** setup_scripts.sh [#k7690f5c] |
| + | - Scripts that downloaded and be setup |
| + | -- modified flotsam_XmlRpcGroup |
| + | -- modified opensimwiredux |
| + | -- opensim.phplib |
| + | |
| + | # ./setup_scripts.sh -h |
| + | |
| + | usage... ./setup_scripts.sh [-c/--copy] [-d/--download] [-a/--all] [-h/--help] |
| + | -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 |
| + | |
| + | - Optional Scripts |
| + | -- NSL Mute Module support scripts (not work in Aurora-Sim, now) |
| + | -- NSL OSProfile Module support scripts (not work in Aurora-Sim, now) |
| + | -- NSL OSSearch Module support scripts (not work in Aurora-Sim, now) |
| + | #br |
| + | |
| + | **** delete_scripts.sh [#c8338918] |
| + | - Delete downloaded all scripts. |
| | | |
| + | # ./delete_scripts.sh |
| #br | | #br |