Skip to content

Instantly share code, notes, and snippets.

View TuserSheikh's full-sized avatar
🏠
Working from home

Md Tuser Sheikh TuserSheikh

🏠
Working from home
View GitHub Profile
@TuserSheikh
TuserSheikh / full-setup-18
Created April 21, 2019 03:24
startup for ubuntu
#!/usr/bin/env bash
if [[ -z `grep "net.ipv6.conf.all.disable_ipv6 = 1" /etc/sysctl.conf` ]]; then
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
fi
sudo sysctl -p