skip to content
Universal Logging System
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
uls:install
===== Download & Installation ===== Download the {{:uls:uls-server-1.9.6-4.tgz|}} and follow the installation instruction for different operating systems. ----- ==== Installation ==== ----- === Debian 10 to Debian 12 === Install the operating system and chose the software: SSH-server, Standard-system tools Become root and install Maria-DB: <code bash> # apt-get install mariadb-server libmariadb-dev dh-make </code> Enter the password for mysql-root and file it for further use. Install gcc for compiling the u2webtools: <code bash> # apt-get install build-essential libssl-dev </code> Install gnuplot for the generation of charts: <code bash> # apt-get install gnuplot </code> Install gnu-awk (needed for the processing of start-stop tuples): <code bash> # apt-get install gawk </code> Install wkhtmltopdf from [[https://wkhtmltopdf.org/downloads.html|wkhtmltopdf.org]] <code bash> # apt-get install libpng12-0 # may be required on Raspbian # dpkg -i wkhtmltox_<version>.deb </code> Install mailutils for sending mails: <code bash> # apt-get install mailutils </code> Add language support for at least german and english, mark "de_DE.UTF-8 UTF-8" and "en_US.UTF-8 UTF-8": <code bash> # dpkg-reconfigure locales </code> Unpack the ULS-server, version 1.9.6: <code bash> # tar xf ULS-Server-1.9.6-2.tgz # cd ULS-Server-1.9.6 </code> Install u2webtools from {{ :unix2web:u2webtools-mariadb_9.7-7debian10_amd64.deb |}}, {{ :unix2web:u2webtools-mariadb_9.7-7debian11_amd64.deb |}} or {{ :unix2web:u2webtools-mariadb_9.9-4debian12_amd64.deb |}} Adjust Maria-DB configuration <code bash> # vi /etc/mysql/mariadb.conf.d/50-server.cnf ... max_allowed_packet = 64M max_connections = 2000 group_concat_max_len = 1024000 sql_mode = '' </code> and restart Maria-DB with: <code bash> # systemctl restart mysql </code> Start the installation: <code bash> # cd ulsserver # ./installuls.sh </code> You will be prompted for the mysql-root password. On Debian 10 and 11 hit return for no password. Now, the ULS-server is running and waits for its base configuration. Point your webbrowser to 'https://localhost/' and login as user 'admin', password 'NewAdmin'. ----- ==== ULS Basic Configuration ==== You **must** make configurations to the ULS-server! Use your webbrowser, open [[https://localhost/]] and login as user 'admin', password 'NewAdmin'. :TODO: This may be English or German, depending on your browser settings. "Admin-Menü" "Verfahren" -> "Verfahren bearbeiten" Fill last line and hit OK. "Server" -> "Server anlegen" {| !Sin: |<ServerIdentNumber> |- !Servername: |<Servername> (short name) |- !domain: |chose - each source must be related to a domain |- !IP-address: |IP-address from which agents send values to the ULS-server |- !transfer-IP: |a probably existing alternative IP-address, second interface |- !value-IPs: |alternate or virtual IP-address from which agents send values to the ULS-server. Mainly used in cluster environments |} :TODO: the following is not finished yet. "Gruppen" -> "Gruppen anlegen" Gruppenname vergeben "OK" Ggf. Button "alle Verfahren", damit das Verfahren des Clients erscheint. Haken unter Verfahren setzen. "OK" "User" -> "User anlegen" Haken bei Gruppe setzen. "OK" Install the ULS-client for Linux Download file {{ :uls:agents:uls-client_3.14-5debian10_amd64.deb |}}, {{ :uls:agents:uls-client_3.14-5debian11_amd64.deb |}} or {{ :uls:agents:uls-client_3.15-8debian12_amd64.deb |}} and install the package using the GDebi installation program. Configure the uls-client: Set the ulsserver ip-address or the ulsserver name in /etc/uls/uls.conf. <code bash> $ vi /etc/uls/uls.conf ... ULSSERVER=<ulsserver>:11976 </code> Check directory /var/tmp/uls for files, should look like: <code bash> $ ls -al /var/tmp/uls drwxrwxrwt 2 uls ulsuser 4096 Dez 23 14:40 . drwxrwxrwt 14 root root 299008 Dez 23 14:40 .. -rw------- 1 root root 929 Dez 23 14:40 dat-0-8550.uls -rw------- 1 root root 789 Dez 23 14:40 dat-0-8575.uls -rw------- 1 root root 400 Dez 23 14:40 dat-0-8602.uls -rw------- 1 root root 381 Dez 23 14:40 dat-0.uls -rw------- 1 uls ulsuser 720 Dez 23 14:39 dat-900.uls </code> If no files are shown, check the crontab entries: <code bash> $ cd /etc/cron.d/ $ cat ulsclient </code> to verify that the crontab file has been created and the entries are activated. If the files do not disappear (not transferred to the ULS-server), try: <code bash> $ flush_test_values -t </code> :TODO: further explanation is needed. To check, if an error condition exists, e.g. "ERROR from ULS-Server: NOSRV", which means that the current hostname has not been set up as an ULS-client. Setup a user that can access the ULS domain! Values should appear after about 5 to 10 minutes. ----- ==== Update ==== Update from version 1.9.2 or newer to version 1.9.5 Install the u2webtools_mariadb-9.7-7 from the "Media Manager". Unpack {{:uls:uls_update-1.9.5.tgz}} and run the updatescript: <code bash> tar xf uls-update-1.9.5.tgz cd update ./uls_update.sh <db-root-user> </code> After an update to version 1.9.5 and before an update to version 1.9.6 every user should logon to the ULS-server. For users without logon under version 1.9.5 an admin user has to reset the password. Update from version 1.9.5 to version 1.9.6 Unpack {{:uls:uls_update-1.9.6.tgz}} and run the updatescript: <code bash> tar xf uls-update-1.9.6.tgz cd update ./uls_update.sh <db-root-user> </code>
uls/install.txt
· Last modified: 2024-03-16 10:26 by
uls
Page Tools
Show page
Old revisions
Backlinks
Back to top