Ubuntu 推的通用 Linux 套件格式 Snap

Ubuntu Linux 在上個月推出多種平台可以共用的通用套件格式 Snap。

閱讀全文〈Ubuntu 推的通用 Linux 套件格式 Snap〉

Ubuntu Linux 15.10 安裝 ISO檔 無法開機的解法

這星期要重灌機器,抓 Ubuntu Linux 15.10 的 ISO 檔下來,然後經由 "製作開機碟 (usb-creator-gtk)" 寫入 USB,再由 USB 開機,都會出現下述錯誤:(開機失敗)

SYSLINUX 6.03 EDD 20150813 Copyright (C) 1994-2012 H. Peter Anvin et al
Boot Error

閱讀全文〈Ubuntu Linux 15.10 安裝 ISO檔 無法開機的解法〉

Linux 修正大量 GPG error BADSIG 的問題

Debian / Ubuntu Linux 遇到大量的 GPG error (BADSIG) 要怎麼解決呢?

錯誤訊息如下述:

問題1

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: 以下簽名無效: BADSIG A040830F7FAC5991 Google, Inc. Linux Package Signing Key \<linux-packages-keymaster@google.com\>
W: 無法取得 http://dl.google.com/linux/mod-pagespeed/deb/dists/stable/Release,
W: Some index files failed to download. They have been ignored, or old ones used instead.

問題2

W: GPG error: http://dl.google.com stable Release: The following signatures were invalid: BADSIG A040830F7FAC5991 Google, Inc. Linux Package Signing Key \<linux-packages-keymaster@google.com\>
W: GPG error: http://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key \<ftpmaster@ubuntu.com\>
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key \<ftpmaster@ubuntu.com\>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 531EE72F4C9D234C Launchpad webupd8
W: GPG error: http://in.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key \<ftpmaster@ubuntu.com\>
W: GPG error: http://in.archive.ubuntu.com precise-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key \<ftpmaster@ubuntu.com\>

閱讀全文〈Linux 修正大量 GPG error BADSIG 的問題〉

Ubuntu 12.04 遇到 procps 造成 udev、mountall 相依性衝突解法

Ubuntu Linux 12.04 最近升級時,遇到幾台有下述訊息:

Setting up procps (1:3.2.8-11ubuntu6.4) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udev:
 udev depends on procps; however:
  Package procps is not configured yet.
dpkg: error processing udev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mountall:
 mountall depends on udev; however:
  Package udev is not configured yet.
dpkg: error processing mountall (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
  procps
  udev
  mountall
E: Sub-process /usr/bin/dpkg returned an error code (1)

遇到這個還好,想說新版套件應該就會修復此問題,但是剛好遇到 Linode 全部機器都要重開,就炸了。

出現這個問題的機器,重開自然開不了機,簡單的直接進入修復模式後,資料備份出來,直接重灌成 Debian 解決;麻煩的就參照這篇試試看,看能不能解決囉~

  • 註1:在 Linode 若要進入修復模式,可見此篇:Rescue and Rebuild - Linode Guides & Tutorials
  • 註2:在 Rescue 模式預設網路是通的,但是 DNS 不通,請自行到 /etc/resole.conf 增加 nameserver 8.8.8.8 之類的.

閱讀全文〈Ubuntu 12.04 遇到 procps 造成 udev、mountall 相依性衝突解法〉

Nagios 安裝設定 於 Debian、Ubuntu Linux

Nagios 可以自動做多台主機的檢查、通知...  等等,於一個介面統一控管、查詢使用,也有歷史資料可以查詢。

Nagios 除了內建常用的外,有缺少需要的可以自己寫,或者是找此處有更多寫好的可以直接下載安裝使用:

Plugins - Nagios Exchange # extension 監控 script 不夠用, 可以從這邊找

Ex:

閱讀全文〈Nagios 安裝設定 於 Debian、Ubuntu Linux〉

於 MacBook Pro Retina 安裝 Ubuntu Linux

於 2014/12/09 購入 MacBook Pro 13" 256G, 機器配備如下:

  • 13 吋:2.6 GHz,配備 Retina 顯示器
  • 規格
    • 2.6GHz 雙核心 Intel Core i5
    • Turbo Boost 可達 3.1GHz
    • 8GB 1600MHz 記憶體
    • 256GB PCIe 快閃儲存
    • Intel Iris Graphics
    • 內建電池 (9 小時)

閱讀全文〈於 MacBook Pro Retina 安裝 Ubuntu Linux〉