Hosting WIRIS CAS at your server1 Requirements
2 DownloadYou need a licence in order to access the download page for the server installation. If you have acquired such a licence, you can proceed to the download page. 3 SetupThree things must be installed in order to have a WIRIS cas server running properly: the web application, the mathematical engine and the user manual. 3.1 Web applicationThe setup of the web application is as simple as deploying the war file inside the application container. You can not use the war file directly without unzipping it because a configuration file must be provided (see below) and the user manuals will be installed in the same folder. In what follows, we will consider that the setup machine name is <domain> and the context name of the web application inside the application container is WIRIS (these names are only examples). Now, it is possible tot test that the servlets are properly setup writing in the browser URL:
The first time you go to the above URL you will get the error: WIRIS CAS Configuration Error! This only means that a file with the name configuration.properties file must be provided with the ISO 639-1 code of the current available languages:
ISO 639-1 code for languages in alphabetical order 3.2 Mathematical daemon kernel Chose a folder for the installation of the kernel daemon and unzip the file wiris-linux.tar.gz there. The folder database should be accessible with write permission from the daemon when executing.
In the mentioned folder, the daemon is started typing
The above script startups the daemon in background. To stop, type
Observe that both the web application and the mathematical kernel daemon are deployed in the same machine. These two components communicate with each other with the port 31415. Startup scriptTo finish, the 3.3 User manualTo setup the manual, it suffices to unzip the files in the same folder as the web application. 4 UpgradeIn order to upgrade WIRIS cas, you only need to deploy the Web application, uncompress the mathematical kernel in the same folder and copy-paste the user manual. Then, you need to restart the daemon, which is the mathematical kernel:
By decompressing the kernel in the same folder, you manage to keep the folder database, that registers useful information about the use of the tool. Otherwise, you need to copy the folder database in a new location while the daemon is not running. 5 Tests It is possible to test that the calculator works properly opening a browser and typing the URL:
or (if you have multiple languages)
Once the calculator is opened, test some operations. The manual could be found at
|