Línia 193: Línia 193:
<li> Configuring the sound card. </li> [[Fitxer: Inst36.jpg]] <br> <br>
<li> Configuring the sound card. </li> [[Fitxer: Inst36.jpg]] <br> <br>
<li> additional CDs. </Li> [[Fitxer: Inst37.jpg]] <br> To complete the installation click "Finish" <br> <br>
<li> additional CDs. </Li> [[Fitxer: Inst37.jpg]] <br> To complete the installation click "Finish" <br> <br>
<li> when the wizard, and '''SELinux''' has been disabled as recommended, the computer will reboot. </ Li> When the login screen appears, login with username 'CADT' and password 'boira1'. <br> [[Fitxer: Inst39.jpg]] <br> <br>
<li> when the wizard is finished, if '''SELinux''' has been disabled as recommended, the computer will reboot. </li> When the login screen appears, login with username 'CADT' and password 'boira1'. <br> [[Fitxer: Inst39.jpg]] <br> <br>
</ol>
</ol>
<hr style="height:5px">
<hr style="height:5px">

Revisió del 08:03, 11 jul 2012

The SAPO system history

SAPO is a set of powerful applications oriented to the implementation of CARTA (process which transform to technical drawing from artistic creation), designs blond curtains, lace , etc. ... These products are manufactured into the German company Karl Mayer 's textile machinery or in ancient looms leavers.
The SAPO system was originally created for HP's workstations with HP-UX operating system, because they were more powerful than any PC on the market. The personal computing progress make PC getting faster and cheaper, and became more interesting migrate the existing code to the new and primitive Linux running on personal computers.

We choose Redhat because was a free distribution and had a lot of similarities in the directories and configuration files structure with the previous HP-UX. Redhat became a commercial product, so we looked for an open source alternative to maintain and improve the same stability and security. The distribution chosen wasCentOS, which did not have the latest versions of software that other distributions derived from Redhat have like Fedora, but instead have a better stability .

With the idea of ​​avoiding the user to adapt to different environments that didn't have used, we kept the maximum appearance. For this reason, we install a CDE Linux compatible desktop which had been used in the old HP-UX workstations, but now we are working to migrate the SAPO system to any modern desktops which are integrated with current Linux versions like Gnome, or KDE, in order to improve the user experience and comfort as much as possible without losing security and stability.

SAPO Design system installation's notes

  • Currently is needed to install SAPO on PCs, laptops and desktops, where you can install a CentOS Linux operating system. The recommended version up to date is CentOS 5.x, because the old desktop CDE used with SAPO is incompatible with the latest version (CentOS 6 at the time of writing this manual).
  • During the operating system installation, hard drive's data could be erased so you should have a backup of your existing user data.
  • The used setup editor used in this manual is vi. This file editor is very powerful, but not recommended if you don't have previous experience. In this case, there are other editors more intuitive such as nano'.
  • Remember that editing configuration files is a critical and extremely delicate operation and can cause the system will not boot properly.
  • A new system installation have 4 stages:
  1. Installing the Linux operating system 'CentOS 5.x'.
  2. Installing the CDE desktop.
  3. Installing the SAPO design system.
  4. Installing additional applications.

Installation

Linux Operating System

Linux CentOS 5.x operating system installation

The installation Iso images can be downloaded from the CentOS's official website:
http://mirror.centos.org/centos/5/isos/i386 /

  • The 32-bit Linux version (i386) ensures compatibility with SAPO system.
  • This manual explains the graphical installation mode.
  1. Boot with the CentOS 5.x installation CD-ROM.


  2. If you boot from the netinstall CD_ROM version
  3. Will be necessary an internet connection available and a few preliminary steps make with a wizard running in text mode:
    • If the CD-ROM isn't the netinstall version, go to step:Start the installation wizard.
    1. Language selection
    2. This language will be used during installation, but also determine the default options such as language, keyboard, time zone, etc..


    3. keyboard selection


    4. Installation Method
      • This specifies how to access the installation files.
      To get the official version from the CentOS 's webpage, select HTTP.


    5. network configuration
    6. For default network configuration use the DHCP (automatic) option. However, Network parameters can be manually configured here but this setting is only used to access the installer's files and will be necesary to configure the final network during the setup process.


    7. Location of installation files

    8. Parameters to get the official version.
      Site Name: mirror.centos.org
      Directory of files: /centos-5/5.8/os/i386
    9. Completing the netinstall process
    10. Finally, it will download the installation wizard will start automatically
      • This process can take about 5 minutes.


  4. Start installation wizard.


  5. Language selection.
    • This screen does not appear if the language has been selected.
    This language will be used during installation, but also will be installed by default in the operating system and determine the default options (keyboard, time zone, etc).


  6. keyboard selection.
    • This screen does not appear if the keyboard has been selected.


  7. installation type selection.
    • This screen only displays if any CentOS operating system is installed.


  8. disk partitions.
  9. The management of partitions on a disk can cause the loss of data.

    Select manual partitioning (create custom layout) whether if it is a new installation or a reinstallation where already have an existing partition table. Manual partitioning will have the absolute control over the entire process.


    1. Partition Manager
      • Using LVM partitions is not recommended, to avoid alocating the information betwen different physical disks.


    2. To create a partition use the New button.
      • If you will like to edit an existing partition, Select it first and then use the Editbutton
      Creating a regular partition Creating a swap partition

    3. Choose size, type and where to mount the partitions.
      • option to format the partition is available only if the partition previously existed.
      • In this case, 'VERY It's not format the partition that contains the user data (/home in the example)
      • Formating a partition containing user data (/home in the example) IS NOT RECOMMENDED because you will loss all the information on it.
      TABLE PARTITION DISK RECOMMENDED BY A 250 Gb / dev / sda
      Partition Installation Partition Type Size Size Options Primary Partition Format Background
      /Dev/sda1 /boot ext3 200 Mb Size Fixed YES YES System Boot Partition operating
      /Dev/sda2 / 50 to 100 Gb main operating system partition
      /Dev/sda3 /home All the free
      space available
      Complete all
      the available free space
      NO NO User's data partition
      /Dev/sda4 N / A SWAP Same as installed memory Size Fixed NO YES Swap partition

  10. Installing the GRUB boot loader (GRUB boot loader).
  11. Leave the values ​​displayed by default.


  12. Network setup
  13. For default network configuration use the DHCP (automatic) option. However, network parameters can be manually configured here.


  14. Time Settings.
    • The UTC indicates that the computer's internal clock is synchronized with the time Greenwich Mean Time



  15. Creating the root 's password'.
    • The root user is the system administrator and have full access privileges.
    • is very important to remember this password.


  16. Selection packages to install.
  17. Select Desktop - Gnome, this includes a set of basic desktop applications.
    At the end, the system will check for dependency integrity and complete the list of packages to install.


  18. Installing Packages.
  19. The system will start installing the selected packages. When finish, restart the computer.
    • This may take about 30 minutes and is completely automatic.


  20. The first boot time setup wizard screen will appear.


  21. Initial firewall setup.
  22. To allow the CADT 's technical assistance team having access to your computer over Internet, the firewall must accept access through the SSH port (22) .


  23. SELinux configuration.
    • SELinux is an advanced system protection, but requires extensive configuration, so it is recommended to disable it.


  24. Setting the date and time.


  25. Creating 'CADT' user.


  26. To allow remote access to the system by CADT 's team,The following standard user account must be created:
    Username: CADT
    Full name: CADT S.L.
    Password: boira1
  27. Configuring the sound card.


  28. additional CDs.

  29. To complete the installation click "Finish"

  30. when the wizard is finished, if SELinux has been disabled as recommended, the computer will reboot.
  31. When the login screen appears, login with username 'CADT' and password 'boira1'.