- This is my memo for future reference. Hopefully it would be helpful to you, too.
- As of this writting, CentOS is 5.2, RHEL 5.3. Some 3rd party rpms are for the newer kernel, so be aware to choose the right one.
Hardware (main):
- Model: T61p 8889
- Intel Core2 Duo T8300
- NVidia Quadro FX 570M
- 2GiB RAM
- Intel PRO/Wireless 4965AG
- CentOS 5.1 i386 DVD
Installation:
- CentOS 5.1 does not support this NVidia card, runs black screen if using graphic mode.
- Switch to text mode (
linux text
). Proceed installation normally. - Reboot into CLI, login root.
- Modify
/etc/yum.repo.d/*
to a fast mirror for update. (centos.ustc.edu.cn, enable 4 repos: os, updates, addons, extras). adsl-setup
to get ADSL connection to Internet.yum update
vim /etc/inittab
, set run level to 5.- Reboot to GDM, login root, add normal user, re-login user.
- Lock all applets to panel, preventing accidental move.
- It takes long to start udev at boot time.
- Default video driver runs sluggishly, CPU shares a high load.
Repositories:
- Reference 1: wiki.centos.org
- Reference 2: en.wikipedia.org
yum install yum-priorities
vim /etc/yum.repo.d/CentOS-Base.repo
- Set to-be-protected entries to priority 1.
- Install repo rpms for:
- RPMforge: apt.sw.be
- ATrpms: dl.atrpms.net
- EPEL: download.fedora.redhat.com
- Add RPM Fusion as instructed on: rpmfusion.org
- Third party repositories may conflict with each other.
yum-priorities
doesn't work well for me. - Better enable one 3rd-party repo at a time.
Video:
- Reference: support.dell.com
- Install
nvidia-graphics
from ATrpms. - Edit
/boot/grub/menu.lst
, remove kernel parameterrhgb
. This can reduce boot time significantly. - Reboot.
- GUI responds well. 3D works.
- Screen brightness Fn no longer display OSD, but functioning. (UPDATE: it works now, though I don't know what I've done to make it work.)
Sound:
- Reference: bugzilla.redhat.com
- No need to compile and apply the patch.
- The ALSA kernel module and driver are not installed by default.
yum install alsa-kmdl-`uname -r` alsa-driver
- Reboot.
- Sound works.
- Boot time udev passes faster. (I forget it's after video or sound)
Wireless:
- Reference: kbase.redhat.com
- Install
iwl4965-firmware
from RPMforge. - Reboot.
- Enable NetworkManager:
chkconfig NetworkManager on
service NetworkManager start
- edit
/etc/sysconfig/network-scripts/ifcfg-wmaster*
, setONBOOT=no
.
- NetworkManager applet shows in system tray.
- Wireless works.
NTFS:
- Reference: wiki.centos.org
- In order to bring in minimum dependencies, install
fuse
from ATrpms, andfuse-ntfs-3g
from RPMforge. - Add
/dev/sda# /media/# ntfs-3g rw,umask=0000,defaults 0 0
to/etc/fstab
. - Reboot.
Multimedia:
- Enable repo RPMforge; disable all other 3rd-party repo.
yum install gstreamer-ugly gstreamer-bad
- Find and install
gstreamer-ffmpeg
on rpm.pbone.net. yum install ffmpeg
- Playable: mp3, wma/wmv, avi
- Download and install RealPlayer from www.real.com.
- Run RealPlayer,
Tools
>Preferences
>Internet
, uncheck all options. - Playable: rm/rmvb
yum install flash-plugin
; or download and install from get.adobe.com.
- Now system basically runs as expected.
Optional software:
- From base:
- Asian language support
- pidgin
- gcc-c++
- gdb
- freeglut-devel
- From EPEL:
- java-1.6.0-openjdk, from EPEL. (RHEL 5.3 has it, so should CentOS 5.3 soon)
- From RPMforge:
- unrar
- p7zip
- gnochm
- gconf-editor
- amule
- deluge
- Games (RPMforge):
- wesnoth
- armagetronad
Amule:
- Reference 1: forums.fedoraforum.org
- Reference 2: www.amule.org
- Start amule and get error:
- According to reference 1, it's SELinux denying the operation.
- Solutions:
System
>Administration
>Security Level and Firewall
, tabSELinux
, set asPermissive
- Or execute:
chcon -t textrel_shlib_t /usr/lib/libcryptopp.so.1
- Use server list: www.emule.org.cn.
- According to reference 2, allowing KAD to pass firewall needs adding 3 ports (default settings) in
Security Level and Firewall
: - 4662 TCP
- 4665 UDP
- 4672 UDP
amule: error while loading shared libraries: /usr/lib/libcryptopp.so.1: cannot restore segment prot after reloc: Permission denied
Qt 4.5 rc1:
- Reference: doc.trolltech.com
- Qt is downloaded from www.qtsoftware.com.
- Install dependent development libraries:
- QtGui:
- libXrender-devel
- libXrandr-devel
- libXcursor-devel
- libXfixes-devel
- libXinerama-devel
- libXi-devel
- libXt-devel
- libXext-devel
- libX11-devel
- libSM-devel
- libICE-devel
- glib2-devel
- QtOpenGL
- mesa-libGLU-devel
- QtDBus
- dbus-devel
- Other:
- libXft-devel
- libmng-devel
- libpng-devel
- fontconfig-devel
- freetype-devel
- libjpeg-devel
- zlib-devel
- openssl-devel
- QtGui:
./configure
make -i --jobs=2
(NOTE: sometimes-j
could take up all 2GiB memory, use--jobs={your available cores}
to come over)sudo make -i -j install
- Install QtCreator from ftp.trolltech.com
- Some parts still don't work. (Use
make -i
to ignore errors)- QtTest with error
- Phonon not enabled
<Parts still not functioning>
- Fingerprint Reader
- Active Protection System for Hard drive
- Intel Turbo Memory (?)
- Bluetooth is working, but with no GUI command entry.
- Not many power-saving options, it seems fan is running all the time.
- Suspend and hibernate don't work as expected.
No comments:
Post a Comment