Misui’s BUGS

Show PID and kill it.

December 23rd, 2009 misui

อะไรจะซวยขนาดนี้ Product จะขึ้นรุ่งนี้ Stop/Start Tomcat เพื่ออัพเดทโค๊ดไม่ได้

โอ้วววว ไม่กูจะได้นอนไหมเนี้ยย ~~

เปิด Ticket ถามฝ่าย support กว่าจะได้คำตอบรออยู่สามชั่วโมงได้คำตอบมา

“ขอ User/Pass เพื่อเข้าไปตรวจสอบ” อ้าว แสดไม่บอกตั้งแต่ Live Chat วะ

 

สุดท้ายเลิกบ่นละ

netstat -nlp     // แสดง Ports แถม PID

kill -9 xxxx     // ฆ่ามัน

Posted in linux, programs, project | No Comments »

Install git

January 4th, 2009 misui
พอดีผมมีปัญหากับการติดตั้ง git ใน kde3.5
จะติดตั้งผ่าน apt-get install git-core
มันก็จะลบระบบออกเกือบทั้งหมด เห็นแล้วมิกล้า (คิดว่าปัญหาอยู่ที่ perl-git มันจะไปลบตัวอื่นออก)
เลยไปค้นหาข้อมูลการติดตั้งมา เสียเวลาไปสักหน่อย แต่ก็ติดตั้งได้แล้ว :)
เลยขอเอามาลงที่นี่สักหน่อย

*บทความจาก http://chrisolsen.org/2008/03/10/installing-git-on-ubuntu/

I watched Scott’s great screencast on Git and figured I should make use of the old server that I have sitting around. Unfortunately, my install didn’t go as smoothly as Scott’s, mostly because the Ubuntu server edition has a few less libraries than the developer edition. So to make things a little smoother for others here are the libraries that I had to install.

sudo apt-get install build-essential tcl8.4 tk8.4 gettext
# expat
wget http://superb-west.dl.sourceforge.net/sourceforge/expat/expat-2.0.1.tar.gz
tar zxfv expat-2.0.1.tar.gz
cd expat-2.0.1
./configure
make
make install
# curl
wget http://curl.linux-mirror.org/download/curl-7.18.0.tar.gz
tar zxfv curl-7.18.0.tar.gz
cd curl-7.18.0/
./configure
make prefix=/usr all
make prefix=/usr all install
# zlib
wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar -xzvf zlib-1.2.3.tar.gz
cd zlib-1.2.3/
./configure
make
sudo make install
# openssl
wget http://www.openssl.org/source/openssl-0.9.8c.tar.gz
tar -xzvf openssl-0.9.8c.tar.gz
cd openssl-0.9.8c/
./config --prefix=/usr/local/ssl-0.9.8c shared zlib-dynamic enable-camellia
make depend
make
sudo make install

Now you should be able to install git

# git
wget http://kernel.org/pub/software/scm/git/git-1.5.4.4.tar.gz
tar -xzvf git-1.5.4.4.tar.gz
cd git-1.5.4.4/
make MOZILLA_SHA1=1 prefix=/usr all
sudo make MOZILLA_SHA1=1 prefix=/usr install

The steps above may not be perfect as I posted them after retracing my steps after a successful install. My fingers are crossed.

** Update:
Thanks to Sascha for pointing out the — double dash issue. That’s what I get for being too lazy to enclose the script within pre tags.

Hopefully this saves someone a little time.

Posted in linux, programs | No Comments »

rc.d

August 21st, 2008 misui

ไม่ได้อับเดทนานมากแล้วแฮะ มาดูวิธีการลบสคริปการทำงาน service กันดีกว่า

sudo update-rc.d -f <nameservice> remove

ex. sudo update-rc.d -f mysql remove

คราวนี้เปิดเครื่องมา mysql ก็ไม่รันขึ้นมาให้กวนใจละ :)

Posted in linux | 2 Comments »

« Previous Entries
  • Recent Comments

    • Dukan Diet Australia on Notebook
    • Dukan Diet Australia on Adding Javadoc to NetBeans IDE
    • Dukan Diet Australia on Linux on iPaq h6365
    • Dukan Diet Australia on How will I die ?
    • Dukan Diet Australia on SVN error “Attempted to lock an already-locked dir”
  • Recent Posts

    • Show PID and kill it.
    • Regex thai language
    • memory_limit
    • MySQL Convert all collation table and fields with one command line
    • Watches
  • Pages

    • About
  • Archives

    • December 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • October 2008
    • September 2008
    • August 2008
    • June 2008
    • May 2008
    • April 2008
  • Categories

    • arm
    • camera
    • database
    • embeded
    • english
    • general
    • gps
    • linux
    • programming
    • programs
    • project
    • Uncategorized
  • Blogroll

    • Brewbg
    • JavaBoom Collection
    • llun
    • Makissy
    • Misui Multiply
    • Misui’s twitter
    • Sourcode
    • SvZ
    • UP1
    • Vunknown
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Visitors Online

    • 01 visitor(s) online
    • powered by WassUp

  • |_|0|_|
    |_|_|0|
    |0|0|0|

Misui’s BUGS is hosted by Nytes.net | Bob