|
|
eebdc3 |
<sect1 id="repo-ws-install">
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<title>Installing Your Workstation</title>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
In order to have a working copy of &TCAR; in your workstation,
|
|
|
eebdc3 |
the first step you need to follow is pick up a computer and
|
|
|
eebdc3 |
install an operating system in it. This computer will be named
|
|
|
eebdc3 |
the workstation from now on.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
At the moment of chosing which operating system to install in
|
|
|
eebdc3 |
your workstation, consider that &TCAR; is completly built on
|
|
|
eebdc3 |
&TC;; and realies on it to achieve most automation tasks. At
|
|
|
eebdc3 |
time of this writing the major release 5 update 5 of &TC;; was
|
|
|
eebdc3 |
used as platform to support all work line development inside
|
|
|
eebdc3 |
&TCAR;. To get the best of &TCAR;, it is necessary that you
|
|
|
eebdc3 |
too, use the same operating system we did to develop it.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
To install &TC;; you need to have access to the installation
|
|
|
eebdc3 |
media somehow (e.g., CDs, DVDs, Pendrives, etc.). If you
|
|
|
eebdc3 |
don't have the installation media of &TC;;, you need to
|
|
|
eebdc3 |
download the ISO files related to the installation media you
|
|
|
eebdc3 |
plan to use (e.g., CD or DVD) and then create the installation
|
|
|
eebdc3 |
media by yourself. &TC;; ISO files can be downloaded from
|
|
|
eebdc3 |
&TC;;.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Assuming you downloaded the DVD ISO of &TC;;, you can burn it
|
|
|
eebdc3 |
using the <application>K3B</application> application and, this
|
|
|
eebdc3 |
way, you are creating the installation media you are in need
|
|
|
eebdc3 |
of. Of course, in order to download the ISO files and create
|
|
|
eebdc3 |
the installation media, you need to have a workstation already
|
|
|
eebdc3 |
functionality where you can realized such tasks. If this is
|
|
|
eebdc3 |
the first time for you and see yourself into much troubles
|
|
|
eebdc3 |
here, talk to the guys in your nearest LUG, or simply send a
|
|
|
eebdc3 |
mail to &TCML; where you'll surely have the answer you need.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Once you have the installation media on your hands, the
|
|
|
eebdc3 |
installation process of &TC;; is rather straightforward. To
|
|
|
eebdc3 |
begin, you put the installation media in your media reader,
|
|
|
eebdc3 |
boot the computer from it, and follow the installer
|
|
|
eebdc3 |
intructions till it completes all the steps. That simple.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<sect2 id="repo-ws-partition">
|
|
|
eebdc3 |
|
|
|
d2638e |
<title>Partition Information</title>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
The partition information you set in your workstation is very
|
|
|
eebdc3 |
specific to your personal needs and the technical
|
|
|
eebdc3 |
characteristics of your machine. This information will also
|
|
|
eebdc3 |
set the bases of all deployment you reach to achieve inside
|
|
|
eebdc3 |
the workstation. A well partitioned workstation is crucial to
|
|
|
eebdc3 |
garantee a well distribution of space inside the worstation.
|
|
|
eebdc3 |
In order to provide an idea of this installation step, I'll
|
|
|
eebdc3 |
describe the specific partitioning of the machine I use to
|
|
|
eebdc3 |
develop &TCAR; right now. Remember that your needs might be
|
|
|
eebdc3 |
differents and so the partition layout you should implement.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
The machine of our example is isolated from Internet or any
|
|
|
eebdc3 |
other network. It has two hard drives of 256GB each, 2GB of
|
|
|
eebdc3 |
RAM and a 2.80GHz Core 2 Duo processor. The main goal of this
|
|
|
eebdc3 |
machine is producing &TCAR;. To represent the real production
|
|
|
eebdc3 |
environment of &TCAR;, this machine was conceived to have two
|
|
|
eebdc3 |
roles, one as server —to store the source repository of
|
|
|
eebdc3 |
&TCAR;— and one as client —to store a working copy
|
|
|
eebdc3 |
of the source repository—. From both hard drives
|
|
|
eebdc3 |
available, one is used as primary
|
|
|
eebdc3 |
(<filename>/dev/sda</filename>) and the other one as secondary
|
|
|
eebdc3 |
(<filename>/dev/sdb</filename>) where the secondary is used
|
|
|
eebdc3 |
only to backup the information produced in the primary by mean
|
|
|
eebdc3 |
of backup scripts.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
The partition distribution of this machine implements the
|
|
|
eebdc3 |
default partinioning schema provided by &TC;; in the primary
|
|
|
eebdc3 |
hard drive to store partitions needed by the operating system
|
|
|
eebdc3 |
(e.g., <filename class="directory">/</filename>,
|
|
|
eebdc3 |
class="directory">/boot</filename> and swap partition) where
|
|
|
eebdc3 |
the working copy is placed in. The second hard drive is an
|
|
|
eebdc3 |
entire partition mounted in
|
|
|
eebdc3 |
class="directory">/mnt/backups</filename> automatically on
|
|
|
eebdc3 |
boot which only purpose is to duplicate the information
|
|
|
eebdc3 |
produced in the workplace.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<screen>
|
|
|
eebdc3 |
Filesystem Type Size Mounted on
|
|
|
eebdc3 |
/dev/mapper/VolGroup00-LogVol00 ext3 239G /
|
|
|
eebdc3 |
/dev/sda1 ext3 104M /boot
|
|
|
eebdc3 |
tmpfs tmpfs 1.1G /dev/shm
|
|
|
eebdc3 |
/dev/sdb ext3 247G /mnt/backups
|
|
|
eebdc3 |
</screen>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
The detailed steps followed to prepare the partinioning layout
|
|
|
eebdc3 |
described above are described in the <citetitle>Deployment
|
|
|
eebdc3 |
Guide</citetitle> provided by
|
|
|
eebdc3 |
<package>Deployment_Guide-en-US-5.2-11.el5.centos</package>
|
|
|
eebdc3 |
package.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
</sect2>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<sect2 id="repo-ws-packages">
|
|
|
eebdc3 |
|
|
|
d2638e |
<title>Packages Selection</title>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
The packages selection lets you to specify which software does
|
|
|
eebdc3 |
your workstation will have once it be installed. In this step,
|
|
|
eebdc3 |
you need to select the following groups of packages:
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<itemizedlist>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>Desktop Environments</para>
|
|
|
eebdc3 |
<itemizedlist>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
GNOME Desktop Environment
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
KDE (K Desktop Environment)
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
</itemizedlist>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>Applications</para>
|
|
|
eebdc3 |
<itemizedlist>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Authoring and Publishing
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Editors
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Graphical Internet
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Graphics
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Office/Productivity
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Text-based Internet
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
</itemizedlist>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>Development</para>
|
|
|
eebdc3 |
<itemizedlist>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Development Libraries
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Development Tools
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
GNOME Software Development
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
<listitem>
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
KDE Software Development
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
</itemizedlist>
|
|
|
eebdc3 |
</listitem>
|
|
|
eebdc3 |
</itemizedlist>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
<para>
|
|
|
eebdc3 |
Packages selected in this step provide a base selection of all
|
|
|
eebdc3 |
the packages you need in order to have a functional working
|
|
|
eebdc3 |
copy of &TCAR;. The only exception for this, is the
|
|
|
eebdc3 |
<package>inkscape</package> package and some of its
|
|
|
eebdc3 |
dependencies which doesn't come with &TC;; and need to be
|
|
|
eebdc3 |
installed from third party repositroies like EPEL and
|
|
|
eebdc3 |
RPMForge. The configuration of third party repository is done
|
|
|
eebdc3 |
later, once the workstation has been installed; just as
|
|
|
eebdc3 |
described in the
|
|
|
eebdc3 |
url="http://wiki.centos.org/AdditionalResources/Repositories">Repositories</ulink>
|
|
|
eebdc3 |
page.
|
|
|
eebdc3 |
</para>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
</sect2>
|
|
|
eebdc3 |
|
|
|
eebdc3 |
</sect1>
|