Centos 6 Installation Notes
Some Nice Pictures Of The Install Process
http://linuxmoz.com/how-to-install-centos-6-linux-for-servers-desktops/
Google Earth
I installed the x86_64 version of the Google Earth rpm. It did however not work:
$ google-earth /usr/bin/google-earth: ./googleearth-bin: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory
Turns out the provided binary is in fact not 64-bit:
$ file /opt/google/earth/free/googleearth-bin /opt/google/earth/free/googleearth-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
Installing the package redhat-lsb.i686 fixed it:
yum install redhat-lsb.i686
Power Saving – This helps a lot on laptop batteries!
Add the following lines to /etc/rc.d/rc.local
modprobe cpufreq_powersave cpufreq-selector -g powersave
Add to the desktop panel (top bar)
CPU Frequency Scaling Monitor
Install Xine to play DVDs
Create/edit /etc/yum.repos.d/atrpms.repo
[atrpms] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms gpgcheck=1 [atrpms-testing] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing failovermethod=priority baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms priority=1 includepkgs=libvpx*
yum -y install xine-ui libdvdcss
Enjoy
Requires: libvpx.so.1()(64bit)
If you get the error message:
Error: Package: libavcodec53-0.10-54.el6.x86_64 (atrpms) Requires: libvpx.so.1()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
You did not set up the repo file correctly above
refernece: http://www.greenviolet.net/articles/2012/03/16/atrpms-ffmpeg-installation-failures-fixed.gv
Install hangs on “Scanning storage” when using a SSD drive
I added irqpoll kernel parameters on boot and everything is now fine. Make sure you modify grub after you install Centos to make sure that parameter is kept.
Additional Package Sources
32 bit
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64 bit
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget -O epel6.key.txt 'http://keys.gnupg.net:11371/pks/lookup?search=0x0608B895&op=get' rpm --import epel6.key.txt
References
- http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-f0c3ecee3dbb407e4eed79a56ec0ae92d1398e01
- http://fedoraproject.org/keys
- http://fedoraproject.org/wiki/EPEL
Black screen when returning from Suspend
I installed vbetool by downloading vbetool-1.2.2-1.fc12.src.rpm and rebuilding it. vbetool does not come with Centos 6.
You will need EPEL to build vbetool (see above Additional Package Sources)
To install
su - (download vbetool srpm) (install EPEL) yum -y groupinstall "development tools" rpm -Uvh vbetool-1.2.2-1.fc12.src.rpm yum -y install zlib-devel libx86-devel libpciaccess-devel cd ~/rpmbuild/SPECS rpmbuild -ba vbetool.spec cd ~/rpmbuild/RPMS/x86_64 rpm -Uvh vbetool-1.2.2-1.el6.x86_64.rpm
reboot computer (although, logging off and logging back on may do the trick)
Broadcom Wireless Card
reference: http://elrepo.org/tiki/wl-kmod
You cannot compile http://www.broadcom.com/support/802.11/linux_sta.php on Centos 6.3. You get all sorts of interesting errors. The following does work.
1) Install needed tools/packages:
# yum groupinstall 'Development Tools' # yum install redhat-lsb # yum install kernel-devel-$(uname -r)
2) As a regular user (not as root), configure a build tree and minimal .rpmmacros:
$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS} $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s -r|cut -d"." -f1).local" >> ~/.rpmmacros
3) Download wl-kmod*nosrc.rpm
For EL5: http://elrepo.org/linux/elrepo/el5/SRPMS/wl-kmod-5_100_82_112-3.el5.elrepo.nosrc.rpm
For EL6.2 and earlier: http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-5_100_82_112-3.el6.elrepo.nosrc.rpm
For EL6.3 and later: http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-5_100_82_112-4.el6.elrepo.nosrc.rpm
4) Download the Broadcom driver matching your architecture (i.e., 32-bit vs 64-bit):
From: http://www.broadcom.com/support/802.11/linux_sta.php (external link)
to: ~/rpmbuild/SOURCES/
5) Build kmod-wl as a regular user (not as root):
$ rpmbuild --rebuild --target=`uname -m` --define 'packager <your-name>' /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm ... Wrote: /home/<user>/rpmbuild/RPMS/x86_64/kmod-wl-<version>.x86_64.rpm ... + exit 0 (Note: The rpmbuild option --target=`uname -m` is only required for EL5 32-bit builds.)
6) If ndiswrapper is installed and is no longer needed, then remove it:
# yum remove \*ndiswrapper\*
7) Install kmod-wl:
# rpm -Uvh /<path-to-rpm>/kmod-wl*rpm
OR
# yum --nogpgcheck localinstall /<path-to-rpm>/kmod-wl*rpm
8) Reboot or to start wireless now:
8a) EL5:
- Works immediately after installation without intervention
8b) EL6:
# modprobe -r b43 b43legacy ssb wl lib80211 # modprobe lib80211_crypt_tkip # modprobe wl
9) Store kmod-wl*rpm for safe keeping
10) Optional – Remove build tree (and the kmod-wl binary you just built): (I would leave it in case you update the kernel)
$ rm -rf ~/rpmbuild