This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
niota-docs:niota_install_app [2021/11/11 13:55] admin |
niota-docs:niota_install_app [2025/07/17 14:11] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== install niota php-application (N-PAPP) ===== | + | ===== Introduction ===== |
| + | The niota table management system is a PHP application. The document pages use the synonym [[niota_glossary|N-PAPP]] for niota (PHP) application. | ||
| - | install niota PHP-applicaction (N-PAPP) on Apache | + | ===== Install niota PHP-application ===== |
| - | • visit download page and download proper release for N-PAPP | + | Visit [[niota_links|niota download page]] and download proper release for N-PAPP. |
| - | • copy unzipped folder into folder: ‘Apache\document-root’. | + | |
| - | The document-root directory of Apache by default is “Apache\htdocs” folder. It is defined in file “Apache\conf\httpd.conf”. E.g.: DocumentRoot "${SRVROOT}/htdocs" | + | |
| - | • rename the folder to your needs | + | |
| - | Recommendation: remove detailed version information from the folder name. | + | |
| - | • navigate to “app\conf” -folder and rename file “connections_demo.php” to “connections.php”. | + | * unzip the folder and rename it to your needs |
| + | |||
| + | ----- | ||
| + | **Recommendation** | ||
| + | |||
| + | Remove detailed version information from the folder name | ||
| + | ----- | ||
| + | |||
| + | * copy unzipped folder into folder: **''Apache\<document-root>''**. Further details can be found [[niota_install_apache|here]] | ||
| + | **Do not overwrite an existing N-PAPP. In case you install a new release, name the new release differently than the old release or rename the old release.*** | ||
| + | |||
| + | * navigate to **''app\conf''** folder and rename file **''_shipped_connections.php''** to **''connections.php''** or copy **''_shipped_connection.php''** to **''connections.php''** | ||
| + | * rename file **''_shipped_hosts.php''** to **''hosts.php''** or copy **''_shipped_hosts.php''** to **''hosts.php''** | ||
| + | **There will not be a **''connections.php''** or **''hosts.php''** in any install, as it would overwrite your local config.** | ||
| + | **In case you upgrade from an older release to a new release you can copy the files from the old release. Please check the release notes if the structure of the configuration has changed for these to files** | ||
| + | |||
| + | By using the ''_shipped*'' files as your current files you set the pre-configured demo connections as the active niota connections for the **''system''** client. | ||
| + | Check in **''connections.php''** if the MySQL server port for N-MDDB is set correctly and if it matches with the port configured in MySQL **''my.ini''** config file. | ||
| + | |||
| + | If you have already a valid and well configured **''connections.php''** file from a previous release, copy this file to this folder. | ||
| + | |||
| + | * check if Apache and PHP are up and running | ||
| + | * open a browser window and enter the login – URL | ||
| + | |||
| + | |||
| + | <code - niota.url> | ||
| + | http://<my_host>/<my_niota_path>/app/login.php | ||
| + | |||
| + | or | ||
| + | |||
| + | http://<my_host>/<my_niota_path>/app/login.php/?client=system | ||
| + | |||
| + | or | ||
| + | |||
| + | http://<my_host>/<my_niota_path>/app/login.php/?client=<myclient> | ||
| + | </code> | ||
| + | |||
| + | If your N-MDDB is not up and running, you cannot log in yet. Without N-MDDB you can check only the load of the login screen. | ||
| + | |||
| + | * ask your contact at about actual credentials to login, in case of a totally new install. | ||
| + | |||
| + | We strongly recommend to use your own client configuration and not to use the system client. | ||
| + | |||
| + | * continue [[niota_install_clients|to install/configure your client]] | ||
| - | By this you set the preconfigured demo connections as the active niota connections. | ||
| - | Check in connctions.php if the MySQL server port for N-MDDB is set correctly and matches with the port configured in my.ini | ||
| - | If you have already a valid and well configured connections.php-file from a previous release copy this file to this folder. | ||
| - | • check if Apache and PHP is up and running | ||
| - | • open a browser window and enter the login – URL | ||
| - | “http://<my_host>/<my_niota_path>/app/login.php”. | ||
| - | If your N-MDDB is not up and running you cannot log in yet. Without N-MDDB you can check only the load of the login screen. | ||
| - | • on the login screen you can login with the default user “superuser” | ||