[2beda2d] | 1 | Installing OpenGnsys Server v 1.0.5 |
---|
| 2 | ======================================= |
---|
[d4871ae] | 3 | |
---|
[2beda2d] | 4 | Before installation |
---|
| 5 | ------------------- |
---|
[d4871ae] | 6 | |
---|
[2beda2d] | 7 | OpenGnsys Server 1.0.5 is meant to be installed under Ubuntu Server 12.04 LTS or newer, though it has also been tested under operating systems based on Fedora 20 |
---|
[d4871ae] | 8 | |
---|
[2beda2d] | 9 | Network connection is needed in order to download the required packages, the source code and the preconfigured client. |
---|
[d4871ae] | 10 | |
---|
[2beda2d] | 11 | Minimum storage requirements: |
---|
| 12 | - 100 MB in /tmp (for the installation process) |
---|
| 13 | - 450 MB in /var/lib/tftpboot (or /srv in Debian systems) |
---|
| 14 | - 500 MB in the installation folder (/opt/opengnsys) in addition to the space required for logging (100 MB if ogLive client is already downloaded). |
---|
| 15 | - Enough disk space for the image repository in /opt/opengnsys/images (it is recommended to mount it on an independent file system) |
---|
[d4871ae] | 16 | |
---|
[2beda2d] | 17 | Installation |
---|
| 18 | ------------ |
---|
[d4871ae] | 19 | |
---|
[f81c486] | 20 | To install OpenGnsys, run opengnsys_installer.sh after unpacking the release file (opengnsys-release.tar.gz) o downloading it directly from https://opengnsys.es/svn/trunk/installer/opengnsys_installer.sh. |
---|
[d4871ae] | 21 | |
---|
[2beda2d] | 22 | Unpacking example: |
---|
| 23 | tar xvzf opengnsys-1.0.5.tar.gz |
---|
[d4871ae] | 24 | cd opengnsys/installer |
---|
| 25 | |
---|
[2beda2d] | 26 | Download examples: |
---|
[d4871ae] | 27 | |
---|
[2beda2d] | 28 | * Download with wget. |
---|
[7d54b0b] | 29 | wget https://opengnsys.es/svn/trunk/installer/opengnsys_installer.sh -O opengnsys_installer.sh |
---|
[d4871ae] | 30 | |
---|
[2beda2d] | 31 | * Download with curl. |
---|
[7d54b0b] | 32 | curl https://opengnsys.es/svn/trunk/installer/opengnsys_installer.sh > opengnsys_installer.sh |
---|
[d4871ae] | 33 | |
---|
| 34 | |
---|
[2beda2d] | 35 | You must be root to run the installation script: |
---|
| 36 | sudo bash opengnsys_installer.sh |
---|
[d4871ae] | 37 | |
---|
| 38 | |
---|
[2beda2d] | 39 | The following information will be requested in order to configure the access to the service (a default value will be introduced if no parameter is indicated): |
---|
| 40 | * MySQL root password |
---|
[f81c486] | 41 | * Web console user and OpenGnsys Super Administrator |
---|
[2beda2d] | 42 | * Web console user's password |
---|
| 43 | * Client's password for accessing remote services |
---|
[d4871ae] | 44 | |
---|
[2beda2d] | 45 | The following processes will be carried out: |
---|
| 46 | * Gathering of the basic network parameters. |
---|
| 47 | * Checking the installed packages. |
---|
| 48 | * Downloading and installing dependencies. |
---|
[f81c486] | 49 | * Creating OpenGnsys basic folder sctructure. |
---|
[2beda2d] | 50 | * Download the code repository to a temporal folder (/tmp/opengnsys_installer). In upcoming releases this process will not be necessary. |
---|
[f81c486] | 51 | * Compiling and installing OpenGnsys services. |
---|
| 52 | * Basic configuration of OpenGnsys network services (DHCP, PXE and Samba) using the existing configuration templates. |
---|
[2beda2d] | 53 | * Copying additional server management files. |
---|
[f81c486] | 54 | * Creating the database and configuring OpenGnsys administration console web server. |
---|
[2beda2d] | 55 | * Copying web administration console pages. |
---|
[f81c486] | 56 | * Copying the OpenGnsys client folder structure. |
---|
| 57 | * Downloading OpenGnsys client initial image. |
---|
| 58 | * Basic configuration of OpenGnsys services using network parameters. |
---|
[d4871ae] | 59 | |
---|
[2beda2d] | 60 | Once the installation is finished you can start working with the system: |
---|
| 61 | * Configuring DHCP. |
---|
| 62 | * Adding information in the administration console. |
---|
| 63 | * Customizing administration scripts. |
---|
| 64 | * Creating start menus for the clients. |
---|
[d4871ae] | 65 | |
---|
| 66 | |
---|
| 67 | |
---|
[2beda2d] | 68 | Updating / upgrading |
---|
| 69 | -------------------- |
---|
[d4871ae] | 70 | |
---|
[2beda2d] | 71 | There is a system self-upgrading script with the following features: |
---|
| 72 | * Network connection is needed to obtain the latest updates / upgrades. |
---|
| 73 | * If the script updates itself, then it must be run once again. |
---|
| 74 | * Services depending on the operating system will not be updated. |
---|
| 75 | * Configuration files will not be modified. |
---|
[d4871ae] | 76 | |
---|
[2beda2d] | 77 | You must be root to run this script: |
---|
| 78 | sudo /opt/opengnsys/lib/opengnsys_update.sh |
---|
| 79 | |
---|
[d4871ae] | 80 | |
---|
| 81 | |
---|
[2beda2d] | 82 | Uninstall |
---|
| 83 | --------- |
---|
[d4871ae] | 84 | |
---|
[f81c486] | 85 | There is also an uninstall script for the OpenGnsys components: |
---|
| 86 | * OpenGnsys files and data base will be deleted. |
---|
[2beda2d] | 87 | * Packages belonging to the operating system and their configuration files will be preserved. |
---|
| 88 | * The image folder and its content will not be deleted. |
---|
[d4871ae] | 89 | |
---|
[2beda2d] | 90 | You must be root to run this script: |
---|
| 91 | sudo /opt/opengnsys/lib/opengnsys_uninstall.sh |
---|
[d4871ae] | 92 | |
---|