顯示具有 web 標籤的文章。 顯示所有文章
顯示具有 web 標籤的文章。 顯示所有文章

2014年1月13日 星期一

ubuntu virtualbox 共用資料夾 plexWatch, splashtop streamer, xrdp on ubuntu 13.10

接續上篇使用ubuntu設定plexwatch web時也遇到一些問題,整理如下。

  • virtualbox共用資料夾位置在/media
    • 需要先將使用者加入群組
    • virtualbox預設為vboxsf
    • 終端機輸入指令sudo gpasswd -a 使用者帳號 vboxsf
  • 在設定crontab工作時不要輸入使用者名稱
  • twitter則需填入consumer_key, consumer_secret, access_token, access_token_secret四項,並且create my access token
  • ubuntu軟體中心位置 /usr/bin/software-center
  • remotebox不知為何無法成功使用,使用phpvirtualbox取代
  • virtualbox如果要使用遠端控制(非windows內建的遠端桌面)則需安裝extension pack
  • xrdp如果遇到灰色畫面無法進入則輸入以下指令,原因是gnome更動了設定
    • sudo apt-get install xrdp
    • sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
    • sudo apt-get update
    • sudo apt-get install xfce4
    • echo xfce4-session >~/.xsession  
  • ubuntu上使用splashtop streamer需要輸入以下指令否則目前無法使用於13.10(官方尚未支援)
    • sudo apt-get install aptitude
      sudo aptitude update
      sudo aptitude safe-upgrade
    • python /opt/splashtop-streamer/SRStreamer.pyc
    • sudo aptitude install python-appindicator

參考資料
共用資料夾權限
http://ubuntuforums.org/showthread.php?t=1921707
http://www.mobile01.com/topicdetail.php?f=300&t=3122670
plexWatch on ubuntu
http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/
https://github.com/ljunkie/plexWatch/blob/master/README.md
crontab
sudo gedit /etc/cron.d/anacron
http://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job
xrdp 灰畫面
http://c-nergy.be/blog/?p=4448
http://askubuntu.com/questions/266271/xubuntu-12-04-desktop-grey-with-no-icons
plexWatch email notification
https://forums.plex.tv/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/
ubuntu splashtop streamer on 13.10
https://support-splashtoppersonal.splashtop.com/entries/30097576-Splashtop-Streamer-on-Ubuntu-13-10
http://qiita.com/nyarla/items/4202ddb8e29e2d0ddd65
http://timothyandrewbarber.blogspot.tw/2011/02/finding-config-folder-in-ubuntu.html
RemoteBox
http://knobgoblin.org.uk/downloads.cgi
http://www.openfoundry.org/tw/foss-programs/8319--virtualbox-remotebox
http://www.ibm.com/developerworks/cn/linux/l-cn-remotebox/
http://www.openfoundry.org/tw/foss-programs/8319--virtualbox-remotebox
phpvirtualbox
http://www.arthurtoday.com/2011/11/windows-phpvirtualbox.html#.Usl3t_QW2tQ
http://blog.segmentfault.com/jifei/1190000000346904
vboxwebsrv.exe
https://forums.virtualbox.org/viewtopic.php?f=6&t=38449
http://nikolas.demiridis.gr/post/10280216759/how-to-run-vboxwebsrv-as-a-service-on-windows-2008
virtualbox rdp extension pack
http://www.virtualbox.org/manual/ch07.html#vbox-auth
ubuntu切換2D
http://www.mobileai.tw/2013/01/08/ubuntu-12-10-2d/
PlexWatch ip address必須與PMS在同一台電腦上(localhost)才可正常抓取
https://forums.plex.tv/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/page-21#entry483408


The locale codeset (cp1252) isn't one that perl can decode, stopped at Encode/Locale.pm line 94.

使用plexwatch web時出現標題的錯誤,查詢了一下發現是程式本身從linux轉換到windows時沒有轉換好,向作者反映他說沒時間處理,於是只好自力救濟。到控制台-地區及語言-系統管理-非unicode程式的語言-變更系統地區設定改成英文(美國)可以解決問題,但是會產生後遺症就是其他程式可能出現亂碼無法閱讀。因此最後我的解決方式是再建立一個VM-ubuntu來使用。

參考資料
http://forge.fusioninventory.org/issues/2197
http://contest-start.blogspot.tw/2009/12/apache-22-php531-mysql.html
http://www.luar.com.hk/flashbook/archives/001425.php
http://www.perlmonks.org/?node_id=981095
http://www.php5.idv.tw/html.php?mod=article&do=show&shid=39
http://blog.linym.net/archives/264
http://idaiwan.pixnet.net/blog/post/28156513-apache-%E5%8A%A0-php-%E5%AE%89%E8%A3%9D%E9%85%8D%E7%BD%AE%E6%95%99%E5%AD%B8%EF%BC%88windows%EF%BC%89
http://forums.adobe.com/message/2869206
http://www.luar.com.hk/flashbook/archives/001425.php
http://www.digglife.cn/articles/pp-the-locale-codeset-is-not-one-that-perl-can-decode.html