Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Setting up NFS on Ubuntu

Pre-Installation Setup

 

None of the following pre-installation steps are strictly necessary.

 

User Permissions

 

NFS user permissions are based on user ID (UID). UIDs of any users on the client must match those on the server in order for the users to have access. The typical ways of doing this [...]

NFS Server and Client Configuration in Ubuntu

NFS was developed at a time when we weren’t able to share our drives like we are able to today – in the Windows environment. It offers the ability to share the hard disk space of a big server with many smaller clients. Again, this is a client/server environment. While this seems like a standard [...]

Using ATA Over Ethernet On Debian Etch

Imagine you have a machine with all of its disk full and another with unused gigabytes, and you don’t want to move the data from one to the other. Why not using the second’s disk on the first, you can do it with iSCSI but you can do it with ATA over Ethernet (AoE) too. [...]

ติดตั้ง smartmontools บน ubuntu

ทดสอบใช้กับ ubuntu 8.04 ต้นฉบับจาก http://smartmontools.sourceforge.net/ ใช้สำหรับอ่านค่าคุณสมบัติต่างๆของ hard disk ต้องตั้งค่า BIOS ของ PC ให้รองรับคุณสัมบัติ S.M.A.R.T hard disk ด้วย

 

ติดตั้งด้วยคำสั่ง  sudo apt-get install smartmontools ในขั้นต้นให้ตรวจสอบว่าใน PC มี hard disk กี่ลูก ด้วยคำสั่ง sudo fdisk -lตัวอย่างนี้เป็นแบบง่ายๆ มี hard disk ลูกเดียว Disk /dev/hda: 20.4 GB, 20404101120 bytes 255 heads, 63 sectors/track, 2480 cylinders Units = cylinders of 16065 [...]

Total-Max-Octets

Summary of what I did for the Limit by Octets module. ( Softcap )

1.) Add this to the freeradius dictionary file:

$INCLUDE    dictionary.chillispot

/etc/freeradius/dictionary and copy the dictionary file in this directory:

2.) Define the module (in radius.conf)

sqlcounter volumelimitcounter { counter-name = Total-Max-Octets check-name = Max-Octets reply-name = ChilliSpot-Max-Total-Octets sqlmod-inst = sql key [...]

Rlm sqlcounter

Pre-requisites

Make sure to have configured radiusd with rlm_sqlcounter installed. If you are using FreeRadius version 1.1.0 or newer then Rlm_sqlcounter is installed by default.

Make sure to have radiusd running properly under sql and there must be a “sql” entry under accounting{ } section of radiusd.conf

[...]

ATAOverEthernet

เป็นระบบการทำงานที่คล้าย iSCSI แต่มีความซับซ้อนน้อยกว่า  เป็นการ share ข้อมูลผ่านระบบเครือข่าย ที่ให้ประสิทธิภาพสูงกว่า SAMBA .. ลองใช้แล้วกลับมาให้ข้อมูลกันด้วยนะครับ

[...]

การจัดตั้ง Apache2-SSL part2

 

[...]

การจัดตั้ง Apache2-SSL part1

 

[...]

โดน bomp phpBB

ในช่วง 1-2 เดือนที่ผ่าน มีปัญหา web server ทำงานช้า รวมทั้งได้ไปแก้ไขปัญหา web server ให้ SSKRU

จากสิ่งที่พบคือ mysql มี query ที่ผิดปกติ โดยเป็นการเรียกเช้ามายัง script ของ CMS ซึ่งทั้งหมดมาจากต่างประเทศ (ไม่ใช่ ip ในประเทศ) จึงได้แก้ไขปัญหาโดยการ block ip ต่างประเทศ .. ซึ่งเป็นการแก้ไขที่ปลายเหตุ .. แต่ได้ผลดี

วันนี้มีปัญหากับ server ของตัวเอง (hosting21) ซึ่งปกติใช้งานได้ดีมาโดยตลอด จากการตรวจสอบว่า host ที่โดนโจมตีคือ hwk.ac.th และ blisspubblishing.co.th โดยมีการ post ข้อความเข้าไปมากมาย ตาราง phpbb_posts และ phpbb_posts_text (มีขนาด table ประมาณ 500MB) [...]

Page 2 of 512345