跳到主要內容

發表文章

目前顯示的是有「Unix」標籤的文章

The Architecture of Open Source Applications

在 Plan 9 wiki 網站的 reference 中看到 Eric S. Raymond (The Art of Unix Programming 作者)目前正在維護 gpsd system, 在 他個人的網站 中有些他開發的程式,此外,他個人目前的想法,可以從 Blog 中看得出來。他 post 一則 Engineering zero-defect software 的文章,有許多 computer 的 Hacker 在其中提出 comment。其中 Jakub Narebski 提出了一個網址,是 The Architecture of Open Source Applications 線上的書,於 May 8, 2012 出版了第二冊,確實是值得看得書。 gpsd is a daemon that receives data from a GPS receiver, and provides the data back to multiple applications such as Kismet or GPS navigation software

csv server installation

因為 programming in cloud computing 的 project,需要將 william 所寫的 source code 分享給大家,與 william 討論之後,決定在 register 機器上架設 cvs server,因為是 FreeBSD OS, 參考了[1][2]的作法安裝了 cvs server,過程紀錄如下: 1. 將 cvs server 採用 inetd 的方式來安裝:    $ sysinstall -> select "inetd" item, then edit the following    cvspserver stream tcp nowait cvs /usr/bin/cvs -f --allow-root=/home/cvs pserver    it is in /etc/inetd.conf file. 2. add a cvs user in system:   $ adduser cvs, group is cvs 3. edit /etc/group, add the others users in cvs group 4. Init the CVSROOT directory in /home/cvs:     $ su - l cvs      $ cvs -d /home/cvs init 5. run pwdgen.pl program to create password file:     $ pwdgen.pl "plan text password for you want"     it will create a rand number for editing password. 6. Create and/or edit the file  /home/cvs/CVSROOT/passwd :     $ su -l cvs   $ cd /home/cvs/CVSROOT ...

Grub2

第一次使用 Tomboy Notebook 來紀錄自己的筆記,主要處理最近使用 Ubuntu 時,開機畫面多了幾個 crash 掉以後的 recovery menu,找了台灣的網頁,沒有人真正寫出我只要修改 Grub2 menu 的選單而已,自己也嘗試修改 /boot/grub/grub.cfg 檔,但是 grub.cfg 是由 grub-mkconfig 自動產生的,修改以後再執行 update-grub 又修改的內容復原回去了。 於是在 google 輸入 "how to delete grub2 recovery mode menu",找到 [1] 的網站,說明了如何刪除 menu 以及隱藏 recovery mode 的作法,其中有一些小錯誤也一併修正。 Q: How to delete old version of kernels in grub2 menu ? A: Delete them from /boot directory. Both initrd and vmlinuz files. Than run update-grub. Q: How to hide recovery mode in grub2 menu ? A: Change this line #GRUB_DISABLE_LINUX_RECOVERY=”true” as GRUB_DISABLE_LINUX_RECOVERY=”true” (delete command character.) in /etc/default/boot /etc/default/grub. Than run update-grub. Q: How to disable memtest in grub2 menu ? A:  cd /etc/grub.d      sudo chmod -x 20_memtest86+      sudo update-grub 接下來是美化開機畫面,在 [2] 中有一個漂亮的開機畫面,於是按照說明的項目一一實做,其實可以使用 synaptic 程式來完成,只要在套件庫加入 deb http://ppa.launchpad.net/bean123ch/burg/ubuntu...

Boot menu of BIOS

Desktop : [1] ------------------------------------------------------- 進入BIOS設定畫面:〔DEL〕鍵,其他廠牌的主機板或筆記型電腦可能會是〔F12〕或〔F7〕等按鍵 自己選擇開機磁碟:〔F8〕鍵 Laptop 部份:[2] ---------------------------------------------------------------------- 廠牌 BIOS 開機選單 還原鍵 ACER F2 F12 ALT + F10 ASUS   F2     ESC F9 BenQ F10 DELL F2 CTRL + F11 Fujitsu F2 HP/Compaq F2 F9 F10(F3、F11?) IBM/Lenovo F1 F6 "Access ThinkPad" or "Access IBM" MSI F3 NEC F11 SONY F2 F10 TOSHIBA ESC -> F1 F2、F12 Press and hold the 0 (zero) while powering on the computer. ---------------------------------------------------------------------------- [1] http://briian.com/?p=6117 [2] http://dinkho.blogspot.com/2010/04/notebook-bios.html