ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ installation

installing new font into ubuntu

สั้นๆ น้ะจ้ะ :/usr/share/fonts/truetype$ sudo mv '/media/1E030B2C562691FC/Documents and Settings/dsin/Desktop/VLADIMIR.TTF' . $ sudo fc-cache เพื่อกันไม่ให้ font มันหายไปหลังจาก restart เครื่องจ้า ref: semicolon

[ ubuntu linux ] OpenCV installtion

วันนี้ลองเขียน cvFindExtrinsicParams2 ปรากฏว่า มันรันแล้วค้างไปเลย ใน OpenCV 1 หรือ ไม่ก็ขึ้น error มาตามนี้ ใน OpenCV 2.0 ** On entry to DLASCL, parameter number 4 had an illegal value ไปหาๆ ดู เจอ ticket นี้ มันบอกว่า เขาแก้บักไปตั้งแต่ revision 3148 จะให้กรูไปแก้ source แล้ว make ใหม่ ก็ขี้เกียจ เพราะว่า ตอนนี้ใช้ 2.0 แต่ มันออก เวอร์ชั่น 2.01 มาแล้ว ไม่ได้ทำนาน ลืมไปแล้ว ว่าลงยังไง ยังดี มีบล๊อกของ zkan กับ sir_ivy มาช่วยให้ระลึกชาติได้ จดไว้หน่อย เด๋วลืม อันนี้ วิธีลง ของ เวอร์ชั่นก่อนหน้า $ ./configure --prefix=${HOME}/opencv --with-ffmpeg --without-quicktime $ make $ make install ส่วน 2.01 ใช้ CMake ชีวิต ก็สะดวกสบาย ขึ้นอีกนิด ( วิธีลง จริงๆ เอามาจาก README ของแม่ง ที่มันลิงก์ไปหา ดอก อีกที ) .../OpenCV-2.1.0$ mkdir release .../OpenCV-2.1.0$ cd release/ .../OpenCV-2.1.0/release$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/dsin/opencv2_1 -D BUILD_PYTHON_SUPPORT=ON .. $ make $ make install พอลงสำเร็จเรียบร้อย ก็ลอง รันโค้ด ดู อันนี้เวอร์ชั่น lite น้ะจ้ะ...

Andrea Vedaldi's matlab sift toolbox library version 09.17 on ubuntu linux

กว่าจะลงได้ ลากเลือด จดไว้หน่อย เสือกใช้ gcc version เก่า >> sift_compile Warning: You are using gcc version "4.3.3-5ubuntu4)". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit http://gcc.gnu.org เอ้า จัดไป เวอร์ชั่นเก่าก็ได้ $ sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc ข้างบน คือ วิธีหน้าโง่ จริงๆ เข้าไปแก้ใน ไฟล์ คอนฟิก ${HOME}/.matlab/R2008b/mexopts.sh ก็ได้ CC='/usr/bin/gcc-4.1' #'gcc' gcc version เก่า แม่ง ไม่มี stdc++ มาให้อีก ลิงก์ lib ให้มันซะ ไม่งั้นมัน error ld library ( จริงๆ เซต LD_LIBRARY_PATH ก็น่าจะได้ ) $ sudo ln -s /usr/lib/libstdc++.so.6.0.10 /usr/lib/libstdc++.so เท่านั้นแหละ compile ผ่านละ พอไป make บน linux $ make mex -I. CFLAGS='$CFLAGS -I. -pedantic -Wall -g -O3 -Wno-variadic-macros ' imsmooth.c -o imsmooth mex: unrecognized option '-I.' This is pdfTeXk, Version 3.141592-1.40.3 (Web2C ...

eclipse install plugin

Installation  Method 1 : Install directly to eclipse folder just extract zip file. and place into 'plugins' folder on eclipse home. Method 2 : Help > Install New Software... Add and at the Location : click Archieve and choose zip file see other eclipse topic . Method 3 : Help > Eclipse marketplace Check whether the plugin is installed Goto Help > About > Installation Details > Plug-ins and check whether it is there NOTE : some plugin did not compatable with old version of java For example, TestNG version 6.9.9.201510270734  requires at lease JDK 7 The installation does not pop any error, but it does not shown up anywhere including in Preferences and Help > About > Installation Details > Plug-ins To use TestNG on the old eclipse we have to download the older version from http://beust.com/eclipse-old/ or the below is the direct link to the highest version that support Java 6 http://beust.com/eclipse-old/eclipse_6.9.5...

Derby Database Installation on ubuntu

Installation 1. download bin installation from derby's download page 2. set environment variable in /etc/environment or ~/.bashrc or ~/.bash_aliase export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin export DERBY_INSTALL=/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin // change this into your derby installation path export CLASSPATH=$DERBY_INSTALL/lib/derby.jar:$DERBY_INSTALL/lib/derbytools.jar:. 3. run $ cd $DERBY_INSTALL/bin $ . setEmbeddedCP and terminal will close, don't be panic. go on to next steps. 4. Testing if installation is correct $ java org.apache.derby.tools.sysinfo Result should be something like this. ------------------ Java Information ------------------ Java Version: 1.6.0_13 Java Vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-sun-1.6.0.13/jre Java classpath: /mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derby.jar:/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derbytools.jar:. OS name: Linux OS archi...

[ Plone ] ลง plone บน ubuntu linux

I have just download Plone 3.1.5.1 from the Plone download page . I choose this one. Get Plone for Linux/BSD/Unix (35MB) Unified Installer - for Linux/BSD/OS X/UNIX/Solaris (compiles and installs Python, Zope and Plone plus dependencies for you) And I follow what is written in a README file that is working pretty well . This is what I did. I install for a non super-user, in stand alone mode. >> ./install.sh standalone ตอนนี้อาจจะต้องลง g++ ก่อน After installation, the system will inform the admin's password generated for you. For example, Username: admin Password: 1wX6Gdjq and this is how I start Plone >> $HOME/Plone-3.1/zinstance/bin/instance start After starting Plone...