sysctl -w net.ipv4.icmp_echo_ignore_all=1http://www.linuxarticles.org/2010/10/disable-ping-response-in-linux/
個人在學習Linux過程當中的個人筆記,提供個人及有需要的人查閱,若有錯誤歡迎提供指正,謝謝。 This Blog recorded notes about my learning Linux and provides myself and others reference. If there are any incorrect information, welcome to leave a message to correct me, Thanks.
2012年8月30日 星期四
Disable ping response in Linux
2012年8月29日 星期三
Install mongodb on Ubuntu
1. import public key
Reference: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB102. create /etc/apt/sources.list.d/10gen.list
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen3.
sudo apt-get update4.
sudo apt-get install mongodb-10gen
Reference: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/
tsocks
1. install epel first
http://fedoraproject.org/wiki/EPEL
1. insatll tsocks
http://fedoraproject.org/wiki/EPEL
1. insatll tsocks
yum install tsocks2. add file /etc/tsocks.conf
server = 127.0.0.1 server_type = 5 server_port = 12343. establish ssh tunnel
ssh -D 1234 user@xxx.remote.host4. wget with socks proxy
tsocks wget http://get.something5. you might want to unset the http_proxy variable
unset http_proxy
訂閱:
文章 (Atom)