maintenance:downloads:wiki_updates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
maintenance:downloads:wiki_updates [2019/07/16 13:15] – ↷ Page moved from downloads:wiki_updates to maintenance:downloads:wiki_updates jbosch | maintenance:downloads:wiki_updates [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | ===== Download WIKI installation files ===== | ||
+ | |||
+ | This entire NetYCE Wiki can be installed locally at your NetYCE server. This will offer the full search capabilities | ||
+ | of this site, but without the Internet access or the login requirements. | ||
+ | |||
+ | The local NetYCE WIKI installation consists of two parts. First there is the DokuWiki engine setup for NetYCE wiki | ||
+ | and secondly the actual Wiki content. Both can be downloaded from this page and are **daily** updated. Normally, only the Wiki content part needs to be regularly downloaded and installed on your local YCE-server(s). | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | These NetYCE wiki installation distribution files can be installed using the NetYCE web-based front-end using the '' | ||
+ | Both parts need to be installed this way. | ||
+ | |||
+ | > <color orange> | ||
+ | Before the **wiki-engine** and **yce-wiki** packages are installed, the system requires some one-time modifications. | ||
+ | </ | ||
+ | |||
+ | Follow the " | ||
+ | execute the steps in the " | ||
+ | |||
+ | |||
+ | ==== Regular setup ==== | ||
+ | |||
+ | The regular setup involves a semi-automatic process for its first-time installation. The following steps will | ||
+ | make the NetYCE system modifications to create a virtual host on your NetYCE server to use a dedicated unique | ||
+ | URL for the NetYCE Wiki. | ||
+ | |||
+ | === (1) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Add an alias (or Cname) to the DNS for this NetYCE server to access the Wiki. \\ | ||
+ | E.g. **yce-wiki.my.domain**. | ||
+ | </ | ||
+ | |||
+ | === (2) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | The application manager of the NetYCE system must login on the server and run - as '' | ||
+ | setup script: **'' | ||
+ | |||
+ | Enter the chosen Wiki alias name and domain at the appropriate questions of this setup script. Below a | ||
+ | section of the dialog involved with this setup: | ||
+ | |||
+ | < | ||
+ | ::: | ||
+ | Login setup: | ||
+ | Domain name for login (single-sign-on cookie)? [netyce.org] | ||
+ | Hours until Login session expiry (single-sign-on cookie)? [12] | ||
+ | Login setup: | ||
+ | Single-sign-on domain | ||
+ | netyce.org | ||
+ | Is this Login setup correct? | ||
+ | Wiki setup: | ||
+ | ' | ||
+ | The (alias) name of the local Wiki server? [wiki] wiki | ||
+ | the domain name of the local Wiki server? [netyce.org] netyce.org | ||
+ | Wiki setup: | ||
+ | Local Protocol Hostname | ||
+ | yes http | ||
+ | Is this Wiki setup correct? | ||
+ | ::: | ||
+ | </ | ||
+ | |||
+ | When finishing the process, an updated Apache http configuration file will be generated and installed. The subsequent restarting of the http server will activate this change. | ||
+ | </ | ||
+ | |||
+ | === (3) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | While at it, the administrator needs to verify that the PHP module for the Apache http server, '' | ||
+ | |||
+ | < | ||
+ | $ rpm -qa | grep -i php | ||
+ | php-common-5.3.3-49.el6.x86_64 | ||
+ | php-cli-5.3.3-49.el6.x86_64 | ||
+ | php-5.3.3-49.el6.x86_64 | ||
+ | </ | ||
+ | |||
+ | The actual version numbers will likely to have changed to more recent values. | ||
+ | |||
+ | If **mod_php** is not installed, then do so using '' | ||
+ | The commands may vary depending on the administration procedures used by your organization. | ||
+ | < | ||
+ | $ sudo yum install mod_php | ||
+ | Loaded plugins: fastestmirror, | ||
+ | Setting up Install Process | ||
+ | Loading mirror speeds from cached hostfile | ||
+ | * base: mirror.i3d.net | ||
+ | * extras: nl.mirror.babylon.network | ||
+ | * updates: mirror.prolocation.net | ||
+ | base | 3.7 kB 00:00 | ||
+ | extras | ||
+ | mariadb | ||
+ | updates | ||
+ | updates/ | ||
+ | Package php-5.3.3-49.el6.x86_64 already installed and latest version | ||
+ | Nothing to do | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === (4) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Now download and install the " | ||
+ | |||
+ | First the wiki-engine, | ||
+ | be linked to the yce-wiki content and any customer special Wiki pages included in your license file | ||
+ | will be installed. | ||
+ | |||
+ | Before installation: | ||
+ | {{: | ||
+ | |||
+ | Executing: \\ | ||
+ | {{: | ||
+ | |||
+ | Completed installation: | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Manual setup ==== | ||
+ | |||
+ | The " | ||
+ | procedure made all appropriate modifications. Especially if the httpd configuration file is not | ||
+ | alterable by the **yce** functional user. | ||
+ | |||
+ | === (1) === | ||
+ | <WRAP indent> | ||
+ | The NetYCE wiki installation distribution files can also be installed on the command line (as ' | ||
+ | First upload the downloaded ' | ||
+ | |||
+ | This will create a file tree under ''/ | ||
+ | |||
+ | Likewise, install the Wiki content image using '' | ||
+ | |||
+ | This will create a file tree under ''/ | ||
+ | |||
+ | If your ''/ | ||
+ | </ | ||
+ | |||
+ | === (2) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Add an alias (or Cname) to the DNS for this NetYCE server to access the Wiki. \\ | ||
+ | E.g. **yce-wiki.my.domain**. | ||
+ | </ | ||
+ | |||
+ | === (3) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Run - as '' | ||
+ | |||
+ | Enter the chosen Wiki alias name and domain at the appropriate questions of this setup script. \\ | ||
+ | This will modify the < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === (4) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Ensure the Apache '' | ||
+ | </ | ||
+ | |||
+ | === (5) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | Modify the **''/ | ||
+ | |||
+ | 1) Define the various VirtualHosts as being based on the server **name** | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | 2) Insert a new VirtualHost for the new Wiki alias: | ||
+ | < | ||
+ | < | ||
+ | |||
+ | ServerName yce-wiki.my.domain | ||
+ | ServerAlias yce-wiki | ||
+ | DocumentRoot "/ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | This section must appear BEFORE the VirtualHost of non-aliased the NetYCE application. | ||
+ | |||
+ | When completed, restart the http server ('' | ||
+ | </ | ||
+ | |||
+ | === (6) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | The wiki alias specified in the VirtualHost section above must link to the wiki content directory. The content directory is located in '' | ||
+ | As ' | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | ln -s yce-wiki yce-wiki.my.domain | ||
+ | </ | ||
+ | |||
+ | Ensure the PHP server can access the session directory to store temporary session information | ||
+ | As ' | ||
+ | < | ||
+ | cd /var/lib | ||
+ | chown -R yce.nms php | ||
+ | </ | ||
+ | |||
+ | Alternatively: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | echo " | ||
+ | mkdir / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === (7) === | ||
+ | |||
+ | <WRAP indent> | ||
+ | When making manual changes to the http configuration file, you need to make an additional step to ensure your changes are not overwritten by future automatic updates. | ||
+ | |||
+ | As '' | ||
+ | |||
+ | < | ||
+ | <configs crontab=" | ||
+ | </ | ||
+ | </ | ||
+ | |||