S o f t G a n z

Web & Software Developer Gang.

Blog listing

72 items(1/8) 2 3 4 5 Next » Last »|

I lost my file.

Submitted by Little Bear @28 สิงหาคม 2551

Content in file class.paper.model.php was replace with content from class.paper.edit.php. I don't know what's happened. After save file I send it to server. So file in server was replace.

When I found it was error I undo to previous but it still error.

I close my editor and reopen file class.paper.model.php. It's has same content with class.paper.edit.php. I can't undo because it was closed.

So I completely lost my file.

Last chance it restore from backup on 2008-07-24 and re-fix bug that I already fixed again.

Hint : Don't close editor when do something mistake.

Sorry in poor English.

My Linux Knowlage Base

Submitted by Little Bear @28 สิงหาคม 2551
  • 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 ไว้เยอะ จะสำรองรายชื่อแล้วติดตั้งใหม่อย่างไรดี

ตามหา Software สำหรับทำ broadcast video to Internet

Submitted by Little Bear @28 สิงหาคม 2551

มีโครงการที่จะต้องทำการ Broadcast video to Internet เลยต้องตามหาว่ามี Software ตัวไหนบ้างที่ทำได้

จริง ๆ แล้วอยากได้ software บน Linux แต่ยังไม่รู้ว่าจะหาได้หรือไม่

รายชื่อ Software ที่อยู่ในช่วงเสาะหาคือ

Articles

ปัญหาภาษาไทยเยื้องหน้าของ Openoffice2.4 บน Hardy

Submitted by Little Bear @28 สิงหาคม 2551

ปัญหาของการใช้งานภาษาไทย 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 ว่าจะกลายเป็นตัวอักษรภาษาอะไร(ก็ยังไม่รู้) เช่น ١. ปี พ.ศ. ٢٥٤٨ ยังไม่รู้วิธีแก้ครับ

ที่มา http://jojoejung.blogspot.com

My Linux Command.

Submitted by Little Bear @28 สิงหาคม 2551

  • #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

My Linux's Application Collection.

Submitted by Little Bear @28 สิงหาคม 2551

My Linux's application collection lists.

  • recordMyDesktop as video from getbeb
  • VirtualBox make many OS on my computer | download | how to | for keyboard bug on Ubuntu 8.04 by installing scim-bridge-client-qt
  • Audacity for audio recorder. Require LAME encoder to export to MP3.
  • nrg2iso for change nrg format (Nero) to ISO format

    #sudo apt-get install nrg2iso

    use : nrg2iso [nrg-file] [iso-file]

How do I install lame encoder for Audacity?

Submitted by Little Bear @28 สิงหาคม 2551

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!!!!

How to change phpMyAdmin cookie login time?

Submitted by Little Bear @28 สิงหาคม 2551

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 Firefox Extension

Submitted by Little Bear @28 สิงหาคม 2551

I'm a new Ububtu user for a month but many year of Firefox.

This is my Firefox Extension.

How to Share internet connection in Ubuntu

Submitted by Little Bear @28 สิงหาคม 2551

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.

  1. 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 eth1 and ip was 192.168.1.1

  2. 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

  3. Install dnsmasq and ipmasq using apt-get:

    # apt-get install dnsmasq ipmasq

  4. Restart dnsmasq:

    # /etc/init.d/dnsmasq restart

  5. Reconfigure ipmasq to start after networking has been started:

    # dpkg-reconfigure ipmasq

  6. Repeat steps 1 and 2.

  7. Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf

    # gedit /etc/sysctl.conf

  8. 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

72 items(1/8) 2 3 4 5 Next » Last »|

Main Menu

My recomment topics

Hot topics

Links

PageRank Plus - Google PageRank checking, with a twist.