This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iptables -L -n | awk '$1=="REJECT" && $4!="0.0.0.0/0" {print $4}' | grep 172 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo fallocate -l 4G /swapfile | |
| sudo chmod 600 /swapfile | |
| sudo mkswap /swapfile | |
| sudo swapon /swapfile | |
| check it out – more memory in swap! | |
| Now make the swap work better. Add a line to this file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| du -h / | grep '[[:digit:]]G\b' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download AMD driver and SDK | |
| cd /tmp | |
| sudo apt-get update && sudo apt-get upgrade | |
| sudo apt-get install p7zip-full | |
| # Install AMD Driver | |
| wget --referer="http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx" https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.50-362463.tar.xz | |
| 7z x amdgpu-pro-16.50-362463.tar.xz && 7z x amdgpu-pro-16.50-362463.tar | |
| chmod +x amdgpu-pro-16.50-362463/amdgpu-pro-install | |
| sudo amdgpu-pro-16.50-362463/amdgpu-pro-install |
NewerOlder