GithubHelp home page GithubHelp logo

mdeps / linux-kernel-tuning-and-hardening Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minhdanh/linux-kernel-tuning-and-hardening

0.0 1.0 0.0 200 KB

Bash script for optimizing performance and hardening Linux kernel.

Shell 100.00%

linux-kernel-tuning-and-hardening's Introduction

Linux-Kernel-Tuning-and-Hardening

Bash script for optimizing performance and hardening Linux kernel by adjusting the kernel parameters. It is self-explained and not supposed to be a one-thing-fit-all script. You should see the script for yourself and adjust the values for your need. Use it with caution.

Usage

1. Download the script to a folder on your Linux machine (eg.: /root/scripts/), then execute it
wget https://raw.github.com/minhdanh/Linux-Kernel-Tuning-and-Hardening/master/kernel_hardening_tuning.sh
chmod +x kernel_hardening_tuning.sh
./kernel_hardening_tuning.sh
2. Allow the script to run everytime the system starts
vim /etc/rc.local

# Add the following line:
/root/scripts/kernel_hardening_tuning.sh

References

I made the script using the following sources:

  1. http://docs.oracle.com/cd/E19644-01/817-5051/pt_tuningos.html#wp62221
  2. http://www.netadmintools.com/art295.html
  3. https://cs.uwaterloo.ca/~brecht/servers/openfiles.html
  4. http://www.nateware.com/linux-network-tuning-for-2013.html
  5. http://www.lognormal.com/blog/2012/09/27/linux-tcpip-tuning/
  6. http://aiscaler.com/wiki/linux-tuning-for-high-performance
  7. http://www.cyberciti.biz/faq/linux-tcp-tuning/
  8. https://www.frozentux.net/ipsysctl-tutorial/ipsysctl-tutorial.html
  9. http://www.susegeek.com/networking/network-performance-fine-tuning-in-opensuse-suse/

Feel free to make it better. Pull requests are welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.