![]() Run the following queries to create a database and a database user for the LibreNMS installation. Provide the password for the MariaDB root user to log in. The questions asked are self-explanatory. ![]() Since we already set a strong password for the root user during installation, skip it by answering " N". You will be asked for the current MariaDB root password, and then be prompted to change the root password. ![]() sudo systemctl restart rviceīefore configuring the database, you will need to secure the MariaDB instance. Restart MariaDB and enable it to automatically start at boot time. sudo nano /etc/mysql/conf.d/mariadb.cnfĪdd the following code to the end of the file. sudo apt -y install mariadb-serverīefore we start using MariaDB, we will need to tweak the configuration a little bit. During installation, the installer will ask for the password of the MySQL root user. Sudo add-apt-repository 'deb xenial main' sudo apt-key adv -yes -recv-keys -keyserver hkp://:80 0xF1656F24C74CD1D8 Add the MariaDB repository into your system, as the default Ubuntu repository contains an older version of MariaDB. sudo ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime You will also need to change the system timezone by running the following command. Uncomment and use these values instead, replace Asia/Kolkata with your local timezone. sudo nano /etc/php/7.2/fpm/php.iniįind the following lines. Open the loaded configuration file in an editor. sudo apt -y install php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-mysql php7.2-snmp php7.2-mbstring php7.2-xml php7.2-zip zip unzip Install PHP version 7.2 along with the modules required by LibreNMS. sudo add-apt-repository -yes ppa:ondrej/php sudo systemctl start nginxĪdd and enable the Remi repository, as the default apt repository contains an older version of PHP. Start Nginx and enable it to start at boot automatically. In this tutorial, we will install Nginx along with PHP 7.2 to obtain maximum security and performance. The front end of LibreNMS is written in PHP, thus we will need to install a web server and PHP. Once your system has been updated, proceed to install the dependencies. Update your base system using the guide How to Update Ubuntu 16.04. Please make sure to replace all occurrences of the example domain name with the actual one. Prerequisitesįor this tutorial, we will use as the domain name pointed towards the Vultr instance. It has a customizable alerting system which can alert the network admin via email, IRC or slack. It supports multiple authentication mechanisms and supports two-factor authentication. A variety of devices are supported in LibreNMS such as Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more. ![]() ![]() It uses SNMP to obtain the data from different devices. LibreNMS is a full-featured open source network monitoring system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |