Posts Under Linux Category
เผอิญว่ายังไม่ชินกับการ config ใน freeradius 2.x ต้องยอมถอยกลับลงใช้ใน 1.1.7 ด้วยการ build source code เอง เหอะๆ ไม่เป็นไรยังไงก็ใช้แทนกันได้อยู่ ตอบ Requirement เราได้เหมือนกัน คราวนี้พอไปดูใน log ทำไมมันมีแต่การการเก็บค่าการร้องขอ package แต่ละ IP แล้วไหนหล่ะ การบันทึกค่าของคนที่เข้ามาขอการใช้งานใน radius ไม่เห็นมันจะมีแหะ ไปจัดการหาเลยแล้วกัน หัวใจหลักจะอยู่ที่ไฟล์นี้ครับ /etc/freeradius/radiusd.conf จากนั้นตามลงมาประมาณบรรทัดที่ 1137 ให้เอา comments ออก (#) ให้เหมือนข้อความนี้ detail auth_log { detailfile = ${radacctdir}/%{Client-IP-Address}/auth-detail-%Y$ # # This MUST be 0600, otherwise anyone can read # the users passwords! detailperm = 0600…
1. Check your media mount #df -h Assume your CD, DVD mount on /media/disc 2. Create ISO file #mkisofs -o myISO.iso /media/disc For more information about mkisofs use #man mkisofs
1. Go to edit sources.list sudo vi /etc/apt/sourceslist 2. Add following line deb http://linux.thai.net/debian unstable non-free contrib main deb-src http://linux.thai.net/debian unstable non-free contrib main deb http://debian.thaios.net/debian unstable non-free contrib main deb-src http://debian.thaios.net/debian unstable non-free contrib main deb http://ftp.coe.psu.ac.th/debian unstable non-free contrib main deb-src http://ftp.coe.psu.ac.th/debian unstable non-free contrib main 3. Save and quit 4. Update your apt source sudo apt-get update
วันนี้มีงานเปิดตัว Linux ตัวใหม่ ซึ่งทาง WTEC และ SIPA ได้นำ Linux Distribution ตัวหนึ่งเข้ามาในไทย ซึ่งผมก็ได้รับเชิญให้ไปร่วมงานครั้งนี้ด้วยครับ ซึ่งทาง SIPA ก็เกริ่นเอาไว้ว่า ปลายปีนี้จะมีงาน Open Source Expo. ครับ ให้บริษัทระดับ Enterprise ได้เลือกใช้ Linux กัน งานนี้เริ่มด้วย Intel มาแนะนำ Moblin เป็นโปรเจกต์ Open source ของทาง Intel เค้าซึ่งพูดเกี่ยวกับ Atom processor เป็นซะส่วนใหญ่ผมเดาว่า เค้าจะทำอุปกรณ์พวกพกพาสะดวกไม่ว่าจะเป็น netbook, mobile phone, PDA หรืออื่นๆ โดยใช้ชิพเซตจำพวก Atom และร่วมด้วย Moblin ซึ่ง Atom นี้จะมีข้อดีก็คือประหยัดพลังงาน (อาจเก็บรายละเอียดมาไม่ครบ เพราะว่าการบรรยายเป็นภาษาอังกฤษครับ) และแล้วพระเอกของงานก็ออกมานั่นก็คือ Asianux (เอเซียนัก) ตอนนี้ก็ปาเข้าไปเวอร์ชั่น 3 แล้ว ซึ่งเกิดจากการรวมตัวกันระหว่าง…
Install Apache with PHP (this is PHP 5.1.6): yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel edit /etc/httpd/conf/httpd.conf: vi /etc/httpd/conf/httpd.conf and change DirectoryIndex to [...] DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl [...] restart httpd service httpd restart
One day I want to use zimbra on https (by default its use on http) you can do with this instruction 1. log in to zimbra su – zimbra 2. change to https zmtlsctl https 3. restart zimbra zmcontrol stop zmcontrol star 4. You can access zimbra web mail by https://youurl.com
First you need to install clive and then you can download video from youtube, googlevideo and other by using command line. Download and install ball@notebook:$ sudo apt-get install clive Using by ball@notebook:$ clive http://www.youtube.com/URL
1. download from zimbra website # wget http://h.yimg.com/lo/downloads/5.0.11_GA/zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537.tgz 2. extract tar # tar xvzf zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537.tgz 3. install # cd zcs-5.0.11_GA_2695.DEBIAN4.0.20081117055537 # ./install.sh You will get result …
หลังจากที่ได้ทำการติดตั้ง rpc portmapper บนระบบ OS X ไปแล้ว คราวนี้ก็มาถึงเวลาของ Ubuntu ตัวโปรดซะที โดยฐานแล้วจะมีโปรแกรม rpcgen มาให้ (ผมใช้ ubuntu 7.10) แล้วก็ลองเขียนโปรแกรมดู หลังจากนั้นก็ลอง run ปรากฏว่า ต้องติดตั้งตัว port mapper ครับ ซึ่งทำดังนี้ 1. ใช้คำสั่ง $sudo aptitude install portmap 2. แค่นี้ก็ได้แล้ว ลองใช้คำสั่งนี้เช็คดูว่าทำงานรึยัง $rpcinfo -p ครับผม