Changes between Version 21 and Version 22 of En:ManualInstalacionOpengnsys


Ignore:
Timestamp:
Feb 10, 2012, 10:40:51 AM (12 years ago)
Author:
ramon
Comment:

Some installation notes.

Legend:

Unmodified
Added
Removed
Modified
  • En:ManualInstalacionOpengnsys

    v21 v22  
    66== Note ==
    77
    8 It is assumed [wiki:WikiStart/en OpenGnSys] Server will be installed in a GNU/Linux distro, Ubuntu 10.04 Server LTS.
    9 
    10 The scripts and installation files [wiki:WikiStart/en OpenGnSys] components are available in [browser:trunk/installer OpenGnSys Installer].
    11 
     8It is assumed [wiki:WikiStart/en OpenGnSys] Server will be installed in a GNU/Linux distro, Ubuntu 10.04 Server LTS or later.
    129Check the [wiki:CompatibilidadInstalacionServer/en OpenGnSys Server installation compatibility list].
    1310
     11The scripts and installation files are available in [browser:trunk/installer OpenGnSys Installer] section.
     12
    1413== Install Version ==
    1514
    16  The current '''version''' is '''version 1.0.2''' and it is recommended using the installation script (see "Installation Script").
     15'''!OpenGnSys 1.0.2a is the current maintenance version''' and it is recommended using the installation script (see "Installation Script").
    1716
    1817
     
    4544 2. '''Basic Configuration'''
    4645   a. For security reasons, it is '''very important''' modify defaults users and passwords to access to the system. For this, edit the installation file {{{opengnsys_installer.sh}}} and change the values of configuration variables:
    47      * {{{MYSQL_ROOT_PASSWORD}}} - MySQL user password {{{root}}}.
     46     * {{{MYSQL_ROOT_PASSWORD}}} - MySQL {{{root}}} user password.
    4847     * {{{OPENGNSYS_DB_USER}}} - OpenGnSys access user and OpenGnSys super-user.
    4948     * {{{OPENGNSYS_DB_PASSWD}}} - User password.
    50      * {{{OPENGNSYS_CLIENT_PASSWD}}} -  Remote services password client.
     49     * {{{OPENGNSYS_CLIENT_PASSWD}}} - Password for client access to remote services.
    5150
    52513. Installation process.
    53     a. Recommended change the users and  default passwords by editing 'opengnsys_installer.sh' file. Search variables MYSQL_ROOT_PASSWORD, OPENGNSYS_DB_USER, OPENGNSYS_DB_PASSWD and OPENGNSYS_CLIENT_PASSWD. Change the values you want.
     52    a. Recommended change the users and default passwords by editing {{{opengnsys_installer.sh}}} file. Search variables MYSQL_ROOT_PASSWORD, OPENGNSYS_DB_USER, OPENGNSYS_DB_PASSWD and OPENGNSYS_CLIENT_PASSWD. Change the values you want.
    5453    a. The script must be run as {{{root}}}:
    5554    {{{
     
    6665   a. Access to [http://www.opengnsys.es/browser/tags]
    6766   a. Window will be open, informing you can not see the package, only download.
    68  1. Load it on the server where we will install it.
    69  1. Descompress the file tar.gz (`tar zxvf name_of_file.tar.gz`).
    70  1. Change the name of subdirectory to `opengnsys`.
    71  1. Create the subdirectory `opengnsys_installer` at `/tmp`.
    72  1. Move the subdirectory `opengnsys` to `/tmp/opengnsys_installer`.
    73  1. Change to user root `sudo su`
    74  1. Setting proxy to server. i.e.: `export http_proxy="http://proxy.us.es:3128"`
    75  1. We recommended change the users and passwords by default editing the installer `opengnsys_installer.sh`. Find the variables MYSQL_ROOT_PASSWORD, OPENGNSYS_DB_USER, OPENGNSYS_DB_PASSWD, and OPENGNSYS_CLIENT_PASSWD. Change to desired values.
    76  1. Run the script `/tmp/opengnsys_installer/opengnsys/installer/opengnsys_installer.sh`
     67 1. Load it on a server temporary directory.
     68 1. Descompress the file: {{{tar xvzf opengnsys-}}}''{{{version}}}''{{{.tar.gz}}}
     69 1. Change to the installer directory: {{{cd opengnsys/installer}}}
     70 1. Setting proxy to server, if needed. i.e.: {{{export http_proxy="http://}}}''{{{proxyserver}}}''{{{:}}}''{{{proxyporrt}}}''
     71 1. We recommended change the default users and passwords editing the installer {{{opengnsys_installer.sh}}}. Find the variables MYSQL_ROOT_PASSWORD, OPENGNSYS_DB_USER, OPENGNSYS_DB_PASSWD, and OPENGNSYS_CLIENT_PASSWD. Change to desired values.
     72 1. Run the script: {{{sudo bash opengnsys_installer.sh}}}
    7773
    7874=== Manual Installation step by step ===
     
    120116==  OpenGnSys settings to use external services ==
    121117
    122 === Server dhcp external ===
     118=== External DHCP Server ===
    123119
    124120By default, OpenGnSys version 1.0.2 use Grub4Dos instead of PXELinux for booting clients. You need to incorporate the following line to configure DHCP service with Grub4Dos.
    125121
     122{{{
    126123use-host-decl-names on;
    127124next-server ip_opengnsys;
     
    135132{{{
    136133group {
    137    next-server [ip_servidor_1];
     134   next-server [server_ip1];
    138135   host pc1 {
    139       option host-name "xxx.es";
     136      option host-name "pc1";
    140137      hardware ethernet xx:xx:xx:xx:xx:xx;
    141138      fixed-address xxx.xxx.xxx.xxx;
     
    145142 }
    146143group {
    147    next-server [ip_servidor_2];
     144   next-server [server_ip2];
    148145   host pc3 {
    149       option host-name "xxx.es";
     146      option host-name "pc3";
    150147      hardware ethernet xx:xx:xx:xx:xx:xx;
    151148      fixed-address xxx.xxx.xxx.xxx;
     
    160157filename  "pxelinux.0";
    161158}}}
     159
    162160Also, for compatibility with PXELinux, Web Console Admin Server should be referenced to the boot appropiate process, including the next simbolic link:
    163 
    164161{{{
    165162sudo ln -fs /opt/opengnsys/www/principal/boot_pxelinux.php boot.php
     
    169166
    170167== Proposed installation of components ==
     168
     169''NOTE'': This feature is not implemented yet.
    171170
    172171Proposed to modify the installation program to automate the process of the two main components of OpenGnSys Project. The format of the setting script {{{opengnsys-installer.sh }}} can be:
     
    187186 * '''{{{all}}}''' – installation compact in the same computer (optional value and by default).
    188187
    189 == Configure http y snv (if needed) ==
    190 * Export proxy variable:
    191 {{{
    192 export http_proxy="http://proxy.xxx.es:puerto"
    193 }}}
    194 
    195 * Check proxy, install subversion and wget:   
    196 {{{
     188== Configure Proxy Server for Subversion (if needed) ==
     189
     190 * Export proxy variable:
     191 {{{
     192export http_proxy="http://proxyserver:proxyport"
     193}}}
     194
     195 * Check proxy, install subversion and wget:   
     196 {{{
    197197apt-get update
    198198apt-get install subversion wget
    199199}}}
    200200
    201 * Configure subversion to use proxy.
    202 {{{
     201 * Configure subversion to use proxy.
     202 {{{
    203203vi /etc/subversion/servers
    204 #edit section [global], in line 142:
     204#edit [global] section:
    205205
    206206[global]
    207 
    208 http-proxy-host = proxy.xxx.es
    209 
    210 http-proxy-port = 3128
    211 
     207http-proxy-host = proxyserver
     208http-proxy-port = proxyport
    212209http-timeout = 10
    213 
    214 # note: there should not be commented line between [global] and http-proxy-host
    215 # note: there should not be blanks and tabs before http-proxy-host
    216 
    217 }}}
    218 
    219 
    220 == Change server IP and !OpenGnSys ==
    221 
    222 * Operating System:
    223 
    224 {{{
     210}}}
     211
     212
     213== Change !OpenGnSys Server IP ==
     214
     215 * Check operating system configuration files:
     216
     217 {{{
    225218/etc/network/interfaces
    226219/etc/hosts
    227220/etc/resolv.conf
    228221/etc/dhcp3/dhcpd.conf
    229 
    230 
    231 
    232 
     222}}}
     223
     224 * Check OpenGnSys configuration files:
     225
     226 {{{
    233227/opt/opengnsys/etc/ogAdmAgent.cfg
    234228/opt/opengnsys/etc/ogAdmRepo.cfg
    235229/opt/opengnsys/etc/ogAdmServer.cfg
    236230/opt/opengnsys/client/etc/ogAdmclient.cfg
    237 
    238231/opt/opengnsys/www/controlacceso.php
    239232}}}
    240 {{{
    241 
     233
     234 * Restart services, if needed:
     235
     236 {{{
    242237/etc/init.d/networking restart
    243238/etc/init.d/dhcp3-server restart