Skip to content

Instantly share code, notes, and snippets.

@crapthings
Last active April 5, 2016 17:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crapthings/b7c74b81a672be8dd5a6 to your computer and use it in GitHub Desktop.
Save crapthings/b7c74b81a672be8dd5a6 to your computer and use it in GitHub Desktop.
linux cheat sheet
http://devo.ps/blog/troubleshooting-5minutes-on-a-yet-unknown-box/
http://devo.ps/blog/basic-setup-for-a-new-linux-server/
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
netstat -plutn
iptables -F
iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
### centos 6.2 to 6.6
http://wpguru.co.uk/2014/02/how-to-fix-yum-update-failure-blaming-qpid-cpp/
yum check-update
yum erase qpid-cpp-server
yum erase qpid-cpp-client
yum install qpid-cpp-server qpid-cpp-client
yum -y upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment