Note: domainname —> replace with you domain namesudo apt remove postfix && apt purge postfixsudo apt install sendmailcd /etc/mailmkdir -m 700 -p /etc/mail/authinfonano /etc/mail/authinfo/authinfoadd line in that fileAuthInfo: “U:root@domainname.com” “I:root@domainname.com” …
Linux Server Administration
Install Postgresql sudo apt install postgresql postgresql-client sudo su – postgres psql ALTER USER postgres PASSWORD ‘postgres’; ALTER SYSTEM SET listen_addresses TO ‘*’; exit exitInstall PgAdmin4If Curl Command not Install …
This guide will walk you through the process of creating a bootable installation media for UbuntuTools and MaterialsUSB driveUbuntu OS Download iso fileImage writing software (e.g., Rufus)Select USB MediaSelect ISO …
In an era where online security is non-negotiable, encrypting data transmitted between web servers and users is imperative. Let’s Encrypt, a trusted Certificate Authority (CA), provides a seamless solution for …
How to filter FreeSWITCH CLI running calls log
To filter FreeSWITCH CLI running calls log, you can use the built-in command show channels concise followed by a pipe (|) and the grep command. Here’s how you can do it:Open the FreeSWITCH CLI …
Monitoring Calls with FreeSWITCH CLI: A Comprehensive Guide
The FreeSWITCH Command-Line Interface (CLI) provides powerful tools for monitoring and managing calls in your FreeSWITCH server. Whether you’re troubleshooting, gathering statistics, or simply keeping an eye on your system, …
How to Back Up and Restore MongoDB Simple 2 command MongoDB mongodump –> For dump all mongodbmongorestore –> For restore all mongodb You can also specify the –host and –port …
PostgreSQL Backup Database and restore How to backup and restore Database * Postgres dump all the Database pg_dumpall dumps all databases in given PostgreSQL installation. Everything goes there. Additionally, it …
Redis Server Migration with Data on another Linux server Copy all files on main server under /var/lib/redis Install redis-server on new serverafter installation stop the redis service systemctl status redis-serversystemctl …
Note: Replace yourdomain.com with you domainsudo supm2 install pm2-healthvim ~/.pm2/module_conf.json{“pm2-logrotate”: {“max_size”: “500M”,“retain”: “200”,“compress”: “true”,“dateFormat”: “YYYY-MM-DD_HH-mm-ss”,“workerInterval”: “30”,“rotateInterval”: “* * * * 30”,“rotateModule”: “true”},“module-db-v2”: {“pm2-logrotate”: {},“pm2-health”: {}},“pm2-health”: {“smtp”: {“host”: “mail.yourdomain.com“,“port”: 465,“user”: “notifications@yourdomain.com“,“password”: …