Installation of TeskaLabs LogMan.io Collector using installation script¶
Prerequisites¶
- Hardware or virtual machine. Mind the requirements before installation.
- OS Linux installed. Preferably Ubuntu 22.04 LTS. See other supported OS versions.
- Providing separate disk space for the OS and data is crucial for installation stability. Either add two distinct disks to the VM or introduce logical volumes during OS installation.
- Set the operating system timezone for TeskaLabs LogMan.io to UTC.
- Allow required communication from the host to the internet and LogMan.io central nodes.
Installation¶
Download the installation script.
curl -s https://lmio.blob.core.windows.net/library/lmio-collector/install-ubuntu2204.sh -o install-lmio-collector.sh
Run the script.
sudo bash install-lmio-collector.sh
Run the script again to reconfigure the collector
The script creates the configuration and data folders.
Re-run the script to change installation options. Configuration files are overwritten. Data files are not moved or removed when rerunning the script.
Options¶
-c CONF_DIR— Configuration directory. Default:/etc/lmio-collector.-d DATA_DIR— Data directory. Default:/var/lib/lmio-collector.-l LOGMAN_URL— LogMan.io URL. Default:https://app.logman.io.-t CONTAINER_TAG— Container tag. Default:stable.-i— Skip TLS certificate verification (useful for self-signed certificates).-n— Skip installing the daily update cron job.-h— Show the script help message.
Examples¶
# Install with default settings
install-lmio-collector.sh
# Install with a custom configuration directory
install-lmio-collector.sh -c /conf
# Install with a custom LogMan.io instance URL
install-lmio-collector.sh -l https://logman.example.com
# Install without the daily update cron job
install-lmio-collector.sh -n
# Install with TLS verification disabled (for self-signed certificates)
install-lmio-collector.sh -i
# Install with all custom settings applied
install-lmio-collector.sh -c /conf -d /data -l https://logman.example.com -t v25.30 -i -n