Quantcast
Channel: linux – Gea-Suan Lin's BLOG
Browsing all 214 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Ubuntu 下用 MegaRAC 界面管理機器…

這個週末把之前在 Ubuntu 下不順的地方搞定… (之前是透過 VirtualBox 開 Windows 管理) 首先遇到的問題是 Ubuntu 下 Chromium 沒辦法開 jnlp 檔案 (永遠都是 Save as 視窗),所以用 Firefox 開流程會比較順。 再來是 Ubuntu 提供的 OpenJDK 無法讀取 MegaRAC 給的 jnlp 檔案,需要裝 Oracle...

View Article



Image may be NSFW.
Clik here to view.

Google Chrome (以及 Chromium) 內用 Backspace 回到上一頁

看到 evenwu 在講 Safari 6+ 把 Backspace 回到上一頁的功能拔掉的補救方式後,我突然想到 Chrome 應該也有類似的功能… 找到的套件是「Backspace As Back/Forward for Linux」,雖然套件上寫 Linux,但在 Mac 上也可以用… (倒是 Ubuntu 上還沒測 XD) 不過… 這個套件好像只能用在 html 頁面… Related...

View Article

Ubuntu 上的 Chromium Stable Channel 與 Dev Channel

Ubuntu 12.04 上的 Chromium 一直都是 18.0 版,而 “Chromium Builds” team 也沒在更新了… 過一陣子想起來就會去找一下,結果剛剛發現有人在 Launchpad 上面丟出來了:「New Chromium Stable And Development PPAs For Ubuntu 12.04」,有兩個版本,一個是 stable (目前是...

View Article

Ubuntu 躲在 Juniper SRX 後面 NAT 連 Plurk 很慢的問題…

Ubuntu 在 Juniper SRX 後面透過 NAT 連 Plurk 會很慢,因為會 TCP three-way handshake 建不起來 (timeout),找了半天居然是 RFC1323 的問題… 方法是在 /etc/sysctl.conf 內關掉 TCP Timestamps:(桌機就隨便關了 ~_~) net.ipv4.tcp_timestamps=0 然後 sysctl -p...

View Article

Debian 官方維護的 AWS EC2 Image…

在「Official Debian Images on Amazon Web Services EC2」看到 Debian 官方放出了 AWS EC2 的 AMI:「Cloud/AmazonEC2Image – Debian Wiki」。 之前幾乎都是靠 alestic 製作的版本,現在則是官方直接支援了… 在頁面上除了有連結指到 Debian 官方的版本外 (在 AWS Marketplace...

View Article


在 Linux 上跑 Mac 應用程式…

在 Slashdot 上看到 Darling 計畫,想要在 Linux 上跑 Mac OS X 的程式,類似 Wine 在 Linux 上跑 Windows 程式:「Darling: Run Apple OS X Binaries On Linux」。 看起來還在早期階段,貢獻者也不多? 不過,有什麼程式是在 Mac 上 (而且沒有 Windows 版) 但想在 Linux 上跑的…?...

View Article

Image may be NSFW.
Clik here to view.

對 Linux「友善」的主機板廠商… XD

在 Slashdot 上看到「Ask Slashdot: Linux-Friendly Motherboard Manufacturers?」這篇,第一個 comment 通常是最犀利的 comment… XDDD I heard the Raspberry Pi is very Linux compatible, in fact it doesn’t even run Windows....

View Article

Image may be NSFW.
Clik here to view.

CES 上展出 Linux-based 來福槍…

看到「$17,000 Linux-powered rifle brings “auto-aim” to the real world」這個的時候還在想 rifle 有什麼其他意思… 畫面是這樣 XDDD 這樣會被歸類到自動武器嗎? 然後,既然都用 Linux 了,一定要問的是,有沒有 open source & 可以自己刷韌體嗎 XDDD Related Posts: 測試...

View Article


在 Raspberry Pi 上跑 FreeBSD…

在 Raspberry Pi 的官方網站上提到可以在 Raspberry Pi 上跑 FreeBSD 的消息:「FreeBSD is here!」。 不過這是 community (unofficial) 版本,而且是 10-CURRENT,維護者自己也說這還不是 production-ready,主要是給大家嘗鮮用… 目前如果要拿來做一些正事,還是以 Linux 為主吧,畢竟是主力平台。...

View Article


Image may be NSFW.
Clik here to view.

測試 DigitalOcean 荷蘭阿姆斯特丹的機器…

續上篇「DigitalOcean 與 Linode 的比較…」,先補上上次沒抓的圖,這是 DigitalOcean 可以用的 Linux Distribution: 這次仔細檢查發現 DigitalOcean 本身沒有提供 DNS resolver,是指到 Google Public DNS: nameserver 8.8.8.8 nameserver 8.8.4.4 從阿姆斯特丹的機器過去是透過...

View Article

Debian 7.0 預定在五月初出版…

Slashdot 上看到 Debian 7.0 預定在五月第一個週末出版:「Debian 7.0 (‘Wheezy’) Release Planned For 1st Weekend in May」,在「NewInWheezy」可以看到有哪些變動。 ext4 變成 default filesystem,然後透過 FUSE 支援 exFAT。 上次的 Debian 6.0 是 2011 年 2 月...

View Article

PostgreSQL 筆記…

純粹是筆記… 對於架設 server 的文件可以參考 Ubuntu 這份「PostgreSQL – Community Ubuntu Documentation」,雖然 Debian 官方也有一份「PostgreSql – Debian Wiki」,不過沒講到遠端這塊… 官方有提供 Debian/Ubuntu 用的 apt repository,參考官方的 wiki 頁面「Apt –...

View Article

1999 年與 2008 年 Conference T-shirt size 的差別…

Twitter 上看到 b123400 的 retweet,專程貼出來有種好無奈的感覺… XD probably the saddest graph ever shown in a CS conference. #Linux #tshirtsize pic.twitter.com/RWBnTSJ2ip — AlexandrosKapravelos (@kapravel) September 5,...

View Article


在 Ubuntu 12.04 LTS 上跑 Docker…

docker 是 dotCloud 發展出來的 LinuX Container 管理程式。 由於建議在 Linux Kernel 3.8 以上的版本跑,所以在 Ubuntu 12.04 LTS 上會需要 backport kernel,參考「ubuntu 12.04 kernel upgrade to 3.10」這篇的方法就可以了。 sudo apt-get install...

View Article

Google 開源的 lmctfy…

前幾天看到 Google 開源的 lmctfy (這名字還頗惡趣味,是「Let Me Contain That For You」的縮寫),是這樣介紹的: lmctfy is the open source version of Google’s container stack, which provides Linux application containers. 看了一下說明,看起來跟...

View Article


Image may be NSFW.
Clik here to view.

關於 Linux 的 Disk I/O 調整…

在 Twitter 上看到 tka 的 retweet,介紹了 Linux 下 Disk I/O 的調整:「PostgreSQL: Linux kernel I/O tuning」。 文章裡介紹了三種 scheduler,NOOP、CFQ、Deadline,其中 CFQ 是系統預設值。 其實 MySQL 的結論也差不多,Percona 在 2009 年的時候做過...

View Article

Google 將發現安全問題的獎勵延伸到 Open Source 專案上…

在 Slashdot 上看到 Google 將發現安全問題的獎勵從自家產品延伸到 Open Source 專案上:「Google Offers Cash For Security Fixes To Linux and Other FOSS Projects」。 官方的公告在「Going beyond vulnerability rewards」,規則則是在「Patch Rewards –...

View Article


Linux kernel 內的資料結構與演算法…

在 Theoretical Computer Science Stack Exchange 上,有人問到有沒有哪些軟硬體的 source code 是可以跟學生說明某些經典演算法的重要性:「Core algorithms deployed」。 下面就有人列了 Linux kernel 內的演算法,以及對應的程式碼。相當長的一份列表… 除了 Linux kernel 外,也還有其他大型 open...

View Article

Percona 提供 Linux 平台上 MySQL server 調整的參數…

Percona 的人針對 Linux 平台跑 MySQL 的建議:「Linux performance tuning tips for MySQL」。 檔案系統方面建議用 ext4 或是 xfs,記得要用 noatime。(我建議再加上 nodiratime) 然後 i/o schedular 建議用 deadline 或是 noop,這點可以參考之前寫的「關於 Linux 的 Disk I/O...

View Article

GPS logger:環天的 DG-100…

在 24h 上買了這顆「DG-100 GPS 數據紀錄器」,然後在 VirtualBox 裡吃鱉了好幾次,所以還是整理一下,讓之後的人比較好辦事 XD 用過的兩顆 GPS logger 都是用 Prolific 的 PL2303 系列晶片,透過 Serial port 的架構溝通,所以 Ubuntu 下會抓到 /dev/ttyUSB0 這種界面。 由於我的目的比較簡單,只要可以抓 gpx...

View Article
Browsing all 214 articles
Browse latest View live




Latest Images