Linux

usermod

On CentOS, the wheel group allows users in this group to run commands as user root with sudo. To add a user…

lftp

Download files Download all files from FTP server using lftp Download all files from SFTP server using lftp Upload files Upload all…

load

Load Testing Here are some commands used to investigate server load/performance issue. uptime free -m top atop htop Checking logs dmesg |…

SSH

SSH Connection Errors SSH ProxyJump (Jump Host/bastion host) SSH Errors SSH Protect SSH Configuration Options Only allow a specific user to login.…

discourse

Discourse store data in folder /var/discourse/shared/standalone root@forum:/var/discourse/shared/standalone# ll total 48 drwxr-xr-x 12 root root 4096 Jan 24 05:04 ./ drwxr-xr-x 4 root…

memcached

limit_maxbytes – maximum memory allowed. To change this, edit /etc/memcached.conf, change -n option. bytes – currently used memory. evictions – number of…

MySQL Backup using mysqldump

Create file mkdir /usr/serverok/ vi /usr/serverok/mysqldump-backup.sh Add #!/bin/bash # Author: Yujin Boby # Email: admin@serverok.in # Web: https://serverok.in/mysqldump-backup DB_BACKUP=”/home/serverok-mysql-backup/`date +%Y-%m-%d`” mkdir -p…

speedtest

https://gtmetrix.com https://tools.pingdom.com https://developers.google.com/speed/pagespeed/insights/ Test network performance with iperf Install SpeedTest cli on Ubuntu