[e0e4c02] | 1 | Installing OpenGnsys Server 1.1.1 (codename "Espeto") |
---|
| 2 | ===================================================== |
---|
[d4871ae] | 3 | |
---|
[2beda2d] | 4 | Before installation |
---|
| 5 | ------------------- |
---|
[d4871ae] | 6 | |
---|
[e0e4c02] | 7 | OpenGnsys Server 1.1.1 (Espeto) is mean to be installed under Ubuntu Server 16.04 LTS or newer, though it has also been tested under operating systems based on CentOS 7. |
---|
[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) |
---|
[e0e4c02] | 13 | - 600 MB in /var/lib/tftpboot (or /srv in Debian systems) for every installed ogLive client. |
---|
| 14 | - 250 MB in the installation folder (/opt/opengnsys) plus 600 MB for every downloaded ISO image. |
---|
[2beda2d] | 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 | |
---|
| 17 | |
---|
[e0e4c02] | 18 | |
---|
| 19 | Installing |
---|
| 20 | ---------- |
---|
| 21 | |
---|
| 22 | To install OpenGnsys, run opengnsys_installer.sh script after unpacking the release file (opengnsys-release.tar.gz) o downloading it directly from https://raw.githubusercontent.com/opengnsys/OpenGnsys/devel/installer/opengnsys_installer.sh |
---|
[d4871ae] | 23 | |
---|
[2beda2d] | 24 | Unpacking example: |
---|
[d47ec6c] | 25 | tar xvzf opengnsys-1.1.0.tar.gz |
---|
[d4871ae] | 26 | cd opengnsys/installer |
---|
| 27 | |
---|
[2beda2d] | 28 | Download examples: |
---|
[d4871ae] | 29 | |
---|
[2beda2d] | 30 | * Download with wget. |
---|
[d47ec6c] | 31 | wget https://raw.githubusercontent.com/opengnsys/OpenGnsys/devel/installer/opengnsys_installer.sh |
---|
[d4871ae] | 32 | |
---|
[2beda2d] | 33 | * Download with curl. |
---|
[d47ec6c] | 34 | curl https://raw.githubusercontent.com/opengnsys/OpenGnsys/devel/installer/opengnsys_installer.sh -o opengnsys_installer.sh |
---|
[d4871ae] | 35 | |
---|
| 36 | |
---|
[2beda2d] | 37 | You must be root to run the installation script: |
---|
| 38 | sudo bash opengnsys_installer.sh |
---|
[d4871ae] | 39 | |
---|
| 40 | |
---|
[2beda2d] | 41 | 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): |
---|
| 42 | * MySQL root password |
---|
[f81c486] | 43 | * Web console user and OpenGnsys Super Administrator |
---|
[2beda2d] | 44 | * Web console user's password |
---|
| 45 | * Client's password for accessing remote services |
---|
[e0e4c02] | 46 | * Choose which ogLive clients to install. |
---|
| 47 | |
---|
[d4871ae] | 48 | |
---|
[2beda2d] | 49 | The following processes will be carried out: |
---|
| 50 | * Gathering of the basic network parameters. |
---|
[e0e4c02] | 51 | * Checking installed packages. |
---|
[2beda2d] | 52 | * Downloading and installing dependencies. |
---|
[f81c486] | 53 | * Creating OpenGnsys basic folder sctructure. |
---|
[e0e4c02] | 54 | * Download code from the repository to a temporal folder (/tmp/opengnsys_installer). In upcoming releases this process will not be necessary. |
---|
[f81c486] | 55 | * Compiling and installing OpenGnsys services. |
---|
| 56 | * Basic configuration of OpenGnsys network services (DHCP, PXE and Samba) using the existing configuration templates. |
---|
[2beda2d] | 57 | * Copying additional server management files. |
---|
[e0e4c02] | 58 | * Creating database and configuring OpenGnsys administration console web server. |
---|
| 59 | * Copying administration console pages. |
---|
| 60 | * Copying OpenGnsys client folder structure. |
---|
[f81c486] | 61 | * Downloading OpenGnsys client initial image. |
---|
| 62 | * Basic configuration of OpenGnsys services using network parameters. |
---|
[d4871ae] | 63 | |
---|
[e0e4c02] | 64 | Once the installation process is finished, you can start working with the system: |
---|
[2beda2d] | 65 | * Configuring DHCP. |
---|
| 66 | * Adding information in the administration console. |
---|
| 67 | * Customizing administration scripts. |
---|
| 68 | * Creating start menus for the clients. |
---|
[d4871ae] | 69 | |
---|
| 70 | |
---|
| 71 | |
---|
[2beda2d] | 72 | Updating / upgrading |
---|
| 73 | -------------------- |
---|
[d4871ae] | 74 | |
---|
[2beda2d] | 75 | There is a system self-upgrading script with the following features: |
---|
| 76 | * Network connection is needed to obtain the latest updates / upgrades. |
---|
| 77 | * If the script updates itself, then it must be run once again. |
---|
| 78 | * Services depending on the operating system will not be updated. |
---|
| 79 | * Configuration files will not be modified. |
---|
[d4871ae] | 80 | |
---|
[2beda2d] | 81 | You must be root to run this script: |
---|
| 82 | sudo /opt/opengnsys/lib/opengnsys_update.sh |
---|
| 83 | |
---|
[d4871ae] | 84 | |
---|
| 85 | |
---|
[e0e4c02] | 86 | Uninstalling |
---|
| 87 | ------------ |
---|
[d4871ae] | 88 | |
---|
[e0e4c02] | 89 | There is also an uninstallation script to remove the OpenGnsys components: |
---|
| 90 | * OpenGnsys files and database will be deleted. |
---|
| 91 | * Operating system packages and their configuration files will be preserved. |
---|
[2beda2d] | 92 | * The image folder and its content will not be deleted. |
---|
[d4871ae] | 93 | |
---|
[2beda2d] | 94 | You must be root to run this script: |
---|
| 95 | sudo /opt/opengnsys/lib/opengnsys_uninstall.sh |
---|
[d4871ae] | 96 | |
---|