2016年6月17日 星期五

Java Tomcat JSP note


Download and Install Tomcat
http://tomcat.apache.org/

Make sure the server is running....
http://localhost:8080

Make a page in main page folder...
C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT
(my computer... hey hey)

2016年6月12日 星期日

Ubuntu for format factory 格式轉換軟體

Ubuntu中的影音檔案轉換格式軟體   類似windows的 format factory

The default repositories.....  在預設的程式庫中可以下載的

For the Video files  影片檔案轉檔
sudo apt-get install transmageddon

Note: 成功將 mp4 轉成 mp3  


For the Audio files  聲音檔案轉檔
sudo apt-get install soundconverter

Linux Ubuntu Command Line Screen Off 關閉螢幕命令


Method 1:
xset dpms force off

Key: Move Mouse and Keyboard will turn on the screen.
移動滑鼠或是鍵盤就會開啟螢幕


Method 2:
sleep 3; xset dpms force off
Key: Set a specific time to turn off the screen
設定固定時間關閉螢幕

2016年6月6日 星期一

Hard Disk power-on hour check in Ubuntu Linux

查詢硬碟的開機時間
Hard Disk power-on hour check in Ubuntu Linux

執行以下
sudo smartctl --all /dev/sda | grep Power_On_Hours
                               Disk Name 磁碟名稱

開機使用次數查詢
 sudo smartctl --all /dev/sda | grep Power_Cycle_Count

2016年6月5日 星期日

Ubuntu 16.04 Installation Note 安裝筆記

今天 2016.06.05 首次安裝  Ubuntu 16.04在我的 Aspire 4820TG 的 SSD 上面
想要試試看速度
同機主要有  Win 10, Ubuntu 14.04兩個作業系統  現在加上第三個作業系統

從Win 10在主要的SSD切了40G出來

利用Universal USB installer順利安裝
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

初步安裝佔用大約4G  後來upgrade + update之後  大約佔用5G


任務:首先中文輸入法部份
無法在Text Entry設定中找到chewing輸入法
因此改用手動安裝

當初安裝是選 English  所以Language Support中只有English
在Language Support中 選 Install Language ==> Chinese(Traditional)

sudo apt install ibus-chewing
(從Ubuntu 16.04 開始  改用apt而不是 apt-get囉)

之後重新開機  就可以在Text Entry中 發現 Chinese(Chewing)(IBus)

任務:將左方快捷選單調整

System Setting ==> Appearance ==> Behavior
Auto-hide the Launcher 將這個打開  on   這樣左方快捷選單就會自動隱藏了 auto-hide
記得把下面的Reveal sensitivity調高   這樣才會容易觸發被隱藏的選單
預設值  感覺不是很夠
然後下面還有Workspaces或是Desktop icon兩個可以打開 也都很方便的小工具

任務:安裝Eclipse JAVA EE之後才發現缺 JDK

可以參考這個資訊
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

執行完以下兩行   基本上就差不多了   其他的需要可以參考以上的連結
sudo apt-get install default-jre
sudo apt-get install default-jdk





Ubuntu 16.04 server Install Wifi Connecting problem 無法連線

怎麼辦?

尚未解決