วันอาทิตย์ที่ 14 ธันวาคม พ.ศ. 2551
How To Set Up A DHCP Server on Ubuntu
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 กู้ไฟล์ จากวินโดวส์เสียๆ
ปรับเวลาให้ตรง กับสถาบันมาตรวิทยาแห่งชาติ
วิธีปรับเวลา ใน 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
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
วันพฤหัสบดีที่ 11 กันยายน พ.ศ. 2551
Setting Up A FreeRadius Based AAA Server With MySQL & Management With Daloradius
Setting Up A FreeRadius Based AAA Server With MySQL & Management With Daloradius
This tutorial explains how you can set up a FreeRadius (1.1.7) server with Wifi authentication and accounting in conjunction with MySQL & web management with Daloradius on Ubuntu 8.04 (LTS). This howto should work for a newbie. Production deployment is also possible with minor tweaking. But as usual I do not guarantee anything & take no responsibilities if something goes wrong.
http://www.howtoforge.com/setting-up-a-freeradius-based-aaa-server-with-mysql-and-management-with-daloradius
Install Ubuntu With Software RAID 10
Install Ubuntu With Software RAID 10
The Ubuntu Live CD installer doesn't support software RAID, and the server and alternate CDs only allow you to do RAID levels 0, 1, and 5. Raid 10 is the fastest RAID level that also has good redundancy too. So I was disappointed that Ubuntu didn't have it as a option for my new file server. I didn't want shell out lots of money for a RAID controller, especially since benchmarks show little performance benefit using a Hardware controller configured for RAID 10 in a file server.
http://www.howtoforge.com/install-ubuntu-with-software-raid-10
Installing Flash Player 9 On 64Bit Linux (x86_64)
Running A File- And Print-Server With eBox On Ubuntu 8.04 Server
Running A File- And Print-Server With eBox On Ubuntu 8.04 Server
This article shows how to run a file- and print-server for small and medium enterprises (SME) on one single Ubuntu 8.04 server. It is very easy to set up, and management is done with an easy-to-use web interface called eBox so once the system is set up, you can forget about the command line. eBox was developed to administrate advanced services for corporate networks.
http://www.howtoforge.com/running-a-file-and-print-server-with-ebox-on-ubuntu8.04-server
แหล่งอ้างอิงในเรื่องการจัดการแพ็กเก็จบน Ubuntu
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html
http://cop.pn.psu.ac.th/smf/index.php?topic=25.0
http://en.wikipedia.org/wiki/Aptitude_(program)