Currently browsing category

Computers, Page 54

openafs compile and load libafs

cd /usr/src/openafs-kernel-1.4.4/src/ ./configure make cp /usr/src/openafs-kernel-1.4.4/src/src/libafs/MODLOAD-2.6.9-67.0.4.ELsmp-MP/libafs.ko /lib/modules/2.6.9-67.0.4.ELsmp/kernel/fs/openafs/libafs.ko vi /lib/modules/2.6.9-67.0.4.ELsmp/modules.dep ## add /lib/modules/2.6.9-67.0.4.ELsmp/kernel/fs/openafs/libafs.ko: to modules.dep file modprobe libafs

updatedb in Macintosh

Linux 使用者有個找檔案的好用的工具 locate 雖然Mac有Spotlight但是某種程度而言. locate 比 Spotlight 好用. 因為使用者可以搭配 grep 過濾檔名. 在 Macintosh 預設是沒有把 locate 的 database 啓用. 你可以用下列指令連結updatedb # sudo -s …

Cisco – Port Channel (Trunk)

! interface Port-channel1 description bcbay1 switchport access vlan 500 switchport trunk encapsulation dot1q switchport mode trunk switchport nonegotiate ! interface GigabitEthernet1/0/13 description …

How to Remove a Stash File

Become superuser on the KDC that contains the stash file. Remove the stash file. # rm stash-file Where stash-file is the path …

[linux notes] CA

mkdir /var/myca cd /var/myca vi /etc/ssl/openssl.cnf /usr/share/ssl/misc/CA -newca openssl req -newkey rsa:1024 -nodes -keyout newreq.pem -out newreq.pem /usr/share/ssl/misc/CA -sign openssl x509 -in …