MongoDB Basic Commands
Login to instance mongosh “mongodb://hostname_of_mongo:27017” –username XXXXXXXX –authenticationDatabase admin Change Database use admin Create user…
Read MoreLogin to instance mongosh “mongodb://hostname_of_mongo:27017” –username XXXXXXXX –authenticationDatabase admin Change Database use admin Create user…
Read More/usr/bin/mysqldump –single-transaction –lock-tables=false mydb | gzip > /var/mydb.sql.gz
Read MoreMySQL server package installation: Install package: wget https://dev.mysql.com/get/mysql-apt-config_0.8.28-1_all.deb dpkg -i mysql-apt-config_0.8.28-1_all.deb *During the installation, you…
Read MoreTo set commands to run after leaving ssh session: You can now safely log off…
Read MoreUpgrade Debian 11 to Debian 12 BookwormThe procedure is as follows: sudo apt update Prepare…
Read MoreUse this template to get IO data. Installation: wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/userparameter_diskstats.conf -O /etc/zabbix/zabbix_agentd.d/userparameter_diskstats.conf wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/lld-disks.py-O /usr/local/bin/lld-disks.py…
Read MoreUbuntu 22.04 – method 1 Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT like…
Read More1.Login to Server and run the following commands for key creation mkdir /zabbix_keyopenssl rand -hex…
Read MoreStep 1 — Installing Certbot Certbot recommends using their snap package for installation. Snap packages…
Read MoreNTP stands for Network Time Protocol. It is a protocol or service used to synchronize…
Read More