Server World - Build Network Server
This Site is the Note that I wrote when I established the Network Server connected Internet at Home. I wrote this Note in order to be able to Re-establish quickly if needed. This Documents are written about Configurations on Fedora 7 or CentOS 5 , Debian GNU/Linux 4.0 which are Kinds of Linux. I am happy if this Note would be usefull to you.
วิธีสำรองรายชื่อแพกเกจทั้งหมดก่อนติดตั้งใหม่
อาจมีบางครั้งที่เราจำเป็นต้องลง Ubuntu ใหม่ ไม่ว่าจะเป็น การอัพเกรดแบบ fresh install (ลงใหม่) หรือต้องการล้างเครื่อง แก้ไขปัญหาบางอย่าง แต่เพราะลง applications ไว้เยอะ จะสำรองรายชื่อแล้วติดตั้งใหม่อย่างไรดี
มีโครงการที่จะต้องทำการ Broadcast video to Internet เลยต้องตามหาว่ามี Software ตัวไหนบ้างที่ทำได้
จริง ๆ แล้วอยากได้ software บน Linux แต่ยังไม่รู้ว่าจะหาได้หรือไม่
รายชื่อ Software ที่อยู่ในช่วงเสาะหาคือ
BroadCam Video Streaming Software : OS Windows
webcamXP : OS Windows
Ezverser : OS uClinux/Linux/Windows
Live Video from Linux to Flash Lite 3.0 using Adobe - Flash Media Streaming Server 3 and Flash Media Server Host
Video Streaming with Real Media/Video
This tutorial covers configuring your Linux server to stream Real video. The tutorial will also cover content creation and viewing.
PeerStream 4 Streaming Software : OS Linux
PeerStream 4 Server: Multiplatform, Multicast, Multimedia - Advanced Audio and Video Software Streaming and Podcasting Solutions
Red5 : Open Source Flash Server
Articles
ปัญหาของการใช้งานภาษาไทย OpenOffice 2.4 บน Ubuntu 8.04 (Hardy) คงเหมือน ๆ กับหลาย ๆ คน
ปัญหาที่ผมเจอคือเมื่อพิมพ์ภาษาไทย จะมีปัญหากับสระบนบางตัวที่เมื่อพิมพ์แล้วจะทำให้อักษรเยื้องมาข้างหน้า ซึ่งเป็นกับฟอนท์บางตัวจากค่าย Windows หรือถ้าเปิดไฟล์เก่า ๆ มาก็จะเจออักษรเยื้องไปข้างหน้าจนซ้อนทับกัน
ผมค้นหาจากในเน็ต ก็เจอวิธีแก้ปัญหาจากบล็อก Gatew@y to Knowledge. เป็นบทความของ Mr.Jojoe ลองทำตามแล้วปรากฏว่าแก้ปัญหาได้ชะงัดนัก
ก็เลยขออนุญาตทำสำเนาวิธีการมาเก็บไว้หน่อยนะครับ
พิมพ์คำสั่งเพื่อถอนการติดตั้ง OpenOffice2.4 ที่มากับ Ubuntu8.04
$sudo apt-get -y remove openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer
ติดตั้ง Java5
$sudo apt-get -y install sun-java5-bin sun-java5-jre sun-java5-jdk sun-java5-fonts sun-java5-plugin
Start.... Step1. โหลด OOo2.4.0LinuxIntelinstallen-USdeb.tar.gz $wget -c http://www.stchman.com/tools/openoffice/OOo2.4.0LinuxIntelinstallen-USdeb.tar.gz
Step2. $tar zxvf OOo2.4.0LinuxIntelinstallen-US_deb.tar.gz
Step3. $cd /OOH680m12nativepacked-1en-US.9286/DEBS
Step4. $sudo dpkg -i *.deb
Step5. $cd /OOH680m12nativepacked-1en-US.9286/DEBS/desktop-integration
Step6. $sudo dpkg -i *.deb
ผมลองตามนี้แล้ว ทุกอย่างสำเร็จเรียบร้อยดี ขอบคุณ Mr.Jojoe มากเลยครับ
edit :: หลังจากลองใช้อยู่หลายวันก็พบปัญหากับตัวเลขจากไฟล์ .doc ของ Windows ว่าจะกลายเป็นตัวอักษรภาษาอะไร(ก็ยังไม่รู้) เช่น ١. ปี พ.ศ. ٢٥٤٨ ยังไม่รู้วิธีแก้ครับ
sudo lshw -short -sanitize -html : View hardware information
sudo lsusb : View USB device information
dmesg : for "diagnostic message"
cat /proc/cpuinfo : View CPU information
cat /proc/meminfo : View memory information
lspci : View PCI device information
sudo aptitude purge php mysql apache : Clean remove all LAMP
nm-tool : Network Manager Tool
My Linux's application collection lists.
recordMyDesktop as video from getbeb
VirtualBox make many OS on my computer. Download from virtualbox.org and how to install. Fixed keyboard bug on Ubuntu 8.04 by installing scim-bridge-client-qt package
Netspeed Applet. A little applet that displays some information on the traffic on the specified network device.
Right click on Panel and Add to panel. Select Network Monitor (Netspeed Applet) then click Add.sudo apt-get install netspeed
Audacity for audio recorder. Require LAME encoder to export to MP3.
Resize photo by right click on Nautilus
sudo apt-get install nautilus-gksu nautilus-image-converter nautilus-open-terminal
nrg2iso for change nrg format (Nero) to ISO format
#sudo apt-get install nrg2iso
use : nrg2iso [nrg-file] [iso-file]
After I install Audacity by this command
#sudo apt-get install audacity
It cannot export my recording to MP3. It require LAME Encoder.
Require file is libmp3lame.so.0
I try to download from http://lame.sourceforge.net and try to complie. It still don't work.
This http://ubuntuforums.org/showthread.php?t=466421&page=2 told me to install LAMP and liblame0 by Administration / Synaptic Package Manager
Select package LAMP and liblame0 and then click Apply.
It work!!!!
To change phpMyAdmin's default cookie login expire time (default is 1800 sec).
Change the $cfg['LoginCookieValidity'] in file config.inc.php to set new value of time in second that you want.
Ubuntu : location of config file is /etc/phpmyadmin/config.inc.php
$cfg['LoginCookieValidity'] = 246060; // is 1 day
Remark : also change auth_type to cookie by
$cfg['Servers'][$i]['authtype'] = 'cookie'; // authtype is config , cookie , http
My home have 3 computer. I want to share internet for all computer.
I search from internet and found Howto Share internet connection from http://ubuntuforums.org.
Following this step and it work!!!!!!
Note: Type all the following commands in a root terminal, DO NOT use sudo. Please use su or sudo su -
Start by configuring the network card that interfaces to the other computers on you network:
# ifconfig ethX ip
where ethX is the network card and ip is your desired server ip address (Usually 192.168.0.1 is used)
My note : My ethX was eth0 and ip was 192.168.1.1
Then configure the NAT as follows:
# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE
where ethX is the network card that the Internet is coming from
# echo 1 > /proc/sys/net/ipv4/ip_forward
Install dnsmasq and ipmasq using apt-get:
# apt-get install dnsmasq ipmasq
Restart dnsmasq:
# /etc/init.d/dnsmasq restart
Reconfigure ipmasq to start after networking has been started:
# dpkg-reconfigure ipmasq
Repeat steps 1 and 2.
Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf
# gedit /etc/sysctl.conf
Reboot. (Optional)
After reboot , It's work and I set Windows XP on VMware 2Beta to use this share by set DNS to my ISP.
Everything OK!!!!!
Thank for anaoum from http://ubuntuforums.org very much.
From : http://ubuntuforums.org
และมีคำแนะนำให้ใช้ firewall ชื่อ firestarter install (Its just a frontend to iptables.In its preferences, set "internet connected device" to the internet, and "local network device" to the local device. Then enable NAT and DHCP if you want...) โดย
sudo apt-get install firestarter
ที่ http://www.opentle.org บอกว่า
ไม่ต้องลงอะไรเพิ่มแค่พิมพ์ตามนี้ (แต่ต้องเป็น root ก่อน)
echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
(eth0 คือขาที่ ออกเน็ต) เครื่อง ลูกก็ ตั้งให้ ip class เดียวกับ eth0 เอา ถ้าไม่อยากแจก dhcp ถ้าอยากแจกก็ ลง package dhcp ซะ
ยังไม่ได้ลองเลย ไว้มีโอกาสค่อยลองดูนะครับ

Software requirement
- ระบบสมาชิก การสมัครสมาชิกใหม่
- ใบสำคัญรับเงิน
- การ์ดลูกหนี้
- ระบบจัดการเอกสาร เช่น รายงานการประชุม , ระเบียบกลุ่มออมทรัพย์นักพัฒนาภาคใต้ , แบบฟอร์ม ฯลฯ ระบบจัดการเงินกู้ เงื่อนไขการอนุมัติ ค่าบำรุง ยอดเงินค้างชำระ
รายงาน
- พันธะผูกพันการกู้เงิน
- ยอดเงินออม
- ยอดคงเหลือเงินกู้
ลูกหนี้
- หัวของการ์ดลูกหนี้ ประกอบด้วย เอกสารสัญญากู้ที่ ..., รหัสสมาชิก, ประเภทเงินกู้ (เงินกู้สามัญ,เงินกู้พิเศษ,เงินกู้สินเชื่อเพิ่มศักยภาพการทำงาน,เงินกู้ประวัติดี), ได้รับอนุมัติเงินกู้เป็นจำนวน ... บาท เมื่อวันที่ ... เดือน ... พ.ศ. ... กำหนดชำระคืน ... งวด ๆ ละ ... บาท ตั้งแต่เดือน ... พ.ศ. ... ถึงเดือน ... พ.ศ. ...
- รายละเอียดในการ์ดลูกหนี้ เป็นตารางโดยมีหัวตารางคือ งวด, เดือน-พ.ศ. (ที่จ่ายชำระ), ชำระเงินต้น(บาท), ชำระค่าบำรุง(บาท), ชำระค่าปรับเงินต้น(บาท), ชำระค่าปรับค่าบำรุง(บาท), ยอดคงค้าง(บาท)
- รายชื่อผู้ร่วมกู้ (กรณีกู้พิเศษ มีรายชื่อผู้ร่วมกู้ได้หลายราย)
- ขั้นตอนการทำงาน
- บันทึกการกู้เงิน เป็นการบันทึกรายละเอียดการกู้เงิน ประกอบด้วย เอกสารสัญญากู้ที่ ..., รหัสสมาชิก, ประเภทเงินกู้ (เงินกู้สามัญ,เงินกู้พิเศษ,เงินกู้สินเชื่อเพิ่มศักยภาพการทำงาน,เงินกู้ประวัติดี), ได้รับอนุมัติเงินกู้เป็นจำนวน ... บาท เมื่อวันที่ ... เดือน ... พ.ศ. ... กำหนดชำระคืน ... งวด ๆ ละ ... บาท ตั้งแต่เดือน ... พ.ศ. ... ถึงเดือน ... พ.ศ. ...
- บันทึกการรับชำระเงินกู้ โดยเลือกใบกู้เงิน (จากเลขที่ใบกู้หรือหมายเลขสมาชิกหรือชื่อสมาชิก) ป้อนวันที่, ชำระเงินต้น(บาท), ชำระค่าบำรุง(บาท), ชำระค่าปรับเงินต้น(บาท), ชำระค่าปรับค่าบำรุง(บาท)
- บันทึกรายการชำระโดยทุกอย่างอิงกับเลขที่ใบกู้เงิน เพื่อให้สามารถแสดงรายการเคลื่อนไหวทุกอย่างในการ์ดลูกหนี้ได้อย่างถูกต้อง