2014年5月26日 星期一

How to update/install openssl version 1.0.1g on Ubuntu 14.04 (Solve Openssl Heartbleed problem)

  1. Check your openssl version used command $ sudo openssl version
  2. If your version not 1.0.1g or 0.9.8, suggest to update openssl to 1.0.1g.
  3. Remove original openssl $ sudo apt-get purge openssl
  4. $ sudo apt-get autoremove && apt-get autoclean
  5. Download 1.0.1g source
  6. $ ./config --prefix=/usr/
  7. $ make
  8. $ make install_sw
  9. Used command $ sudo openssl version check your openssl version.

Reference:
  1.  make: *** [install_docs] Error 255
  2.  Documentation fixes for openssl-1.0.1g(Ubuntu 14.04)
  3.  Upgrade OpenSSL on Ubuntu 14.04

2014年5月14日 星期三

How to install Skype in Ubuntu 14.04

  1. I used operation system is 32Bit, Xfce.
  2. Download source code from Skype.
  3. $ apt-get install gdebi-core
  4. $ gdebi skype-ubuntu-precise_4.2.0.13-1_i386.deb

2014年5月5日 星期一

How to install Libreoffice used source code

  1. First Download Source Code.
  2. Decompress file.
  3. Go to path $ cd {your file path}/RPMS/ or $ cd {your file path}/DEBS/
  4. Install $ yum localinstall *.rpm (CentOS, Fedora) or $ dpkg -i *.deb (Ubuntu, Debian)
  5. Finish. 
P.S. Red words is command.

2014年5月2日 星期五

How to change Linux default Java compiler

  1. Linux Java default is OpenJDK, I want to change Oracle Java SDK.
  2. Download Oracle Java SDK
  3. $ /usr/sbin/update-alternatives --install /usr/bin/java java "your download path"/bin/java 99
  4. $ /usr/sbin/update-alternatives --config java
  5. Choice your Oracle Java SDK.
  6. Finish. 
P.S. Red words is command

Gcin 安裝嘸蝦米

1. 首先先上Google搜尋 nosseing,下載相關檔案.
2. 解壓縮後將nosseing.gtab覆製到 /usr/share/gcin/table/
3. 重新開機即可使用無蝦米.

2014年5月1日 星期四

OpenSUSE 13.1 64Bit Install flash player

User just need click this connection. then system will auto-install.

http://software.opensuse.org/package/flash-player

Nyamuk 用法

在 test case 裡面有兩個檔案, pubnya.py, subnya.py

Publish由abc送訊息Hello給ActiveMQ.Advisory.Connection.pin這個Topic: python pubnya.py localhost abc ActiveMQ.Advisory.Connection.pin Hello
Subscript為監聽:python subnya.py localhost test ActiveMQ.Advisory.Connection.pin