Facebook - mạng xã hội quen thuộc với cộng đồng dân cư mạng
Tuesday, October 19, 2010
Những công nghệ sử dụng trên Facebook
Là một trong những mạng xã hội có số lượng thành viên lớn nhất thế giới, Facebook phải sử dụng những công nghệ cực kì hiện đại mới có thể vận hành cỗ máy khổng lồ như vậy.
Facebook - mạng xã hội quen thuộc với cộng đồng dân cư mạng
Facebook - mạng xã hội quen thuộc với cộng đồng dân cư mạng
Thursday, October 7, 2010
Kiểm tra thông tin phần cứng trên Linux bằng dmidecode Command
dmidecode - đọc bảng DMI của hệ thống và hiển thị thông tin về phần cứng và BIOS
Ngoài /proc/cpuinfo, /proc/meminfo, lshw, ... lệnh này sẽ hữu ích trong một số trường hợp.
Ngoài /proc/cpuinfo, /proc/meminfo, lshw, ... lệnh này sẽ hữu ích trong một số trường hợp.
Wednesday, October 6, 2010
Bí kíp cảm thụ nhạc cổ điển
Với một bài văn là con thuyền “chở” ý thì bản nhạc tự nó đến với ta, không nhờ ai “chở” đi và có thể cũng không “chở” ai đi. Chúng ta thưởng thức bản thân âm thanh chứ không thưởng thức cái mà âm thanh mang đến.
Tuesday, October 5, 2010
OpenSSH SFTP with ChrootDirectory step by step
1- Cài đặt các gói hổ trợ
yum install --exclude=*.i386 gcc openssl-devel pam-devel rpm-build
2- Download các gói và import key
wget http://ftp.bit.nl/mirror/openssh/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz.asc
wget -O- http://mirror.anl.gov/openssh/portable/DJM-GPG-KEY.asc | gpg --import
gpg openssh-5.2p1.tar.gz.asc
yum install --exclude=*.i386 gcc openssl-devel pam-devel rpm-build
2- Download các gói và import key
wget http://ftp.bit.nl/mirror/openssh/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz.asc
wget -O- http://mirror.anl.gov/openssh/portable/DJM-GPG-KEY.asc | gpg --import
gpg openssh-5.2p1.tar.gz.asc
Sunday, October 3, 2010
Turn off some commonly unneeded services
Keeping a server appliance healthy can often mean nothing more than getting rid of services that absorb resources. These services are things that are installed by default, but are not used. Here is a quick BASH script to turn off some commonly unneeded services. While I titled this post Centos 5.x, you should be able to use it with most any distro that makes use of /etc/init.d/SCRIPT scripts.
Friday, October 1, 2010
Chống DOS đơn giản dạng SYN attack
If you want to block an ip when it reaches a limited number of connections then here is your solution
This script limits to 100 connections and on port 80, you can change both of them and run this at cron on every 1 minute.
#!/bin/bash
#Collecting list of ip addresses connected to port 80
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 > /root/blocked.ip.txt
This script limits to 100 connections and on port 80, you can change both of them and run this at cron on every 1 minute.
#!/bin/bash
#Collecting list of ip addresses connected to port 80
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 > /root/blocked.ip.txt
Sunday, September 26, 2010
Có tiền đầu tư vào đâu?
Bất động sản chưa tan băng, thị trường chứng khoán chưa có nhiều khởi sắc, trong khi giá USD đang dần ổn định sau đợt điều chỉnh tỷ giá tháng 8-2010. Liệu tiết kiệm và vàng có là kênh đầu tư hút tiền trong thời gian tới?
Subscribe to:
Comments (Atom)