<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>Blog.A-Days.com</title>
	<link>http://blog.a-days.com</link>
	<description>Unix Linux FreeBSD Ubuntu Dabian Centos VMware</description>
	<lastBuildDate>Mon, 17 May 2010 08:37:33 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>FreeBSD : Compile Kernel for IPFW &amp; Install FAMP on FreeBSD 8.0</title>
		<description>Compile Kernel for IPFW

#cd /usr/src/sys/amd64/config
#cp GENERIC ALPINE
#vi ALPINE </description>
		<link>http://blog.a-days.com/index.php/2010/05/17/freebsd-compile-kernel-for-ipfw-install-famp-on-freebsd-80/</link>
			</item>
	<item>
		<title>บันนังสตา บ้านเกิดของฉัน ร่วมไว้อาลัยแด่การจากไปของจ่าเพียร นักสู้แห่งเทือกเขาบูโด</title>
		<description>ผมเป็นคนนึงที่ได้อ่านข่าวเกี่ยวกับการจากไปอย่างไม่มีวันกลับของ พ.ต.อ.สมเพียร เอกสมญา "จ่าเพียร นักสู้แห่งเทือกเขาบูโด" แล้วรู้สึกสลด หดหู่ใจอย่างบอกไม่ถูก จะด้วยเหตุผลกลใด ก็ตามที่ทำให้ท่านไม่ได้ย้ายหรืออะไรก็แล้วแต่ แต่วันนี้เราเสียผู้กล้าอีกคนนึง ที่ยอมสละชีวิตเพื่อปกป้องอธิปไตยของประเทศ เพื่อคนในจังหวัดชายแดนใต้ได้ปลอดภัย เพื่อความสงบสุขแก่พี่น้องชาวไทย วันนี้ท่านได้จากไปแล้ว เพื่อที่จะไปพักผ่อนซักที ขอให้ดวงวิญญาณของท่านจงสู่สุขติครับ

 </description>
		<link>http://blog.a-days.com/index.php/2010/03/16/%e0%b8%9a%e0%b8%b1%e0%b8%99%e0%b8%99%e0%b8%b1%e0%b8%87%e0%b8%aa%e0%b8%95%e0%b8%b2-%e0%b8%9a%e0%b9%89%e0%b8%b2%e0%b8%99%e0%b9%80%e0%b8%81%e0%b8%b4%e0%b8%94%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b8%89%e0%b8%b1/</link>
			</item>
	<item>
		<title>Stat Plesk not update</title>
		<description>เนื่องจากวันนี้เจอปัญหา stat ของ Plesk ที่หน้า Control Panel ไม่อัพเดต เพราะลองเข้าไปดูที่ Server โดย SSH เข้าไปตรวจสอบดูก็ใช้พื้นที่ไม่เกิน แต่หน้า Control Panel แจ้งว่าเกินซะงั้น!! ทำไงๆ ก็พึ่งใบบุญของพี่ Google อีกตามเคย ไปเจอข้อความในบอร์ดของ Swsoft นั่นล่ะเลยลองทำตามวิธีนี้ดู

#/usr/local/psa/admin/sbin/statistics

เป็นการสั่งให้ Plesk กวาด Stat มาใหม่ โอ้วบร๊ะเจ้า มันทำได้จริงๆ จบไปอีก 1 เคส

ref : http://forum.parallels.com/showthread.php?t=67349 </description>
		<link>http://blog.a-days.com/index.php/2010/02/10/stat-plesk-not-update/</link>
			</item>
	<item>
		<title>How to install memcached on FreeBSD 7.2</title>
		<description>Memcached คืออะไร
Memcached คือการทำ cache บน memory ที่เพื่อให้สามารถเข้าใช้งานได้โดยง่ายและรวดเร็วเพื่อลดการ query ไปที่ database และเพิ่มประสิทธิภาพในการทำงานของ application

Install memcached
#cd /usr/ports/databases/memcached
#make install clean
#vi /etc/rc.conf
[...]
memcached_enable="yes"
memcached_flags="-l 127.0.0.1 -d -m 512 -p 11211"

#/usr/local/etc/rc.d/memcached start

ทดสอบการทำงาน
#ps -aux &#124; grep memcached
ps -aux &#124; grep memcached
nobody  9788  0.7  0.9 77428 72132  ??  Ss    3:37PM   0:26.16 /usr/local/bin/memcached -l 127.0.0.1 -d -m 512 -p 11211 -d ...</description>
		<link>http://blog.a-days.com/index.php/2009/12/04/how-to-install-memcached-on-freebsd-72/</link>
			</item>
	<item>
		<title>ป้องกัน DDoS โดย mod_evasive</title>
		<description>Installation of mod_evasive


#aptitude install libapache2-mod-evasive

Edit /etc/apache2/mods-available/mod-evasive.load and add.

[...]

&#60;IfModule mod_evasive20.c&#62;
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 600
&#60;/IfModule&#62;

Restart WebServer
#/etc/init.d/apache2 restart

Test By
# perl /usr/share/doc/libapache2-mod-evasive/examples/test.pl

HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 ...</description>
		<link>http://blog.a-days.com/index.php/2009/11/27/%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-ddos-%e0%b9%82%e0%b8%94%e0%b8%a2-mod_evasive/</link>
			</item>
	<item>
		<title>ค่า Dns Server ของ Opendns,TT&amp;T,True and CAT Hinet</title>
		<description>OpenDns : Primary DNS Server ( 208.67.222.222) หรือ Secondary DNS Server (208.67.220.220 )
TT&#38;T : Primary DNS Server (203.130.159.20) หรือ Secondary DNS Server (203.130.159.21)
True : Primary DNS Server ( 203.144.207.29 ) หรือ Secondary DNS Server ( 203.144.207.49 )
CAT Hinet : Primary DNS Server ( 202.129.27.135 ) หรือ Secondary DNS Server ( ...</description>
		<link>http://blog.a-days.com/index.php/2009/11/20/%e0%b8%84%e0%b9%88%e0%b8%b2-dns-server-%e0%b8%82%e0%b8%ad%e0%b8%87-opendnsttttrue-and-cat-hinet/</link>
			</item>
	<item>
		<title>please set variable USE_NONDEFAULT_X11BASE</title>
		<description>หลังจาก Upgrade ports ของ FreeBSD ใหม่ คราวนี้จะลงโปรแกรมผ่าน port กลับได้ Error ที่ไม่ค่อยอยากได้เท่าไหร่มาอันนึง ดังนี้
" On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set ...</description>
		<link>http://blog.a-days.com/index.php/2009/10/27/please-set-variable-use_nondefault_x11base/</link>
			</item>
	<item>
		<title>Starting and Stopping Sendmail with FreeBSD</title>
		<description>To stop sendmail:

cd /etc/mail
make stop

To start sendmail:

cd /etc/mail
make start

To restart sendmail:

cd /etc/mail
make restart

To get sendmail to regenerate aliases, the virtual user table and other stuff, run make on its own like so:

cd /etc/mail
make

After running "make" on its own, sendmail automatically  reads all the files so you shouldn't need to ...</description>
		<link>http://blog.a-days.com/index.php/2009/10/07/starting-and-stopping-sendmail-with-freebsd/</link>
			</item>
	<item>
		<title>How to install Zend Optimizer on Plesk 7.5.4</title>
		<description># cd /usr

# fetch http://files.directadmin.com/services/customapache/ZendOptimizer-3.3.3-freebsd6.0-i386.tar.gz

# tar zxvf ZendOptimizer-3.3.3-freebsd6.0-i386.tar.gz

# cd ZendOptimizer-3.3.3-freebsd6.0-i386

# ./install-tty

Please, wait ...

Welcome to the Zend Optimizer 3.2.8 Installation!

For more information regarding this procedure, please see the
Zend Optimizer Installation Guide.

[To continue, press Enter]

Do you accept the terms of this license?
Answer (yes or no) [YES]:

Please specify the location for installing Zend ...</description>
		<link>http://blog.a-days.com/index.php/2009/10/06/how-to-install-zend-optimizer-on-plesk-754/</link>
			</item>
	<item>
		<title>How to install Mod_Evasive on Plesk 7.5.4</title>
		<description># cd /usr

# fetch http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz

# tar zxvf mod_evasive_1.10.1.tar.gz

#cd mod_evasive

#cp /usr/local/psa/apache/conf/httpd.conf /usr/local/psa/conf/httpd.conf_org

#/usr/local/psa/apache/bin/apxs -cia mod_evasive20.c

#vi /usr/local/psa/apache/conf/httpd.conf

[...]

#### Mod Evasive ####

include conf/mod_evasive20.conf

#vi /usr/local/psa/apache/conf/mod_evasive20.conf

If you are adding the is module to apache 1.3.x the following lines need to   be added to the httpd.conf below the AddModule section.

&#60;IfModule mod_evasive.c&#62;
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod ...</description>
		<link>http://blog.a-days.com/index.php/2009/10/06/how-to-install-mod_evasive-on-plesk-754/</link>
			</item>
</channel>
</rss>

