We have an external disk with RedHat 6.3 provided by tech support. We have to work from that base because it has the user ID system configured for the KU HOME domain. Otherwise, I would dump that and just use Centos, which i also have to maintain separately for myself and other users who don't have the license rights to run RedHat on personal hardware.
Here's my journal of installs and changes since I've received this system. Hopefully, it will help other people know what is needed to turn the base in install into a fully functioning system.
Paul Johnson
2012-09-13
Starting from workstation RedHat EL 6 provided by Jason Olenberger
1. yum install
emacs
2. configure EPEL repository
A. rhn optional chanels config hassle began: solved below in step 8
B. Run rpm to install epel from fedoraproject.org/wiki/EPEL
3. create pauljohn32 local account, put in wheel group.
4. Configure /etc/sudoers to enable the wheel group
- tried install r-devel, but failed because package texinfo-tex not available.
texinfo-tex is in the rhn optional repo, which is not available yet (see 2A).
5. install yumex (from EPEL)
6. Install lyx (in yumex)
-- hm.. R install still fails because of texinfo-tex
7. Install emacs-auctex, texinfo, intltool, automake, libtool, Terminal,
TexMacs
###################day 2################################
8. Victory! found where to get optional rhn repo that has other
required elements:
[root@CRMDA-Linux1 Desktop]# rhn-channel --list
rhel-x86_64-workstation-6
[root@CRMDA-Linux1 Desktop]# rhn-channel -a -c
rhel-x86_64-workstation-optional-6
Username: pauljohn
Password:
[root@CRMDA-Linux1 Desktop]# rhn-channel --list
rhel-x86_64-workstation-6
rhel-x86_64-workstation-optional-6
9. yumex: install R R-devel and all R packages available
10. emacs-ess from https://pj.freefaculty.org/Centos/6/i386/RPMS
11. install my init.el in the system startup config
so that Emacs and ESS work as described in my notes on "Emacs
has no learning curve"
12. yumex install
subversion,
subversion-gnome,
cvs,
tcl
tcl-devel,
tk
tk-devel,
tk-table,
thunderbird
thunderbird-lightning
tidy
xfig
transfig
fig2ps
inkscape
inkscape-docs
inkscape-view
13. yumex install
rpm-build
gcc-objc
gcc-objc++
libobjc
gperf
14. yumex install
lyx
TeXmacs
gimp
gimp-data-extras
gimp-help
15 yumex install
automake
automake16
autoconf
autoconf213
qt-devel
blt
blt-devel
gtk2-devel
glib-devel
16. yumex install groups:
XFCE
Eclipse
17. yumex install
pdfjam
firmware-addon-dell
java-1.6.0-openjdk-plugin
18. Flash
Download "yum" option, from:
http://get.adobe.com/flashplayer
Install that:
su -c 'rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm'
su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux'
su -c 'yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin'
19. Acrobat Acroread:
Hmm. Stumped here on x86_64 support. Appears no 64 bit version exists.
Have to make do with Evince and xpdf, for now
20. Run this script with R to update and download a TON of R packages:
https://pj.freefaculty.org/R/SystemAdmin/R-labSelectInstall-02.R
Install that program to /usr/local/bin, then make sure it runs weekly
by putting this in the /etc/cron.weekly folder
$ cat /etc/cron.weekly/Rupdate.sh
R CMD BATCH /usr/local/bin/R-labSelectInstall-02.R >> /tmp/R-update.txt
This is not fooloproof, I was trying to use Rscript in the shebang
with that file so as to simply run "R-labSelectInstall-01.R", but
it seems not functioning. I just don't understand how Rscript is
supposed to work, or maybe it is blocked by SELINUX. Will check.
21. Created an RPM repository with this file in
/etc/yum.repos.d/pjku.repo:
$ cat /etc/yum.repos.d/pjku.repo
[pjku]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=https://pj.freefaculty.org/EL/6/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/PaulJohnson-BinaryPackageSigningKey
[pjku-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
baseurl=https://pj.freefaculty.org/EL/6/SRPMS
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/PaulJohnson-BinaryPackageSigningKey
Put my public Binary Package Signing key (which is in
https://pj.freefaculty.org/EL) in
/etc/pki/rpm-gpg/PaulJohnson-BinaryPackageSigningKey
On the build machine, it is necessary to have the private key
imported, and this in
~/.rpmmacros
%_topdir /home/pauljohn32/LinuxDownloads/redhat
%_unpackaged_files_terminate_build     0
%_missing_doc_files_terminate_build    0
%_signature gpg
%_gpg_name Paul Johnson (Binary Package Signing Key)
After installing that, then rpm --addsign *.rpm signs the packages.
So the work flow to update the repository will go like this.
1. on the work machine, copy the whole EL repo
rsync -e ssh -rav pauljohn32@freefaculty.org:freefaculty.org/EL .
2. Build RPMS in ~/LinuxDownloads/redhat like I always do, then copy
the RPMS into the EL/6 whatever hierarchy.
3. Sign the RPMS.
4. Run createrepo EL/6/x86_64Â (do same for other folders)
5. upload repo back to server
rsync -e ssh -ravn EL pauljohn32@freefaculty.org:freefaculty.org
22. CONFIGURE GDM to NOT show usernames.
$ sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type Boolean --set /apps/gdm/simple-greeter/disable_user_list True
23. Filezilla
$ sudo yum install filezilla
24. When installing this portable device as external drive on systems
1. Nvidia video drivers.
use nvidia driver from el-repo as sketched here:
https://sites.google.com/site/guenterbartsch/blog/installnvidiadriversoncentos6andrhel6
After that installs, go to /etc/yum.repos.d and change enabled=0 in elrepo file. That prevents automatic updates when yum runs.
2. Re-name the system to CRMDA010L (just add L to ordinary name of machine).
3. Join to domain