Noyzi!!a’s Blog


Gentoo - FreeRadius and MySQL

Posted in Gentoo, Linux by Noyzi!!a on the May 31st, 2007

การติดตั้ง FreeRadius บน Gentoo Linux โดยใช้ MySQL เป็นฐานข้อมูลครับ

install freeradius

USE=”mysql” emerge -av freeradius

สร้างฐานข้อมูลสำหรับเก็บข้อมูลของ freeradius โดยในที่นี้เราใช้ชื่อฐานข้อมูลว่า radius

mysql -u root -p
CREATE DATABASE radius;

ในที่นี้ผมใช้ root นะครับถ้าใครต้องการสร้าง user ให้ใช้งานได้อีกก็เพิ่มข้างล่างนี้ลงไป

GRANT ALL PRIVILEGES ON radius.* to ‘radiususer’@'localhost’ IDENTIFIED BY ‘radiuspass’;

จากนั้นก็สร้าง tables โดยใช้ sql script จาก freeradius นะครับโดยจะอยุ่ที่ /usr/share/doc/freeradius-<–version–>/examples/mysql.sql

cat /usr/share/doc/freeradius-1.1.3-r2/examples/mysql.sql | mysql -u radiususer -p radius

จากนั้นแก้ไขไฟล์ /etc/raddb/sql.conf ให้ตรงตามค่าที่เราใช้

# Connect info
server = “localhost”
login = “root”
password = “**********************”
# Database table configuration
radius_db = “radius”

จากนั้นแก้ไฟล์ /etc/raddb/radiusd.conf ให้เลือกใช้ sql ในการตรวจสอบ
อันคอมเม้นบรรทัด sql ออก

accounting {
unix
radutmp
sql
}

อ้างอิงจาก
http://gentoo-wiki.com/HOWTO_Chillispot_with_FreeRadius_and_MySQL

http://gotoknow.org/blog/linux/5905

Lambda Probe for Apache Tomcat

Posted in tomcat by Noyzi!!a on the May 31st, 2007

Lambda Probe for Apache Tomcat

Lambda Probe (formerly known as Tomcat Probe) - the ultimate tool for monitoring and management of Apache Tomcat instance in real time. Lambda Probe will help you to visualise real time information about Apache Tomcat instance via easy to use and friendly web interface.

 

screenshot

Cluster stats Tailing log file

http://www.lambdaprobe.org/

Use Java Convert HTML content to PDF format

Posted in Java by Noyzi!!a on the May 25th, 2007

www sapazupzip com

Posted in จับฉ่าย by Noyzi!!a on the May 24th, 2007

เอาหน้าเว็บของ สภาซุบซิบมาให้ดู

สวยชะมัด ดูตรงภาพ MICT ซิ ศิลปะ มาก