load
Load Testing Here are some commands used to investigate server load/performance issue. uptime free -m top atop htop Checking logs dmesg |…
Load Testing Here are some commands used to investigate server load/performance issue. uptime free -m top atop htop Checking logs dmesg |…
SSH Connection Errors SSH ProxyJump (Jump Host/bastion host) SSH Errors SSH Protect SSH Configuration Options Only allow a specific user to login.…
Some times you may need to test if password authentication works for SSH and you have SSH key authentication already set. You…
Info needed for Certificate Signing Request (CSR) generation Generate CSR Here is oneliner For normal SSL, enter the domain without www. For…
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…
To convert putty PPK format file to Linux OpenSSL format, run puttygen SSH_KEY.ppk -O private-openssh -o SSH_KEY.pem To install puttygen, On CentOS…
limit_maxbytes – maximum memory allowed. To change this, edit /etc/memcached.conf, change -n option. bytes – currently used memory. evictions – number of…
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 gsutil Google Cloud SQL Google Cloud App Engine How to delete Google Cloud DNS Zone How to delete…
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 is part of Google Cloud SDK allow you to work with Google Cloud Storage. Configure Before you can use gsutil, run…