Friday, March 20, 2009

How to userspace l7 filter on Ubuntu

How to userspace l7 filter on Ubuntu
http://kuscsik.blogspot.com/2008/02/how-to-userspace-l7-filter-on-ubuntu.html

測試中~~~

build squid3 on Ubuntu

apt-get update
apt-get install devscripts build-essential
apt-get source squid3
apt-get build-dep squid3
cd squid3-"version"
nano debian/rules # or whatever editor you use
add the --enable-icap-client line among the other --enable-blah- lines
debuild -us -uc
cd ..
dpkg -i your_built_package.deb

Thursday, March 19, 2009

Ubuntu mirror.list - good example

個人覺得這樣寫比較好啦
deb-i386 就只抓 i386 這樣比較節省空間
我們公司兩者都有 所以兩者都寫

############# config ##################
#
#set base_path /var/spool/apt-mirror
set base_path /home/apt-mirror
#
# if you change the base path you must create the directories below with write privlages
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch
set nthreads 2
set _tilde 0
#
############# end config ##############

# Ubuntu 8.04 "Hardy" amd64
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

# Ubuntu 8.04 "Hardy" i386
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

clean http://tw.archive.ubuntu.com/ubuntu

Wednesday, March 18, 2009

前人狂操的一些腳步

SPEC 是甚麼 可以自行了解一下
用他來找系統參數 是最適合不錯過的

下面是個範例
site:spec.org sysctl.conf redhat

顯示 Ubuntu Disk UUID

ls -cl /dev/disk/by uuid

快速重裝ubuntu

####快速重裝ubuntu####

dpkg --get-selections | grep -v deinstall > ubuntu.files #得到已安裝軟件列表文件

下次重裝ubuntu 的時候,執行

dpkg --set-selections < ubuntu.files

apt-get install nfs-common

apt-get install nfs-kernel-server

vi /etc/exports

app/nfs 192.168.1.6(ro)

/etc/init.d/nfs-kernel-server start

Installation Checklist

Post installation checklist for Ubuntu Hardy Heron 8.04
http://ubuntuforums.org/showthread.php?t=803897

amd64 lib32 problem on ubuntu

研究如何在 amd64 跑 lib32 程式

以下只是搜尋出來的解法 待證實中

test1:
apt-install ia32-libs, ia32-libs-gtk, and lib32asound2

test2:
http://ubuntuforums.org/archive/index.php/t-86415.html
http://ubuntuforums.org/showthread.php?t=24575

Saturday, March 14, 2009

configure script for spine 0.8.7c problem

spine 0.8.7 無法 configure

解法:
http://bugs.cacti.net/view.php?id=1381

下載其附件 再行 configure

Monday, March 09, 2009

Konica/Minolta

http://256.com/gray/docs/misc/konica_bizhub_printer_cups_linux.shtml

http://kmbs.konicaminolta.us/content/support/supporthome.html

http://www.linuxquestions.org/questions/red-hat-31/cups-locale-settings-and-printer-118813/