Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Difference between revisions of "Iodine Sandbox"

From Livedoc - The Documentation Repository
Jump to: navigation, search
m (Creating a Iodine Sandbox: categorize)
 
Line 3: Line 3:
 
When you want to work on [[Iodine]], most of your work will be done in a sandbox to prevent breaking [http://iodine.tjhsst.edu Production]
 
When you want to work on [[Iodine]], most of your work will be done in a sandbox to prevent breaking [http://iodine.tjhsst.edu Production]
  
First, add the user to [[NSS_LDAP|LDAP]] so that they can ssh to iodine.
+
First, add the user to [[NSS LDAP|LDAP]] so that they can ssh to iodine.
 
<code>
 
<code>
 
  kinit ahamilto/admin
 
  kinit ahamilto/admin
Line 30: Line 30:
 
  Put this password in the mysql section of the config file.
 
  Put this password in the mysql section of the config file.
 
</code>
 
</code>
 +
[[Category:Obsolete Page]]

Latest revision as of 16:58, 26 February 2016

Creating a Iodine Sandbox

When you want to work on Iodine, most of your work will be done in a sandbox to prevent breaking Production

First, add the user to LDAP so that they can ssh to iodine.

kinit ahamilto/admin
ldapmodify -h openldap1

Type the following:

dn: cn=iodine,ou=group,dc=csl,dc=tjhsst,dc=edu
changetype: modify
add: memberUid
memberUid: <username>
<enter>

The user can do the following to set up their sandbox themselves.

ssh iodine
./sandbox-setup

NOTE: you will have to give them the iodine-dev database password for anything to work.

ssh iodine
ksu
cd <an already setup sandbox>
grep -w pass config.ini.php5
Put this password in the mysql section of the config file.