Code Monkey home page Code Monkey logo

bibgbangv1's Introduction

#Essential settings

Edit the system-wide limits in /etc/security/limits.conf or /etc/security/limits.d/ by adding or modifying lines like:

  •   soft    nofile  65536
    
  •   hard    nofile  65536
    

    You may also need to adjust the sysctl settings for fs.inotify.max_user_watches. Add or modify the following line in /etc/sysctl.conf:

fs.inotify.max_user_watches = 65536

Then, apply the changes with:

sudo sysctl -p

Needed for ECK to run correctly without OOM errors

echo 'vm.max_map_count=524288' | sudo tee -a /etc/sysctl.d/vm-max_map_count.conf

Alternatively can use (not persistent after restart):

sudo sysctl -w vm.max_map_count=524288

Needed by Sonarqube

echo 'fs.file-max=131072' | sudo tee -a /etc/sysctl.d/fs-file-max.conf

Alternatively can use (not persistent after restart):

sudo sysctl -w fs.file-max=131072

Also Needed by Sonarqube

ulimit -n 131072

ulimit -u 8192

Load updated configuration

sudo sysctl --load --system

Preload kernel modules, required by istio-init running on SELinux enforcing instances

sudo modprobe xt_REDIRECT

sudo modprobe xt_owner

sudo modprobe xt_statistic

Persist kernel modules settings after reboots

printf "xt_REDIRECT\nxt_owner\nxt_statistic\n" | sudo tee -a /etc/modules

Kubernetes requires swap disabled

Turn off all swap devices and files (won't last reboot)

sudo swapoff -a

# bibgbangv1

git clone https://github.com/webagebigbang/bibgbangv1.git

cd bibgbangv1

#running installprerequiste script

chmod +x installprereq.sh

./installprereq.sh

bibgbangv1's People

Contributors

webagebigbang avatar

Watchers

 avatar

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.