close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Feb 10, 2012, 9:40:51 AM (14 years ago)
- Author:
-
ramon
- Comment:
-
Some installation notes.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v21
|
v22
|
|
6 | 6 | == Note == |
7 | 7 | |
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 | | |
| 8 | It is assumed [wiki:WikiStart/en OpenGnSys] Server will be installed in a GNU/Linux distro, Ubuntu 10.04 Server LTS or later. |
12 | 9 | Check the [wiki:CompatibilidadInstalacionServer/en OpenGnSys Server installation compatibility list]. |
13 | 10 | |
| 11 | The scripts and installation files are available in [browser:trunk/installer OpenGnSys Installer] section. |
| 12 | |
14 | 13 | == Install Version == |
15 | 14 | |
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"). |
17 | 16 | |
18 | 17 | |
… |
… |
|
45 | 44 | 2. '''Basic Configuration''' |
46 | 45 | 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. |
48 | 47 | * {{{OPENGNSYS_DB_USER}}} - OpenGnSys access user and OpenGnSys super-user. |
49 | 48 | * {{{OPENGNSYS_DB_PASSWD}}} - User password. |
50 | | * {{{OPENGNSYS_CLIENT_PASSWD}}} - Remote services password client. |
| 49 | * {{{OPENGNSYS_CLIENT_PASSWD}}} - Password for client access to remote services. |
51 | 50 | |
52 | 51 | 3. 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. |
54 | 53 | a. The script must be run as {{{root}}}: |
55 | 54 | {{{ |
… |
… |
|
66 | 65 | a. Access to [http://www.opengnsys.es/browser/tags] |
67 | 66 | 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}}} |
77 | 73 | |
78 | 74 | === Manual Installation step by step === |
… |
… |
|
120 | 116 | == OpenGnSys settings to use external services == |
121 | 117 | |
122 | | === Server dhcp external === |
| 118 | === External DHCP Server === |
123 | 119 | |
124 | 120 | By 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. |
125 | 121 | |
| 122 | {{{ |
126 | 123 | use-host-decl-names on; |
127 | 124 | next-server ip_opengnsys; |
… |
… |
|
135 | 132 | {{{ |
136 | 133 | group { |
137 | | next-server [ip_servidor_1]; |
| 134 | next-server [server_ip1]; |
138 | 135 | host pc1 { |
139 | | option host-name "xxx.es"; |
| 136 | option host-name "pc1"; |
140 | 137 | hardware ethernet xx:xx:xx:xx:xx:xx; |
141 | 138 | fixed-address xxx.xxx.xxx.xxx; |
… |
… |
|
145 | 142 | } |
146 | 143 | group { |
147 | | next-server [ip_servidor_2]; |
| 144 | next-server [server_ip2]; |
148 | 145 | host pc3 { |
149 | | option host-name "xxx.es"; |
| 146 | option host-name "pc3"; |
150 | 147 | hardware ethernet xx:xx:xx:xx:xx:xx; |
151 | 148 | fixed-address xxx.xxx.xxx.xxx; |
… |
… |
|
160 | 157 | filename "pxelinux.0"; |
161 | 158 | }}} |
| 159 | |
162 | 160 | Also, for compatibility with PXELinux, Web Console Admin Server should be referenced to the boot appropiate process, including the next simbolic link: |
163 | | |
164 | 161 | {{{ |
165 | 162 | sudo ln -fs /opt/opengnsys/www/principal/boot_pxelinux.php boot.php |
… |
… |
|
169 | 166 | |
170 | 167 | == Proposed installation of components == |
| 168 | |
| 169 | ''NOTE'': This feature is not implemented yet. |
171 | 170 | |
172 | 171 | Proposed 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: |
… |
… |
|
187 | 186 | * '''{{{all}}}''' – installation compact in the same computer (optional value and by default). |
188 | 187 | |
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 | {{{ |
| 192 | export http_proxy="http://proxyserver:proxyport" |
| 193 | }}} |
| 194 | |
| 195 | * Check proxy, install subversion and wget: |
| 196 | {{{ |
197 | 197 | apt-get update |
198 | 198 | apt-get install subversion wget |
199 | 199 | }}} |
200 | 200 | |
201 | | * Configure subversion to use proxy. |
202 | | {{{ |
| 201 | * Configure subversion to use proxy. |
| 202 | {{{ |
203 | 203 | vi /etc/subversion/servers |
204 | | #edit section [global], in line 142: |
| 204 | #edit [global] section: |
205 | 205 | |
206 | 206 | [global] |
207 | | |
208 | | http-proxy-host = proxy.xxx.es |
209 | | |
210 | | http-proxy-port = 3128 |
211 | | |
| 207 | http-proxy-host = proxyserver |
| 208 | http-proxy-port = proxyport |
212 | 209 | http-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 | {{{ |
225 | 218 | /etc/network/interfaces |
226 | 219 | /etc/hosts |
227 | 220 | /etc/resolv.conf |
228 | 221 | /etc/dhcp3/dhcpd.conf |
229 | | |
230 | | |
231 | | |
232 | | |
| 222 | }}} |
| 223 | |
| 224 | * Check OpenGnSys configuration files: |
| 225 | |
| 226 | {{{ |
233 | 227 | /opt/opengnsys/etc/ogAdmAgent.cfg |
234 | 228 | /opt/opengnsys/etc/ogAdmRepo.cfg |
235 | 229 | /opt/opengnsys/etc/ogAdmServer.cfg |
236 | 230 | /opt/opengnsys/client/etc/ogAdmclient.cfg |
237 | | |
238 | 231 | /opt/opengnsys/www/controlacceso.php |
239 | 232 | }}} |
240 | | {{{ |
241 | | |
| 233 | |
| 234 | * Restart services, if needed: |
| 235 | |
| 236 | {{{ |
242 | 237 | /etc/init.d/networking restart |
243 | 238 | /etc/init.d/dhcp3-server restart |