Backup-Restore OpenLDAP If we have OpenLDAP running just the way we want, it is time to ensure we can save all of our work and restore it as needed. What we need is a way to backup the directory database(s), specifically the configuration backend (cn=config) and the DIT (dc=example,dc=com). If we are going to backup […]
Read MoreInstall OCSInventory on Debian 10
Install Apache ,ngnix or any your favourite web server, also install MariaDB. I prefer Apache2 so let’s go: apt install apache2 libapache2-mod-php libapache2-mod-perl2 libapache-dbi-perl libapache-db-perl php-soap php-curl php-json php-xml php-mbstring php-gd php-pclzip php-xmlrpc 2. Creating a new database for OCSInventory First access the MariaDB shell: mysql -u root -p And then, it creates the new […]
Read MoreVMware linux VM CPU and RAM hot-plug script
The script below will turn all CPU and RAM online for you.
Read MoreInstall MariaDB
installation guide consists of these three steps: sudo apt update sudo apt install mariadb-server sudo mysql_secure_installation sudo mysql MariaDB [(none)]> GRANT ALL ON *.* TO ‘admin’@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION; MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> exit
Read MoreESP8266 throttle with oled code
#include <Arduino.h> #include <U8x8lib.h> #ifdef U8X8_HAVE_HW_SPI #include <SPI.h> #endif U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE); const int analogInPin = A0; // ESP8266 Analog Pin ADC0 = A0 int sensorValue = 0; // value read from the pot int outputValue = 0; // value to output to a PWM pin int analogInput = A0; float Vout = 0.00; […]
Read MoreAudi A6 C7 VCDS and green menu tweaks
Try at own risk, I won’t be responsible if you make mistake 1. Enabling Gauge Test/Needle Sweep (already activated) This will sweep the needles of the speedometer and rev counter through their full range automatically when you start the engine. [Select] [17 – Instruments] [Coding – 07] [Long Coding Helper] Click on byte 1 and […]
Read MoreInstall Fail2ban on CentOS 7
While Fail2ban is not available in the official CentOS package repository, it is packaged for the EPEL project. EPEL, standing for Extra Packages for Enterprise Linux, can be installed with a release package that is available from CentOS: You will be prompted to continue—press y, followed by Enter: Now we should be able to install […]
Read MoreSimple Linux NAT server
All of these commands must be executed as the root user. First you need to tell your kernel that you want to allow IP forwarding. Then you’ll need to configure iptables to forward the packets from your internal network, on /dev/eth1, to your external network on /dev/eth0. You do this will the following commands: You […]
Read MoreUpdate nVidia drivers Debian Buster
How to install NVIDIA driver by using the official nvidia.com package step by step instructions Enable the non-free repository. As an administrative user open the /etc/apt/sources.list and add the non-free repository. For example change the repository definition: FROM: deb http://ftp.au.debian.org/debian/ buster main TO: deb-src http://ftp.au.debian.org/debian/ buster main non-free Once ready update the repository index files […]
Read More