Skip to content

Instantly share code, notes, and snippets.

mudivili

Block or report user

Report or block mudivili

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Install bash-completion on Amazon Linux
## Install bash-completion on Amazon Linux
sudo yum install bash-completion --enablerepo=epel
sudo yum install git bash-completion
@mudivili
mudivili / gist:3f1f306f61cc46aa56f3690bb1a7c6c1
Created May 23, 2018 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
Increate max no of open files limit in Ubuntu 16.04 for Nginx
View gist:3f1f306f61cc46aa56f3690bb1a7c6c1
# maximum capability of system
user@ubuntu:~$ cat /proc/sys/fs/file-max
708444
# available limit
user@ubuntu:~$ ulimit -n
1024
# To increase the available limit to say 200000
user@ubuntu:~$ sudo vim /etc/sysctl.conf
@mudivili
mudivili / nginx
Created Aug 16, 2017 — forked from mockra/nginx
nginx config for static site
View nginx
server {
listen 80;
root /var/www/yourdomain.com/public;
index index.html index.htm;
server_name yourdomain.com;
location / {
default_type "text/html";
You can’t perform that action at this time.