-
ทดสอบ แม่ 143 algorithms audio bsd centos clock D-Day database download event file freeradius gui health hotspot2 intrepid ISAD itcamp java ldap life link_to linux love ntp project rails review ruby shell sleepless smf solaris ssl sukishi sun sysadmin the mall time ubuntu unix vpn web development
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
Tags
ทดสอบ แม่ 143 algorithms audio bsd centos clock D-Day database download event file freeradius gui health hotspot2 intrepid ISAD itcamp java ldap life link_to linux love ntp project rails review ruby shell sleepless smf solaris ssl sukishi sun sysadmin the mall time ubuntu unix vpn web development-
Pages
Categories
Archives
Tag Archives: linux
lsb_release : to print out the ubuntu release information
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty
change user’s shell
solution 1. edit /etc/passwd
or
solution 2. usermod -s /bin/bash user
wget problem [solved]
อยู่ดีดี wget ที่เคยใช้ download อะไรต่างๆนาๆ บน Linux/Unix Server ที่ไม่มี GUI
เกิดใช้ไม่ได้ขึ้นมาซะงั้น อาการก็เป็นแบบนี้อ่ะ
# wget http://awstats.sourceforge.net/awstats.ftp.urldetail.html
–04:17:37– http://awstats.sourceforge.net/awstats.ftp.urldetail.html
Resolving awstats.sourceforge.net… 216.34.181.96
Connecting to awstats.sourceforge.net|216.34.181.96|:80… connected.
HTTP request sent, awaiting response…
เหมือนจะ http request ผ่าน แต่ http response กลับไม่มาถึงซะงั้น
ก็เลย ลอง man wget ดูว่าัมันมี option อะไีรให้้ใช้บ้าง เพราะว่า ลอง download file เดียวกันจาก windows server
ที่อยู่บน subnet เดียวกันกับ เจ้า linux server ตัวนี้ มันดัน download ได้ เลยคิดว่าต้องเป็นที่ wget แน่ๆ
อ่าน [...]
Linux Performance Tuning (sysctl.conf)
1. timeout timewait parameter
Determines the time that must elapse before TCP/IP can release a closed connection and reuse its resources.
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
2. TCP_KEEPALIVE_INTERVAL
* Description: Determines the wait time between isAlive interval probes.
* How to view or set: Issue the following command to set the value:
echo 15 > /proc/sys/net/ipv4/tcp_keepalive_intvl
3. open file limit
ulimit -a
ulimit -n 8000
4.# [...]
ตั้งเวลาใน CentOS
date mmddhhmmyyyy
date 040203052009
เพิ่มเติม sync เวลาอัตโนมัติด้วย ntpdate
yum install ntp
chkconfig –levels 235 ntpd on
ntpdate 0.pool.ntp.org
service ntpd start
HTTPD mod_perl & mod_cgi