Last active
April 5, 2016 17:09
-
-
Save crapthings/b7c74b81a672be8dd5a6 to your computer and use it in GitHub Desktop.
linux cheat sheet
This file contains 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
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