Blog

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…

Install Google Cloud SDK

To install Google Cloud SDK on Ubuntu/Debian, add repo export CLOUD_SDK_REPO=”cloud-sdk-$(lsb_release -c -s)” echo “deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main” > /etc/apt/sources.list.d/google-cloud-sdk.list Add Key…

gsutil

gsutil is part of Google Cloud SDK allow you to work with Google Cloud Storage. Configure Before you can use gsutil, run…