From acf23ba14ee023f919f0629624018762e759b4ce Mon Sep 17 00:00:00 2001 From: LUIS_9799 <68512719+LUIS9799@users.noreply.github.com> Date: Fri, 21 Oct 2022 19:49:36 -0500 Subject: [PATCH] Installation commands clearer Using ```bash ``` in order to make it fancy and clearer, also modified some steps in order to make it more specific and clarify that the script only runs if executed by root. --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index de7c40a..8935821 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,19 @@ ### ⚙️ How its works? The `/etc/sysctl` file allows modifying kernel parameters and making them persistent. We can use these parameters to protect our server against DDoS attacks or even get more performance from it. -### 📦 Installation -1. Clone the repository. -2. Use in terminal `chmod 750 ./install.sh` -3. Run the install.sh script using `sh ./install.sh` +### 📦 Installation (Please run it as root) +1. Clone the repository: +```bash + git clone https://github.com/nfense/kernel-tweaks.git +``` +2. Use in terminal in order to modify file permissions: +```bash + chmod 750 ./install.sh +``` +3. Run the install.sh shell script using: +```bash + sh install.sh +``` ### ❤️ Contribute If you want to contribute changes to the project, you are welcome to do so. Simply create a PR by submitting your changes and after reviewing and testing it, it will be accepted.