ก๊วนซอฟท์แวร์ </softganz> SoftGang (Gang Software)

Web &amp; Software Developer Gang.

Topic List

โดย Little Bear on 4 ก.ค. 51 11:44
  • 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 ไว้เยอะ จะสำรองรายชื่อแล้วติดตั้งใหม่อย่างไรดี

โดย Little Bear on 19 มิ.ย. 51 21:30

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

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

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

Articles

โดย Little Bear on 17 มิ.ย. 51 16:26

ปัญหาของการใช้งานภาษาไทย 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

โดย Little Bear on 1 มิ.ย. 51 10:53
  • 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

  • คำสัง Unix linux พื้นฐาน ใช้ได้ freebsd

โดย Little Bear on 29 พ.ค. 51 20:11

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.

    sudo apt-get install netspeed
    Right click on Panel and Add to panel. Select Network Monitor (Netspeed Applet) then click Add.

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

โดย Little Bear on 22 พ.ค. 51 23:04

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

โดย Little Bear on 15 พ.ค. 51 20:31

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 -

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

และมีคำแนะนำให้ใช้ 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 ซะ

ยังไม่ได้ลองเลย ไว้มีโอกาสค่อยลองดูนะครับ

โดย Little Bear on 12 พ.ค. 51 20:54

I try to install VMWARE 2 Beta on Ubuntu 8.04 Hardy by follow this step (from ubuntu-tutorials.com)

How to install VMware Server 2.0 Beta in Ubuntu 7.10 “Gutsy Gibbon”

  1. Download VMware Server 2.0 Beta available from the VMware website. Write down the serial number it generates for you at registration.
  2. Unpack this archive to a location on your machine (perhaps /tmp).
  3. Before you configure and compile VMware Server we need to disable ipv6 support in Ubuntu as it is not currently compatible.
  4. sudo aptitude install build-essential xinetd
  5. cd /tmp/vmware-server-distrib ; sudo ./vmware-install.pl
  6. Answer the questions presented during the installation. The defaults should be safe in most cases.
  7. Because Ubuntu does not use the root user account we also need to setup access for your main user. Replace root with your username on line 10 of: /etc/vmware/hostd/authorization.xml (ACEDataUser).
  8. At this point I had to restart my machine to put the changes in place. I did try restarting the service(s) after changing the config, but it still didn’t allow access.
  9. Access your VMware Server via http://localhost:8222 or https://localhost:8333
  10. Accessing the remote console tab to view your virtual machine will also require an extension installed to Firefox. This also requires a browser restart after the extension is installed.



This instruction was work on Ubuntu 8.04 too.

Relate links : - Cant connect to VMWare server using remote console - How to install VMware Server 2.0 Beta in Ubuntu 7.10 “Gutsy Gibbon”

โดย Little Bear on 13 เม.ย. 51 15:48

softganz@softganz-desktop:~$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head

  134  ls
  101  sudo
  62  cd
  15  wine
  15  chmod
  14  ping
  13  grep
  10  ps
  10  bin/nas200
    7  top

เอามั่ง(เหมือนกัน) ฐานที่เลิกใช้ Windows หันมาหา Ubuntu เต็มตัว

ปล. แต่ก็ยังมี wine อยู่นะ