Skip to content

Instantly share code, notes, and snippets.

View manh-trinhquoc's full-sized avatar
🏠
Working from home

Trinh Quoc Manh manh-trinhquoc

🏠
Working from home
  • Ha Noi, Vietnam
View GitHub Profile
@mirajehossain
mirajehossain / ubuntu-server-hardening.md
Last active November 15, 2024 08:40
ubuntu-server-hardening checklist

Ubuntu-Server-Hardening

1. Secure Shared Memory

What is shared memory?

Shared memory is an efficient means of passing data between programs. Because two or more processes can use the same memory space, it has been discovered that, since shared memory is, by default, mounted as read/write, the /run/shm space can be easily exploited. That translates to a weakened state of security.

If you’re unaware, shared memory can be used in an attack against a running service. Because of this, you’ll want to secure that portion of system memory.

@vinodpandey
vinodpandey / MySql-5.6-installation guide.md
Last active October 4, 2024 07:39
Install MySQL 5.6.xx on Ubuntu 18.04 & Ubuntu 20.04

MySQL Download URL

https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R