Bài đăng phổ biến
-
yum install install libxml2-devel Nguyen Si Nhan
-
How to create a bot to automate daily tasks using Slack Nguyen Si Nhan 1. Setting Up Your Slack App Create a Slack App: Sign in to your Sla...
Tuesday, May 8, 2012
Deny all IP access to port assigned exclude my IP
In my exaple is port 25 and my ip is 1.2.3.4:
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP
Finish!
Nguyen Si Nhan
Thursday, May 3, 2012
Run a program background on Linux
You just type more > /dev/null & :
ie: ls > /dev/null &
Nguyễn Sĩ Nhàn
ie: ls > /dev/null &
Nguyễn Sĩ Nhàn
Timezone with graphite
You just edit file wepapp/graphite/setting.py change line(or uncomment ),in my case i change such as:
TIME_ZONE = 'Asia/Ho_Chi_Minh'
Nguyen Si Nhan
TIME_ZONE = 'Asia/Ho_Chi_Minh'
Nguyen Si Nhan
Subscribe to:
Posts (Atom)