dreamedge.net

依存関係のループ対策

2008-04-09T06:18:00+0000

apt-getでアップグレードを行おうとしたら,依存ループでひっかかる場合は以下の様に実行する.(でもaptitudeできちんと関係を眺めた方がいいんだけど)

# apt-get upgrade -o APT::Force-LoopBreak=true

ちなみにこんなエラーが出てた.

E: This installation run will require temporarily removing the essential package
e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you re
ally want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove e2fsprogs

参考資料(4.4.5)

このエントリーをはてなブックマークに追加
Bookmark this on Delicious

XへのTrueTypeの設定

2008-04-09T06:00:00+0000

x-ttcidfont-confパッケージがインストールされているのを確認した上で、
/etc/X11/xorg.confに

Section "Files"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

を追加する.

x-ttcidfont-confパッケージのインストール時に,フォントハンドリングのバックエンドにxttを選択した場合は,

Section "Module"
#       Load "freetype"
        Load "xtt"
EndSection

を追加する。

このエントリーをはてなブックマークに追加
Bookmark this on Delicious

DebianでのApach2設定

2008-04-09T05:54:00+0000

DebianでのApache2設定は/etc/apache2/以下に入っている.

全体の設定はapache2.confに.

使用ポートの設定は,ports.confに.

Virtual Hostごとの設定はsites-available/に入れて,そのうち使用するものについてシンボリックリンクをsites-enabled/に置く.

モジュールはmods-available/に入っていて,そのうち使用するもののシンボリックリンクをmods-enablesd/に置く.
httpd.confとconf.d/の使い道はいまのところ不明.

sitesやmodsについては手作業でシンボリックリンクを置いてもいいが,a2enmod, a2ensiteで設定することができるのでこちらを使うのがベスト.取り除くときはa2dismod, a2dissiteを使う.

このエントリーをはてなブックマークに追加
Bookmark this on Delicious

SMP等で使う場合

2008-04-09T05:52:00+0000

デフォルトインストールでは,SMP用のカーネルが入りません.

SMP対応のCPUの場合はlinux-image-2.6-686-smp等のパッケージを入れるように.

モメリが4G以上あるならば,linux-image-2.6-686-bigmemが必要.

このエントリーをはてなブックマークに追加
Bookmark this on Delicious