如果執行 apt-mirror 出現這個錯誤
"apt-mirror is already running, exiting at /usr/bin/apt-mirror line 187"
通常是 apt-mirror 不正常結束所造成
請先檢查你的 base_path 在哪
base_path = /home/apt-mirror
則 /home/apt-mirror/var/apt-mirror.lock 刪掉
再重新執行 apt-mirror 即可
Showing posts with label Utunbu. Show all posts
Showing posts with label Utunbu. Show all posts
Sunday, February 21, 2010
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
測試中~~~
http://kuscsik.blogspot.com/2008/02/how-to-userspace-l7-filter-on-ubuntu.html
測試中~~~
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
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
快速重裝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
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
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
以下只是搜尋出來的解法 待證實中
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
Sunday, March 09, 2008
[Ubuntu] deborphan 清除不用的檔案
系統跑一段時間,難免總是會有一些程式沒有正常移除。Ubuntu 有一個小工具程式 deborphan ,可以幫我們來作清理的動作。
安裝 deborphan
執行 deborphan
如果想要圖形版的也有 叫 GTKopphan
網址為http://www.marzocca.net/linux/gtkorphan.html#download
安裝後,系統就會出現 "Remove Orphaned Packages" 這個工具
這個工具很簡單,就討論到這裡囉
參考文章:
Cleaning up a Ubuntu GNU/Linux system
http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html
安裝 deborphan
sudo apt-get install deborphan
執行 deborphan
sudo deborphan | xargs sudo apt-get -y remove –purge
如果想要圖形版的也有 叫 GTKopphan
網址為http://www.marzocca.net/linux/gtkorphan.html#download
wget http://ftp.debian.org/debian/pool/main/g/gtkorphan/gtkorphan_0.4.3-1_all.deb dpkg -i gtkorphan_0.4.3-1_all.deb
安裝後,系統就會出現 "Remove Orphaned Packages" 這個工具
這個工具很簡單,就討論到這裡囉
參考文章:
Cleaning up a Ubuntu GNU/Linux system
http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html
Monday, January 21, 2008
Atheros AR5007EG for Ubuntu
終於找到可以安裝 Atheros AR5007EG 無線網路晶片 Driver 的方法了
參考 網路黑貓大哥 提供 EeePC 安裝 Ubuntu 7.10 所提供的打包程式
http://tw.myblog.yahoo.com/champ_yen/article?mid=344
Wireless.sh
其他一些文章
For Ubuntu
Go https://wiki.ubuntu.com Search AR5007EG
可以找到一些 Ubuntu 目前正在測試 AR5007G 的文章
其他正在研究的文章
http://www.linuxespanol.com/viewtopic.php?t=18908
http://ku777.blogspot.com/2007/12/epcatheros-ar5006egubuntu-704.html
參考 網路黑貓大哥 提供 EeePC 安裝 Ubuntu 7.10 所提供的打包程式
http://tw.myblog.yahoo.com/champ_yen/article?mid=344
Wireless.sh
安裝 ndiswrapper 程式
dpkg --install ndiswrapper-common_1.43-1ubuntu2_all.deb
dpkg --install ndiswrapper-utils-1.9_1.43-1ubuntu2_i386.deb
cd Wireless/ndis5x/
make
這個 make 就是執行 ndiswrapper 安裝驅動程式
ndiswrapper -i net5211.inf
ndiswrapper -m
ndiswrapper -ma && sudo ndiswrapper -mi
其他一些文章
For Ubuntu
Go https://wiki.ubuntu.com Search AR5007EG
可以找到一些 Ubuntu 目前正在測試 AR5007G 的文章
其他正在研究的文章
http://www.linuxespanol.com/viewtopic.php?t=18908
http://ku777.blogspot.com/2007/12/epcatheros-ar5006egubuntu-704.html
Sunday, January 20, 2008
Acer 6231 Linux Wireless Driver (AR5007EG) 安裝
私人筆記
[更新]
後來電腦已經安裝成 Ubuntu 了 網路已經通了 等有機會裝 CentOS 再說吧
Atheros AR5007EG for Ubuntu
http://actychen.blogspot.com/2008/01/atheros-ar5007eg-for-ubuntu.html
目前就是只能先用 ndiswrapper 驅動程式
------------------------------------------------
AR5007EG 這張晶片實在太新了
目前 Madwifi 應該是還沒有支援 所以尚未裝起來
EPC 也有用到這張晶片 應該是華碩自己客製的
Midwifi Download:
http://sourceforge.net/project/showfiles.php?group_id=82936
For CentOS, Redhat, Fedora
google:// centos5 MADWIFI
Installing Madwifi on Red Hat Enterprise Linux and Fedora http://madwifi.org/wiki/UserDocs/Distro/RedHat
RPM http://dl.atrpms.net/el5-i386/atrpms/stable/
http://dotimes.com/blog/2007/04/slackware-madwifi-atheros.html
http://fedora.linuxsir.org/main/?q=node/137
linux下通過ndiswrapper及linux-wlan-ng安裝無線網卡
http://jimmy-shine.javaeye.com/blog/77413
[更新]
後來電腦已經安裝成 Ubuntu 了 網路已經通了 等有機會裝 CentOS 再說吧
Atheros AR5007EG for Ubuntu
http://actychen.blogspot.com/2008/01/atheros-ar5007eg-for-ubuntu.html
目前就是只能先用 ndiswrapper 驅動程式
------------------------------------------------
AR5007EG 這張晶片實在太新了
目前 Madwifi 應該是還沒有支援 所以尚未裝起來
EPC 也有用到這張晶片 應該是華碩自己客製的
Midwifi Download:
http://sourceforge.net/project/showfiles.php?group_id=82936
For CentOS, Redhat, Fedora
google:// centos5 MADWIFI
Installing Madwifi on Red Hat Enterprise Linux and Fedora http://madwifi.org/wiki/UserDocs/Distro/RedHat
RPM http://dl.atrpms.net/el5-i386/atrpms/stable/
http://dotimes.com/blog/2007/04/slackware-madwifi-atheros.html
http://fedora.linuxsir.org/main/?q=node/137
linux下通過ndiswrapper及linux-wlan-ng安裝無線網卡
http://jimmy-shine.javaeye.com/blog/77413
Subscribe to:
Posts (Atom)
