Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting up tode to run with a stone not created with gsDevKitHome #204

Open
dalehenrich opened this issue Sep 17, 2015 · 1 comment
Open

Comments

@dalehenrich
Copy link
Owner

http://forum.world.st/tode-st-How-to-run-setUpSys-for-a-remote-stone-tp4850660p4850825.html

@marianopeck
Copy link
Contributor

Here is a bit improved version. Note that I may still find issues so I will try to keep this issue open in case I found improvements:

  1. Create a trow-away stone in order to have todeClient and directories strucutres created:

installServer tode 3.1.0.6

  1. Since I want to share scripts with different stones, I must give read and write access to everybody

find /opt/gsDevKitHome/gsDevKitHome/tode/sys/stones/debrisTesting -type f -exec chmod 666 {} ;
find /opt/gsDevKitHome/gsDevKitHome/tode/sys/local -type d -exec chmod 777 {} ;

  1. For every stone, do:

vim /opt/gsDevKitHome/gsDevKitHome/tode/sys/local/client/descriptions/debrisTesting
cp -r $GS_HOME/tode/sys/stones/tode $GS_HOME/tode/sys/stones/debrisTesting
sudo chown -R debristesting:debristesting $GS_HOME/tode/sys/stones/debrisTesting

  1. Stop and start again netldi to be sure GS_HOME is get. Confirm that via the following in tODE shell:

eval {System clientEnvironmentVariable: 'GS_HOME'. System gemEnvironmentVariable: 'GS_HOME'}; edit

If both elements (fist and second) are correct, then we are fine

  1. Enter tODE shell and run

script --script=setUpSys

  1. Done, confirm we can do things inside tODE like:

cd /home
ls
touch testing
edit testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants