diff --git a/Manuals/Tcar-ug/Repository/Workstation/config.docbook b/Manuals/Tcar-ug/Repository/Workstation/config.docbook index 55487be..535d693 100644 --- a/Manuals/Tcar-ug/Repository/Workstation/config.docbook +++ b/Manuals/Tcar-ug/Repository/Workstation/config.docbook @@ -3,11 +3,13 @@ Configuring Your Workstation - Once your worstation is installed, it is time for you to - configure it. At this point you create a user for working - everyday, configure third party repositories, set environment - variables to fit your personal needs, download the working - copy of &TCAR; and prepare it for start using it. + Once your worstation has been installed, it is time for you to + configure it. The configuration of your workstation consists + on defining your workplace, download a working copy from + &TCAR; and finally, run the prepare + functionality of centos-art.sh script to + install/update the software needed, as well as render images, + links, and anything else needed. @@ -132,12 +134,93 @@ to implement &TCPCVI;. + + + + Configure Administrative Tasks + + + Most of the administrative tasks you need to perform in your + working copy of &TCAR; are standardized inside the + prepare functionality of + centos-art.sh script. Inside + centos-art.sh + script, all administrative task are invoked trough the + sudo command. Thus, in order for the + centos-art.sh script to perform + administrative tasks, you need to update the + sudo's configuration in a way that such + administrative actions be allowed. + + + + At time of this writing the centos-art.sh + script implements just one administrative task, that is + package management. Nevertheless, in the future, other + administrative tasks might be included as well. + + - In order to complete the installation of your working copy, - use the prepare functionality described - in . + To update the sudo's configuration, execute + the visudo command as root. + Later, uncoment the Cmnd_Alias related to + SOFTWARE and add a line for + centos username allowing software commands. This + configuration is illustrated in . + + The <filename>/etc/sudoers</filename> configuration file + + /etc/sudoers configuration file + + + +## Installation and management of software +Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum + +## Next comes the main part: which users can run what software on +## which machines (the sudoers file can be shared between multiple +## systems). +## Syntax: +## +## user MACHINE=COMMANDS +## +## The COMMANDS section may have other options added to it. +## +## Allow root to run any commands anywhere +root ALL=(ALL) ALL + +## Allow the centos user to run installation and management of +## software anywhere. +centos ALL=(ALL) SOFTWARE + + + + + + + + + + Run Automation Tool + + Once you've created the centos username, logged + in with it, downloaded a working copy from &TCAR; and + configured the sudo's configuration file, + run the prepare functionality of + centos-art.sh script to complete the + configuration process using the following command: + + + /home/centos/Projects/artwork/trunk/Scripts/Bash/centos-art.sh prepare + + + To know more about the prepare + functionality of centos-art.sh script, see + . +