flagflag  
Page Top

Setup anchor.png

  • If you do not use XoopenSim or Modlos (Web Interface), you should setup helper scripts by manual.
  • If you use XoopenSim or Modlos, this function is setup by automatically.
    • XoopenSim is not maintained now.
  • You need Web Server (ex. Apache) and PHP (include PHP-XMLRPC, PHP-CURL)
     
Page Top
Download anchor.png
  • You can download helper scripts from http://www.nsl.tuis.ac.jp/DownLoad/SoftW​are/OpenSim/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
Page Top
edit config.php anchor.png
  • 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
Page Top
command example anchor.png
  • 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
    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)
    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
     
Page Top

Configuration anchor.png

  • include/cpnfig.php:
    // Please set this hepler script URL and directory
    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/');
    
    //////////////////////////////////////////////////////////////////////////////////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
Page Top

Support scripts for setup helper scripts anchor.png

Page Top
setup_scripts.sh anchor.png
  • Scripts that downloaded and be setup
    • jbxl (JunkBox Library)
    • opensim.helper
    • opensim.phplib
    • modified flotsam_XmlRpcGroup
# ./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
    • NSL OSProfile Module support scripts
    • NSL OSSearch Module support scripts
       
Page Top
delete_scripts.sh anchor.png
  • Delete all downloaded scripts.
# ./delete_scripts.sh
 

Front page   Freeze Diff Backup Copy Rename Reload   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)
Counter: 6800, today: 2, yesterday: 0
Last-modified: 2020-03-01 (Sun) 17:07:48 (JST) (1517d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 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
Today

Who's Online

108 user(s) are online (7 user(s) are browsing xpwiki)

Members: 0
Guests: 108

more...

Access Counter

Today : 8287828782878287
Yesterday : 1795517955179551795517955
Total : 2336726423367264233672642336726423367264233672642336726423367264
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com