วันอังคารที่ 5 กุมภาพันธ์ พ.ศ. 2556

ประเทศสมาชิกอาเซียน




ธงชาติ        ตราแผ่นดิน

ชื่อทางการ : เนการา บรูไน ดารุสซาลาม (Negara Brunei Darussalam แปลว่า ดินแดนแห่งความสงบสุข)
ที่ตั้ง : ทางตะวันตกเฉียงเหนือของเกาะบอร์เนียว (ละติจูดที่ 5 เหนือเส้นศูนย์สูตร) แบ่งเป็นสี่เขต คือ เขต Brunei-Muara เขต Belait เขต Temburong และเขต Tutong
พื้นที่ : 5,765 ตารางกิโลเมตร โดยพื้นที่ร้อยละ 70 เป็นป่าไม้เขตร้อน
เมืองหลวง : บันดาร์ เสรี เบกาวัน (Bandar Seri Begawan)
ประชากร : 370,00 คน (2548) ประกอบด้วย มาเลย์ (66%) จีน (11%) และอื่น ๆ (23%) มีอัตราการเพิ่มของประชากรปีละ 2 %
ภูมิอากาศ : อากาศโดยทั่วไปค่อนข้างร้อนชื้น มีปริมาณฝนตกค่อนข้างมาก อุณหภูมิเฉลี่ย 28 องศาเซลเซียส
ภาษา : ภาษามาเลย์ (Malay หรือ Bahasa Melayu) เป็นภาษาราชการ รองลงมาเป็นภาษาอังกฤษและภาษาจีน
ศาสนา : ศาสนาประจำชาติ คือ ศาสนาอิสลาม (67%) ศาสนาอื่น ๆ ได้แก่ ศาสนาพุทธ (13%) ศาสนาคริสต์ (10%) และฮินดู
สกุลเงิน : ดอลลาร์บรูไน (Brunei Dollar : BND) อัตราแลกเปลี่ยนประมาณ (ซื้อ) 22.9 บาท/ 1 ดอลลาร์บรูไน (ขาย) 23.5 บาท/ 1 ดอลลาร์บรูไน (มกราคม 2552) (ค่าเงินบรูไนมีความมั่นคงและใช้อัตราแลกเปลี่ยนเดียวกับเงินสิงคโปร์ และสามารถใช้เงินสิงคโปร์ในบรูไนได้ทั่วไป)
ระบอบการปกครอง : สมบูรณาญาสิทธิราชย์ โดยมีสมเด็จพระราชาธิบดีฮัจญี ฮัสซานัลโบลเกียห์ มูอิซซัดดิน วัดเดาละห์ (His Majesty Sultan Haji Hassanal Bolkiah Mu’izzaddin Waddaulah) ทรงเป็นองค์พระประมุขของประเทศตั้งแต่วันที่ 5 ตุลาคม 2510

  • รัฐธรรมนูญฉบับวันที่ 1 มกราคม 2527 กำหนดให้สมเด็จพระราชาธิบดีทรงเป็นอธิปัตย์ คือ เป็นทั้งประมุขและนายกรัฐมนตรี
  • สมเด็จพระราชาธิบดีองค์ปัจจุบันยังทรงดำรงตำแหน่งรัฐมนตรีว่าการกระทรวงกลาโหมและรัฐมนตรีว่าการกระทรวงการคลังด้วย
  • ทั้งนี้ นายกรัฐมนตรีจะต้องเป็นชาวบรูไนฯ เชื้อสายมาเลย์โดยกำเนิด และจะต้องนับถือศาสนาอิสลามนิกายสุหนี่

วันอังคารที่ 16 มิถุนายน พ.ศ. 2552

The Perfect Desktop - Linux Mint 7 (Gloria)


This tutorial shows how you can set up a Linux Mint 7 (Gloria) desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge. Linux Mint 7 is a Linux distribution based on Ubuntu 9.04 that has lots of packages in its repositories (like multimedia codecs, Adobe Flash, Adobe Reader, Skype, Google Earth, etc.) that are relatively hard to install on other distributions; it therefore provides a user-friendly desktop experience even for Linux newbies.

http://www.howtoforge.com/the-perfect-desktop-linux-mint-7-gloria

วันจันทร์ที่ 15 มิถุนายน พ.ศ. 2552

The Perfect Server - Ubuntu 9.04 [ISPConfig 3]


This tutorial shows how to prepare an Ubuntu 9.04 server for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

http://www.howtoforge.com/perfect-server-ubuntu-9.04-ispconfig-3

Server Monitoring With munin And monit On CentOS 5.2

Server Monitoring With munin And monit On CentOS 5.2

Server Monitoring With munin And monit On CentOS 5.2

In this article I will describe how you can monitor your CentOS 5.2 server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.

http://www.howtoforge.com/server-monitoring-with-munin-and-monit-on-centos-5.2

Upgrade Ubuntu 8.04 To 8.10 Server

อัพเกรด Ubuntu เป็นเวอร์ชั่นใหม่ครับ ไม่กี่ขั้นตอนก็เสร็จแล้ว เริ่มทำกันเลย

sudo su

Then run

apt-get update

and install the package update-manager-core:

apt-get install update-manager-core

Open the file /etc/update-manager/release-upgrades…

nano /etc/update-manager/release-upgrades

[...]
Prompt=normal

do-release-upgrade

cat /etc/issue
Ubuntu 8.10 n l

หลังจากนั้นก็กด Yes yes No no ก็เสร็จเรียบร้อยแล้วครับ

วันอาทิตย์ที่ 14 ธันวาคม พ.ศ. 2551

How To Set Up A DHCP Server on Ubuntu

1.sudo apt-get install dhcp3-server
2.sudo vi /etc/default/dhcp3-server

Find this line
INTERFACES=”eth0″
Replace with the following line
INTERFACES=”eth1″
Save and exit.This is optional.

3. cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_orig
4. cat /dev/null > /etc/dhcp3/dhcpd.conf
5. vi /etc/dhcp3/dhcpd.conf

6. ----------------------------------------------------------------

ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.200 192.168.0.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

7. /etc/init.d/dhcp3-server restart

วันศุกร์ที่ 21 พฤศจิกายน พ.ศ. 2551

apt-get ผ่าน proxy

export http_proxy=http://myusername:mypassword@myproxy:myproxy_port

sudo apt-get update

sudo apt-get install xxx

วันพฤหัสบดีที่ 18 กันยายน พ.ศ. 2551

ใช้ ubuntu กู้ไฟล์ จากวินโดวส์เสียๆ

เคยไม๊ครับ ที่คุณใช้วินโดวส์แล้วมันเกิดพังขึ้นมา ทำอะไรไม่ได้ เข้าไม่ได้ ใช้งานไม่แต่ แต่เกิดว่ามีไฟล์สำคัญอยู่แล้วเกิดจะต้องใช้งานขึ้นมาอย่างเร่งด่วนเสียด้วย สิ จะทำยังไงดีล่ะ ก็ Howto นี้จะแนะนำเทคนิคเล็กๆ ในการใช้งาน Ubuntu เพื่อเข้าไปสำรองไฟล์จากวินโดวส์พังๆของคุณ ให้นำออกมาใช้งานได้ครับ แต่ให้ดี ถ้าเป็นไปได้ก็ใช้ ubuntu ไปเลยแหล่ะคับ ดีแล้ว http://www.ubuntuclub.com/node/1039

ปรับเวลาให้ตรง กับสถาบันมาตรวิทยาแห่งชาติ

วิธีปรับเวลา ใน ubuntu มาให้ดูง่ายๆครับ ถือว่าเก็บไว้เป็น reference

1. ไปที่ System >> Administration >> Time and Date
2. เลือก Time Zone >> Asia/Bangkok
3. Configuration : Keep synchronize with internet server
จากนั้นกด Select Server
4. เพิ่ม Server ต่อไปนี้ลงไป ในช่อง Add
time1.nimt.or.th
หรือ
time2.nimt.or.th
หรือ
time3.nimt.or.th
แล้วเลือก เอา Server อื่นๆ ออกครับ

จากนั้นก็ปิดออกมา เพียงเท่านี้ เครื่องของเราก็ได้เวลาตรงตามสถาบันมาตรวิทยาแห่งชาติแล้วครับ :)



วันศุกร์ที่ 12 กันยายน พ.ศ. 2551

Authentication, Authorization & Accounting with FreeRadius & MySQL backend & web based Management with Daloradius

Authentication, Authorization & Accounting With FreeRadius & MySQL Backend & Web Based Management with Daloradius

This tutorial explains how to set up a FreeRadius 2.x server for wifi authentication, authorization and accounting in conjunction with mysql & web based management with Daloradius on CentOS 5.x. Production deployment is also possible with minor tweaking. But as usual I do not guarantee anything & take no responsibilities. http://www.howtoforge.com/authentication-authorization-and-accounting-with-freeradius-and-mysql-backend-and-webbased-management-with-daloradius