Changes between Version 4 and Version 5 of Version2/Instalacion
- Timestamp:
- Sep 15, 2010, 6:47:01 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Version2/Instalacion
v4 v5 1 1 = Introduction = 2 2 3 Opengnsys is a free software application for managing and deploy operative systems. Opengnsys is made up of various components: the server, the clients and the repositories. See the [wiki:Version2#Architecture architecture page] for more details. This documents details the installation , configuration and deployment of the different services running in those three components. 3 Opengnsys is a free software application for managing and deploy operative systems. Opengnsys is made up of various components: the server, the clients and the repositories. See the [wiki:Version2#Architecture architecture page] for more details. This documents details the installation, configuration and deployment of the different services running in those three components. 4 5 But first you need to download the version2 branch of the opengnsys project from svn. This is done by executing in a shell: 6 7 {{{ 8 svn co http://www.opengnsys.org/svn/branches/version2 opengnsys 9 }}} 4 10 5 11 = Opengnsys Server = … … 77 83 == Dependencies == 78 84 79 We use Debian's live-helper scripts. Debian Live is available for as deb packages in [http://live.debian.net/], but we recommend using latest git development version, compiling it manually. To do so, install git in your system ('''apt-get install git-core''' in Debian/Ubuntu or '''pacman -S git''' in Arch Linux) and then execute the following commands:85 We use Debian's live-helper scripts. Debian Live is available for as deb packages in [http://live.debian.net/], but we recommend using latest git development version, compiling it manually. To do so, install git in your system ('''apt-get install git-core''' in !Debian/!Ubuntu or '''pacman -S git''' in Arch Linux) and then execute the following commands: 80 86 81 87 {{{ … … 102 108 }}} 103 109 104 This will create a directory in '''/srv/gnsys-live-helper/''' containing the image binary.iso you need to boot in the client. For testing purposes, we recommend using VirtualBox, so you just need to create a newVirtualBox machine that boots the binary.iso image from CD-ROM. It should have at least 64Mb of memory to work fine.110 This will create a directory in '''/srv/gnsys-live-helper/''' containing the image binary.iso you need to boot in the client. For testing purposes, we recommend using !VirtualBox, so you just need to create a new !VirtualBox machine that boots the binary.iso image from CD-ROM. It should have at least 64Mb of memory to work fine. 105 111 106 112 == Network configuration == 107 113 108 We recommend to use a Virtualbox host-only network (typically called '''vboxnet0''') connecting the client and the daemon. In order to do that, you need to configure the VirtualBox machine and in the Network Card 0 settings set the mode to "host-only". Then boot the binary.iso, and either check the IP address the client receives fromVirtualBox DHCP server or change it manually. It usually receives the IP address '''192.168.56.101''' for the first client. You should set that IP address of the test client in the server fill_data.py:114 We recommend to use a !Virtualbox host-only network (typically called '''vboxnet0''') connecting the client and the daemon. In order to do that, you need to configure the !VirtualBox machine and in the Network Card 0 settings set the mode to "host-only". Then boot the binary.iso, and either check the IP address the client receives from !VirtualBox DHCP server or change it manually. It usually receives the IP address '''192.168.56.101''' for the first client. You should set that IP address of the test client in the server fill_data.py: 109 115 110 116 {{{ … … 112 118 }}} 113 119 114 Also, you need to edit the config.py of the client daemon and set the ip address of the server. Usually VirtualBox configures the vboxnet0 interface in the host machine (the server) with the '''192.168.56.1''' IP address. Edit /usr/local/opengnsys/client_daemon/config.py in the running gnsyslive machine and set:120 Also, you need to edit the config.py of the client daemon and set the ip address of the server. Usually !VirtualBox configures the vboxnet0 interface in the host machine (the server) with the '''192.168.56.1''' IP address. Edit /usr/local/opengnsys/client_daemon/config.py in the running gnsyslive machine and set: 115 121 116 122 {{{