= 2013-01-30 = == 從 PDF 抽出圖檔 == * [參考] [http://ubuntugenius.wordpress.com/2012/02/04/how-to-extract-images-from-pdf-documents-in-ubuntulinux/ How to Extract Images from PDF Documents in Ubuntu/Linux] {{{ ~$ sudo apt-get install poppler-utils ## pdfimages -j '來源.pdf' 圖檔命名-prefix ~$ pdfimages -j 'Cool Pix of 2011.pdf' cool2011 }}} == Apache !BigTop == * [參考] [https://cwiki.apache.org/confluence/display/BIGTOP/How+to+install+Hadoop+distribution+from+Bigtop+0.5.0 How to install Hadoop distribution from Bigtop 0.5.0] * [測試環境] http://easycloud.nchc.org.tw {{{ root@vm36:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise root@vm36:~# uname -a Linux vm36 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux }}} * [注意] 官方說__'''只有支援 64 位元版本'''__ * [步驟] {{{ #!sh ### 首先,在 EasyCloud 的 VM 切換成 root 會比較方便。 jazzwang.tw@vm36:~$ su - ### 其次,加入 BigTop 的套件金鑰,跟套件庫來源 root@vm36:~# wget -O- http://archive.apache.org/dist/bigtop/bigtop-0.5.0/repos/GPG-KEY-bigtop | apt-key add - root@vm36:~# wget -O /etc/apt/sources.list.d/bigtop-0.5.0.list http://archive.apache.org/dist/bigtop/bigtop-0.5.0/repos/`lsb_release --codename --short`/bigtop.list ### 更新套件庫 root@vm36:~# apt-get update }}}