Gentoo: My Configuration
The notebook computer says:
free ~ # smartctl --health /dev/hda smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: FAILED! Drive failure expected in less than 24 hours. SAVE ALL DATA. Failed Attributes: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 001 001 050 Pre-fail Always FAILING_NOW 1023
Yikes! That's the first time I've seen FAILING_NOW. No wonder I get error messages.
The good news is that virtually all my data is on servers. Email is IMAP, bookmarks are in Foxmarks, music and other stuff is on a desktop machine, code is in SVN. The only thing not saved is my system configuration, which is a time-consuming task. So, here goes:
free ~ # cat /var/lib/portage/world
app-admin/eselect
app-admin/php-toolkit
app-admin/sudo
app-admin/syslog-ng
app-editors/nvu
app-editors/vim
app-misc/workrave
app-office/abiword
app-office/gnumeric
app-text/gsview
app-xemacs/emerge
dev-db/mysql
dev-db/phpmyadmin
dev-lang/php
dev-util/subversion
kde-base/arts
kde-base/kcalc
kde-base/kdebase-meta
kde-base/kdemultimedia
kde-base/kdm
kde-base/kwifimanager
mail-client/mozilla-thunderbird-bin
mail-mta/postfix
media-fonts/corefonts
media-fonts/font-adobe-utopia-type1
media-fonts/font-bh-type1
media-fonts/font-bitstream-type1
media-fonts/font-misc-misc
media-fonts/font-sun-misc
media-fonts/gnu-gs-fonts-other
media-fonts/lfpfonts-fix
media-fonts/terminus-font
media-gfx/gimp
media-libs/alsa-oss
media-libs/giflib
media-libs/libogg
media-sound/alsa-tools
media-sound/alsa-utils
media-sound/lame
media-video/ffmpeg
media-video/mplayer
media-video/xine-ui
net-firewall/iptables
net-fs/nfs-utils
net-im/gaim
net-misc/dhcpcd
net-misc/telnet-bsd
net-misc/vnc
net-wireless/ipw2200-firmware
net-wireless/wifi-radar
net-wireless/wireless-tools
net-wireless/wpa_supplicant
net-www/netscape-flash
sys-apps/dbus
sys-apps/hal
sys-apps/pciutils
sys-apps/pcmciautils
sys-apps/slocate
sys-apps/smartmontools
sys-boot/grub
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-process/at
sys-process/vixie-cron
virtual/ghostscript
www-client/links
www-client/mozilla-firefox-bin
www-servers/lighttpd
x11-base/xorg-server
x11-libs/cairo
x11-libs/qt
x11-libs/qt:3
x11-misc/x11vnc
x11-themes/gtk-engines
x11-themes/gtk-engines-qt
free ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
USE="X x11 kde qt4 qt3support qt3 dbus hal mysql mysqli ctype pcre session unicode cgi jpeg png alsa acpi firefox gtk lame ogg mp3 mpeg nas ncurses"
# note, cgi is for php :(
free ~ # cat /etc/lighttpd/phpmyadmin.conf
alias.url += (
"/phpmyadmin/" => "/usr/share/webapps/phpmyadmin/2.11.1.2/htdocs/"
)
free default # pwd ; ls -l
/etc/runlevels/default
total 0
lrwxrwxrwx 1 root root 20 Nov 25 15:50 lighttpd -> /etc/init.d/lighttpd
lrwxrwxrwx 1 root root 17 Nov 23 12:32 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 17 Nov 25 15:48 mysql -> /etc/init.d/mysql
lrwxrwxrwx 1 root root 20 Nov 23 14:06 net.eth0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 20 Nov 23 12:32 netmount -> /etc/init.d/netmount
lrwxrwxrwx 1 root root 15 Dec 7 02:51 nfs -> /etc/init.d/nfs
lrwxrwxrwx 1 root root 19 Nov 25 15:49 postfix -> /etc/init.d/postfix
lrwxrwxrwx 1 root root 17 Nov 23 13:59 sshd -> ../../init.d/sshd
lrwxrwxrwx 1 root root 21 Nov 23 14:10 syslog-ng -> /etc/init.d/syslog-ng
lrwxrwxrwx 1 root root 22 Nov 23 14:11 vixie-cron -> /etc/init.d/vixie-cron
lrwxrwxrwx 1 root root 15 Nov 24 13:49 xdm -> /etc/init.d/xdm
That's the basic setup. lighttpd needs to be tweaked, and the phpmyadmin config file needs to be created.
The kernel config file, /usr/src/linux/.config, is attached. It's a work in progress, as usual.
| Attachment | Size |
|---|---|
| config | 48.04 KB |

