Changes between Version 23 and Version 24 of En:ManualInstalacionOpengnsys


Ignore:
Timestamp:
Mar 1, 2012, 12:50:40 PM (12 years ago)
Author:
ramon
Comment:

Change OpenGnSys Server IP Address sectrion

Legend:

Unmodified
Added
Removed
Modified
  • En:ManualInstalacionOpengnsys

    v23 v24  
    160160
    161161
     162== Change !OpenGnSys Server IP Address ==
     163
     164
     165From OpenGnSys version 1.0.3, there is a script for changing the OpenGnSys Server main IP address on machines with multiple network interfaces.
     166
     167To make the change of OpenGnSys Server IP address, run the {{{setserveraddr}}} script from a terminal server:
     168 {{{
     169sudo /opt/opengnsys/bin/setserveraddr NetworkInterface
     170}}}
     171
     172Being {{{NetworkInterface}}} parameter, the name of the network interface that is assigned to the specified IP (eg eth0, eth1). To obtain the data of active network interfaces and their associated IP addresses, executing the command:
     173 {{{
     174sudo ifconfig
     175}}}
     176
     177If needed, access to OpenGnSys Web Admin Console to modify some configuration parameters.
     178 1. Modify default repository IP address.
     179    Click on Servers button, right click on the repository name, select Properties and change IP address value.
     180 1. Force a netboot for updating the boot information.
     181    Click on Labs button, right click on lab. name, select Advanced !NetBoot option and click on Save button.
     182
     183
     184== Configure Proxy Server for Subversion (if needed) ==
     185
     186 * Export proxy variable:
     187 {{{
     188export http_proxy="http://proxyserver:proxyport"
     189}}}
     190
     191 * Check proxy, install subversion and wget:   
     192 {{{
     193apt-get update
     194apt-get install subversion wget
     195}}}
     196
     197 * Configure subversion to use proxy.
     198 {{{
     199vi /etc/subversion/servers
     200#edit [global] section:
     201
     202[global]
     203http-proxy-host = proxyserver
     204http-proxy-port = proxyport
     205http-timeout = 10
     206}}}
     207
     208
     209
     210== Optional: Remove php cron services from Ubuntu Server ==
     211
     212Remove file /etc/cron.d/php5
     213
    162214
    163215== Proposed installation of components ==
     
    182234 * '''{{{all}}}''' – installation compact in the same computer (optional value and by default).
    183235
    184 == Configure Proxy Server for Subversion (if needed) ==
    185 
    186  * Export proxy variable:
    187  {{{
    188 export http_proxy="http://proxyserver:proxyport"
    189 }}}
    190 
    191  * Check proxy, install subversion and wget:   
    192  {{{
    193 apt-get update
    194 apt-get install subversion wget
    195 }}}
    196 
    197  * Configure subversion to use proxy.
    198  {{{
    199 vi /etc/subversion/servers
    200 #edit [global] section:
    201 
    202 [global]
    203 http-proxy-host = proxyserver
    204 http-proxy-port = proxyport
    205 http-timeout = 10
    206 }}}
    207 
    208 
    209 == Change !OpenGnSys Server IP ==
    210 
    211  * Check operating system configuration files:
    212 
    213  {{{
    214 /etc/network/interfaces
    215 /etc/hosts
    216 /etc/resolv.conf
    217 /etc/dhcp3/dhcpd.conf
    218 }}}
    219 
    220  * Check OpenGnSys configuration files:
    221 
    222  {{{
    223 /opt/opengnsys/etc/ogAdmAgent.cfg
    224 /opt/opengnsys/etc/ogAdmRepo.cfg
    225 /opt/opengnsys/etc/ogAdmServer.cfg
    226 /opt/opengnsys/client/etc/ogAdmclient.cfg
    227 /opt/opengnsys/www/controlacceso.php
    228 }}}
    229 
    230  * Restart services, if needed:
    231 
    232  {{{
    233 /etc/init.d/networking restart
    234 /etc/init.d/dhcp3-server restart
    235 /etc/init.d/opengnsys restart
    236 # or restart the system.
    237 }}}
    238 
    239 
    240 Access to OpenGnSys Web Admin Console to modify the config
    241 {{{
    242 Click on University icon and select environment variable.
    243 Modify "IP del servidor de administración" value.
    244 }}}
    245 
    246 
    247 Modify organizational units
    248 {{{
    249 Button Repositorios -> propiedades -> cambiar IP.
    250 }}}
    251 
    252 {{{
    253 If needed, modify network properties and multicast direction in classroom properties.
    254 }}}
    255 
    256 
    257 {{{
    258 If needed, modify clients IP.
    259 }}}
    260 
    261 
    262 {{{
    263 Force a netboot for updating the boot information.
    264 }}}
    265 
    266 
    267 Update images torrent
    268 {{{
    269 Delete files .sum and .torrent
    270 
    271 }}}
    272 
    273 
    274 
    275 == Optional: Remove php cron services from Ubuntu Server ==
    276 Remove file /etc/cron.d/php5
    277 
    278