|
|
|
* Shell Access
|
|
|
|
* Whats new between Glenn webservice node, Oakley login node, and apps-test.awesim.org? |
|
|
\ No newline at end of file |
|
|
|
#### 1. Dev host is now apps-test.awesim.org
|
|
|
|
|
|
|
|
All development should occur on apps-test.awesim.org. Access 2 ways:
|
|
|
|
|
|
|
|
1. `ssh oakley.osc.edu` and then from an Oakley login node `ssh apps-test.awesim.org`
|
|
|
|
2. from the dashboard at apps-test.awesim.org, go to "My Sandbox Apps" or My Shared Apps" and click the "Shell" button next to an app to open the web based shell to that directory
|
|
|
|
|
|
|
|
#### 2. Environment setup: use software collections (scl)
|
|
|
|
|
|
|
|
Run this command to start bash with the software packages available:
|
|
|
|
|
|
|
|
```
|
|
|
|
efranz@webtest04:~$ scl enable rh-ruby22 nodejs010 git19 v8314 python27 -- bash
|
|
|
|
efranz@webtest04:~$ which ruby
|
|
|
|
/opt/rh/rh-ruby22/root/usr/bin/ruby
|
|
|
|
efranz@webtest04:~$
|
|
|
|
efranz@webtest04:~$ ruby --version
|
|
|
|
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux-gnu]
|
|
|
|
```
|
|
|
|
|
|
|
|
Or add this to your .bash_profile:
|
|
|
|
|
|
|
|
```
|
|
|
|
if [[ ${HOSTNAME%%.*} == webtest04* ]]
|
|
|
|
then
|
|
|
|
scl enable rh-ruby22 nodejs010 git19 v8314 python27 -- bash
|
|
|
|
fi
|
|
|
|
```
|
|
|
|
|
|
|
|
Note that we now use Ruby 2.2.2 (instead of Ruby 2.0.0).
|
|
|
|
|
|
|
|
#### 3. Access https://apps-test.awesim.org for accessing and testing apps
|
|
|
|
|
|
|
|
Use this until apps.awesim.org is switched over
|
|
|
|
|
|
|
|
#### 4. The web hosts are isolated from the clusters
|
|
|
|
|
|
|
|
The web hosts have access to project space and the user home directories, but not to software installed on Oakley or Ruby or access to the module system. |
|
|
\ No newline at end of file |