/* About ----- This directory contains extra files to make the 'fancy urls' feature even more fancier, by eliminating the 'index.php'-part of the URL Installation ------------ 1. Copy all files in this directory (except for index.html) to your main nucleus dir (where your index.php and action.php file are) If you have an already existing .htaccess file (most ftp-programs don't show hidden files by default, so don't start uploading it without checking your server). If you do, download that old one first, and copy the contents of the new .htaccess file (from the fancyurls folder) in your old one, and upload that... 2. Edit this file so that $CONF['Self'] points to your main directory. NOTE: this time, and only this time, the URL should NOT end in a slash 3. Also edit the $CONF['Self'] variable in your index.php, if you don't want to end up with index.php/item/1234 urls when people come via that way 4. Enable 'Fancy URLs' in the Nucleus admin area (nucleus management / edit settings) 5. Off you go! If it doesn't work: ------------------- Remove the files again (don't forget the hidden file .htaccess). Voila. */ // remember: this URL should _NOT_ end with a slash. $CONF['Self'] = 'http://www.momoso-net.com/~ms08'; ?>
2005-03-17: 早起きはkernel再構築
今日は早起きしたので積み残していたGENTOO Linuxのカーネルバージョンアップを始めてしまいました。
linux-2.4.28-gentoo-r8がダウンロードしてあったのでこんな感じに。
スーパーユーザになって
cd /usr/src
rm linux
ln -s /usr/src/linux-2.4.28-gentoo-r8 linux
cd 前のカーネルソースの.config linux/new.config
cd linux
genkernel --menuconfig all
(menuconfigが現れたらnew.configをLoadし終了)
* Gentoo Linux Genkernel; Version 3.1.1b
* Compiling Linux Kernel 2.4.28-gentoo-r8 for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.4
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* config: >> Invoking menuconfig...
Using defaults found in .config
Preparing scripts: functions, parsing............................................................................................done.
Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
* kernel: >> Making dependencies...
* >> Compiling 2.4.28-gentoo-r8 bzImage...
* >> Compiling 2.4.28-gentoo-r8 modules...
こんな感じでmoduleのコンパイルを行っているようす。これが時間がかかります。つづきは後で!
* Copying config for successful build to /etc/kernels/kernel-config-x86-2.4.28-gentoo-r8
* initrd: >> Initializing...
* >> Copying modules...
* >> Copying auxilary files...
* :: Size is at 4378K
* >> Creating loopback filesystem...
* >> Moving initrd files to the loopback...
* >> Cleaning up and compressing the initrd...
* >> Installing bootsplash [ using the gentoo theme ]...
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
* root=/dev/ram0 real_root=/dev/$ROOT init=/linuxrc
* ramdisk_size=8192
* [ And "vga=0x317 splash=verbose" if you use a framebuffer ]
*
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided initrd file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd...
*
* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.
それで7時ぐらいに終了。約1時間くらいかかりました。つつきは後で!
vi /boot/grub/menu.lst
でgrubを修正(新しいカーネルを追加)
emerge alsa
これも忘れず行って再起動!
Category: Gentoo Linux 1 Trackback