|
⇤ ← Revision 1 as of 2014-07-23 23:53:34
Size: 2107
Comment:
|
Size: 1770
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| Line 4: | Line 2: |
| 1. Perform everything from here as root (su -) until notified to exit. | |
| Line 10: | Line 9: |
| 1. Create company environment directory under /u - mkdir cc{company}. 1. ''under new directory create links to relevant revision directories: std, binl, binx11, lib, manual, pixmap, standard'' |
1. Create company environment directory under /u <<BR>> {{{ mkdir cc<company> }}} 1. Under new directory create links to relevant revision directories: std, binl, binx11, lib, manual, pixmap, standard {{{ cd /u/cc<company> ln -s /u/ccr.nn/{std,binl,binx11,lib,manual,pixmap,standard} ./ }}} |
| Line 14: | Line 20: |
| cd /u/cc{company} cp -a /u/ccr. /<COMPANYNAME> . <---Repeat this for every company in their "group". cp -a /u/ccr.nn/adm ./ |
cp -a /u/ccr.nn/{<COMPANY>,<COMPANY>TEST,adm} ./ mkdir LOG mkdir usr cp /u/ccr.nn/usr/common.sh usr/ |
| Line 19: | Line 25: |
| 1. As root cd into /u/cc{company} and enter the following commands | 1. As root enter the following commands |
| Line 21: | Line 27: |
| #cd /u/cc{company} | |
| Line 24: | Line 31: |
| 1. Change environment to new company: <<BR>> | 1. Change environment to new company: |
| Line 26: | Line 33: |
| export CCDIR=/u/cc{company} . /u/ccr.nn/usr/common.h |
. /u/cc{company}/usr/common.sh |
| Line 30: | Line 36: |
| 1. Conset to DEMO 1. ln -s std/binx11/coaad contrl 1. Create <COMPANY> using contrl |
1. Conset to <COMPANYNAME><<BR>> {{{ conset -c <COMPANYNAME> }}} |
| Line 37: | Line 44: |
=== Setting up locations === . Ask how manu locations is needed and if necessary erase/replace the 4 built in ones from the standard company. Set up the information based on the New Company Set up Form (address, ABN, etc). Be sure to enter the email address as this will be used as the from address in emails. Click here to access the New Company Set up Form [[http://sam/mywiki/Create_new_company?action=AttachFile|link]] |
Converting a company on SAAS server (Abe) - from old /u/ccr.xx to new version - with it's own environment
- Perform everything from here as root (su -) until notified to exit.
- Edit the file /etc/group and add an entry (use their company name in lower case) at the bottom. Increment the last used GID by 1.
sarissa:x:3239:ccc,lp,monavale,annan,mos zebra:x:3240:ccc,lp,zebra1,zebra2,zebra3,zebra4,zebra-canberra,zebra-tracey urban:x:3241:ccc,lp,uclp,ucmt,uclk,ucho temples:x:3242:ccc,lp,temples1,temples2,temples3 company:x:3243:ccc,lp,john,luke,matthew
- Make sure lp, ccc, cc2 and jon are members of this new group.
Create company environment directory under /u
mkdir cc<company>
- Under new directory create links to relevant revision directories: std, binl, binx11, lib, manual, pixmap, standard
cd /u/cc<company> ln -s /u/ccr.nn/{std,binl,binx11,lib,manual,pixmap,standard} ./ - Copy Company directories (including test company) and adm directory from its original source (this is important so they retain all their terminal numbers)
cp -a /u/ccr.nn/{<COMPANY>,<COMPANY>TEST,adm} ./ mkdir LOG mkdir usr cp /u/ccr.nn/usr/common.sh usr/ - As root enter the following commands
#cd /u/cc{company} #chgrp -R {company} . #find . -type d -exec chmod 770 {} \; - Change environment to new company:
. /u/cc{company}/usr/common.sh Conset to <COMPANYNAME>
conset -c <COMPANYNAME>
- Create directory usr. Copy /u/ccr.xx/usr/common.sh into this directory. Edit it so that CCDIR is set to /u/cc{company} .
Conset to <COMPANY>
- add user via addusr
- Modify ~username/.vnc/xstartup to call /u/cc{company}/usr/common.sh
