|
|
(14 intermediate revisions by the same user not shown) |
Line 7: |
Line 7: |
| This page below is my scratch pad. | | This page below is my scratch pad. |
|
| |
|
| = Hardware = | | = Misc = |
|
| |
|
| * [[Interlink ClusterPairs - May 2011]]
| | {| class="wikitable" |
| | |- style="vertical-align:top;" |
| | | style="height:100px; width:100px; text-align:left;" | A |
| | | style="height:100px; width:100px; text-align:center;" | B |
| | | style="height:100px; width:100px; text-align:right;" | C |
| | |- style="vertical-align:middle;" |
| | | style="height:100px; width:100px; text-align:left;" | D |
| | | style="height:100px; width:100px; text-align:center;" | E |
| | | style="height:100px; width:100px; text-align:right;" | F |
| | |- style="vertical-align:bottom;" |
| | | style="height:100px; width:100px; text-align:left;" | G |
| | | style="height:100px; width:100px; text-align:center;" | H |
| | | style="height:100px; width:100px; text-align:right;" | I |
| | |} |
|
| |
|
| = Compile a Kernel =
| |
|
| |
|
| == RHEL 6 ==
| | {| class="wikitable" width="100%" |
| | | |- style="vertical-align:middle;" |
| * [[PPPower Server]] Tutorial.
| | | style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6610-48_front-left.png|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6610-switch/index.page ICX6610-48] 8x SFP+, 48x 1Gbps RJ45, 160Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]] |
| | | | style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6450-25_front_01.jpg|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6430-and-6450-switches/index.page ICX6450-48] 4x SFP+, 24x 1Gbps RJ45, 40Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]] |
| Using a kernel source RPM.
| | |} |
| | |
| <source lang="bash">
| |
| # Setup the build environment.
| |
| yum -y groupinstall "Development Tools"
| |
| yum -y install xmlto elfutils-libelf-devel zlib-devel binutils-devel
| |
| | |
| # ASCIIdoc needs to be installed from source at the moment.
| |
| wget -c http://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.3/asciidoc-8.6.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fasciidoc%2Ffiles%2F&ts=1290017689&use_mirror=superb-sea2
| |
| tar -xvzf asciidoc-8.6.3.tar.gz
| |
| cd asciidoc-8.6.3
| |
| autoconf
| |
| ./configure
| |
| make
| |
| make install
| |
| cd ~
| |
| | |
| # Get the src RPM
| |
| wget -c http://fedorapeople.org/~myoung/dom0/src/kernel-2.6.32.25-172.xendom0.fc12.src.rpm
| |
| | |
| # Install the source.
| |
| rpm -i kernel-2.6.32.25-172.xendom0.fc12.src.rpm
| |
| | |
| # Edit the spec file and build (remove the 'asciidoc' requirement as it was fulfilled via tarball).
| |
| cd rpmbuild/SPECS/
| |
| vim kernel.spec
| |
| rpmbuild -ba kernel.spec
| |
| </source>
| |
| | |
| Enable the source RPM repo
| |
| | |
| <source lang="bash">
| |
| vim /etc/yum.repos.d/rhel-src.repo
| |
| </source>
| |
| <source lang="bash">
| |
| [rhel-src]
| |
| name=Red Hat Enterprise Linux $releasever - $basearch - Source
| |
| baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
| |
| enabled=1
| |
| gpgcheck=1
| |
| gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
| |
| </source>
| |
| | |
| Enable the 'RHEL Server Optional' repo and then add your system to it.
| |
| * https://rhn.redhat.com/network/software/channels/details.pxt?cid=10508
| |
| * RHN -> Software Channel Entitlements -> RHEL Server Optional
| |
| | |
| | |
| Build the Xen hypervisor
| |
| | |
| <source lang="bash">
| |
| yum install transfig libidn-devel SDL-devel curl-devel libX11-devel python-devel ghostscript tetex-latex ncurses-devel gtk2-devel libaio-devel gnutls-devel openssl-devel libuuid-devel bzip2-devel xz-devel e2fsprogs-devel glibc-devel.i686 java-1.6.0-openjdk-devel libICE-devel libSM-devel gd libXpm-devel libjpeg-devel libXaw-devel imake qt-devel qt3-devel libtiff-devel cmake expat-devel dvipng ImageMagick dos2unix ruby PyXML qemu-img qemu-kvm cyrus-sasl-devel pulseaudio-libs-devel spice-server-devel
| |
| | |
| # Build dependency 'pciutils-devel'
| |
| cd ~
| |
| yumdownloader --source pciutils
| |
| rpm -ivh pciutils-3.1.4-9.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba pciutils.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/pciutils-devel-3.1.4-9.el6.x86_64.rpm
| |
| | |
| # Build dependency 'iasl'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/iasl-20100528-2.fc14.src.rpm
| |
| rpm -ivh iasl-20100528-2.fc14.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba iasl.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/iasl-*
| |
| | |
| # Build dependency 'dev86'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/dev86-0.16.17-16.fc14.src.rpm
| |
| rpm -ivh dev86-0.16.17-16.fc14.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba dev86.spec
| |
| # type 'quit' at the prompt.
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/dev86-*
| |
| | |
| # Build dependency 'perl-Text-Unidecode'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/perl-Text-Unidecode-0.04-9.fc14.src.rpm
| |
| rpm -ivh perl-Text-Unidecode-0.04-9.fc14.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba perl-Text-Unidecode.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/noarch/perl-Text-Unidecode-0.04-9.el6.noarch.rpm
| |
| | |
| ### This should be done after poppler... sort out the best order in the next go-round.
| |
| # Build dependency 'latex2html'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/latex2html-2008-4.fc13.src.rpm
| |
| rpm -ivh latex2html-2008-4.fc13.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba latex2html.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/noarch/latex2html-2008-4.el6.noarch.rpm
| |
| | |
| # Build dependency 'gd'
| |
| cd ~
| |
| yumdownloader --source gd
| |
| rpm -ivh gd-2.0.35-10.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba gd.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/gd-devel-2.0.35-10.el6.x86_64.rpm
| |
| | |
| # Build dependency 't1lib-devel'
| |
| cd ~
| |
| yumdownloader --source t1lib
| |
| rpm -ivh t1lib-5.1.2-6.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba t1lib.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/t1lib-*
| |
| | |
| # Build dependency 'Xaw3d-devel'
| |
| cd ~
| |
| yumdownloader --source Xaw3d
| |
| rpm -ivh Xaw3d-1.5E-15.1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba Xaw3d.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/Xaw3d-*
| |
| | |
| # Build dependency 'lcms-devel'
| |
| cd ~
| |
| yumdownloader --source lcms-libs
| |
| rpm -ivh lcms-1.19-1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba lcms.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/lcms-devel-1.19-1.el6.x86_64.rpm
| |
| | |
| # Build dependency 'openjpeg-devel'
| |
| cd ~
| |
| yumdownloader --source openjpeg
| |
| rpm -ivh openjpeg-1.3-7.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba openjpeg.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/openjpeg-devel-1.3-7.el6.x86_64.rpm
| |
| | |
| ### NOTE: If this step fails, log out and then back in, then try again.
| |
| # Build dependency 'poppler-data'
| |
| cd ~
| |
| yumdownloader --source poppler-data
| |
| rpm -ivh poppler-data-0.4.0-1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba poppler-data.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/noarch/poppler-data-0.4.0-1.el6.noarch.rpm
| |
| | |
| # Build dependency 'poppler-devel'
| |
| cd ~
| |
| yumdownloader --source poppler
| |
| rpm -ivh poppler-0.12.4-3.el6_0.1.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba poppler.spec
| |
| cd ~
| |
| rpm -Uvh rpmbuild/RPMS/x86_64/poppler-*
| |
| # This may be needed if the shipped poppler was removed, taking these with them.
| |
| yum install latex2html tex-preview texlive texlive-dvips texlive-latex texlive-texmf-latex texlive-utils
| |
| | |
| # Build dependency 'teckit'
| |
| cd ~
| |
| yumdownloader --source teckit
| |
| rpm -ivh teckit-2.5.1-4.1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba teckit.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/teckit-*
| |
| | |
| # Build dependency 'sharutils'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/sharutils-4.10-1.fc14.src.rpm
| |
| rpm -ivh sharutils-4.10-1.fc14.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba sharutils.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/sharutils-4.10-1.el6.x86_64.rpm
| |
| | |
| # Build dependency 'plotutils'
| |
| cd ~
| |
| yumdownloader --source plotutils
| |
| rpm -ivh plotutils-2.5-7.1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba plotutils.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/plotutils-*
| |
| | |
| # Build dependency 'libEMF'
| |
| cd ~
| |
| yumdownloader --source libEMF
| |
| rpm -ivh libEMF-1.0.4-1.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba libEMF.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/libEMF-*
| |
| | |
| # Build dependency 'pstoedit'
| |
| cd ~
| |
| yumdownloader --source pstoedit
| |
| rpm -ivh pstoedit-3.45-10.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba pstoedit.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/pstoedit-*
| |
| | |
| | |
| | |
| | |
| | |
| ### Yes, the 'kpathsea' source is 'texlive', that's not a typo.
| |
| # Build dependency 'kpathsea-devel'
| |
| cd ~
| |
| yumdownloader --source kpathsea
| |
| rpm -ivh texlive-2007-56.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba texlive.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/kpathsea-devel-2007-56.el6.x86_64.rpm
| |
| | |
| ### Left off here...
| |
| | |
| yum remove texlive latex2html tex-preview texinfo-tex texlive-dvips texlive-latex texlive-texmf-latex texlive-utils
| |
| yum install tex-preview
| |
| | |
| ### This also creates 'info-4.13a-8.el6.x86_64.rpm', may need to update to it...
| |
| # Build dependency 'texinfo-tex'
| |
| cd ~
| |
| yumdownloader --source texinfo
| |
| rpm -ivh texinfo-4.13a-8.el6.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba texinfo.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/texinfo-*
| |
| | |
| ### Get dependent packages.
| |
| # yum install texlive-context texlive-xetex
| |
| | |
| # Build dependency 'tetex-tex4ht'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/tetex-tex4ht-1.0.2008_09_16_1413-3.fc12.src.rpm
| |
| rpm -ivh tetex-tex4ht-1.0.2008_09_16_1413-3.fc12.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba tetex-tex4ht.spec
| |
| cd ~
| |
| rpm -ivh rpmbuild/RPMS/x86_64/tetex-tex4ht-1.0.2008_09_16_1413-3.el6.x86_64.rpm
| |
| | |
| # Build dependency 'texi2html'
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/texi2html-1.82-5.fc12.src.rpm
| |
| rpm -ivh texi2html-1.82-5.fc12.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba texi2html.spec
| |
| | |
| | |
| yum install cyrus-sasl-devel pulseaudio-libs-devel spice-server-devel
| |
| # Build qemu-common
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Fedora/source/SRPMS/qemu-0.13.0-0.7.rc1.fc14.src.rpm
| |
| | |
| | |
| # Build Xen
| |
| cd ~
| |
| wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Fedora/source/SRPMS/xen-4.0.1-6.fc14.src.rpm
| |
| rpm -ivh xen-4.0.1-6.fc14.src.rpm
| |
| cd rpmbuild/SPECS/
| |
| rpmbuild -ba xen.spec
| |
| cd ~
| |
| | |
| </source>
| |
| | |
| = COS Stuff =
| |
| | |
| * [[Leah - README COS Software]]
| |
| | |
| = Ongoing =
| |
| | |
| * [[Red Hat Cluster Service 3 Tutorial]]
| |
| * [[Xen vs. KVM Benchmark - Nov. 2010]]
| |
| | |
| = Sandbox =
| |
| | |
| I ask people questions here.
| |
| | |
| = Papers to write =
| |
| | |
| I took these off the front page until I am actually ready to start them.
| |
| | |
| * [[3+ Node CentOS5 Cluster + SoftSAN]] - How to build a 3+ Node Cluster using a home-brew iSCSI/SAN server on CentOS 5
| |
| * [[Setting Up Multilink PPP on Fedora 13]]
| |
| * [[Postfix + Postgrey + PostgreSQL on Debian|Postfix + Postgrey + PostgreSQL]] - Multi-domain, PgSQL authenticated mail server
| |
| | |
| = Code Dump =
| |
| | |
| == AVR from CLI ==
| |
| | |
| <source lang="bash">
| |
| perl -MDevice::SerialPort -e 'Device::SerialPort->new("/dev/ttyUSB0")->pulse_dtr_on(1000)'; \
| |
| ./hardware/tools/avrdude -Chardware/tools/avrdude.conf -q -q -pm328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/home/pekka/sketchbook/Blink2/applet/Blink2.hex; | |
| </source>
| |
| | |
| == Mux/Demux ==
| |
| | |
| <source lang="text">
| |
| | |
| <- Outputs ->
| |
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| |
| -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
| |
| S0 ----/ \ S0 ----/ \
| |
| S1 ---/ \ S1 ---/ \
| |
| S2 --/ \ S2 --/ \
| |
| S3 -/ \ S3 -/ \
| |
| /_______________________________________________________________________\ /_______________________________________________________________________\
| |
| | |
| |
| \-----------------------------------. .------------------------------------/
| |
| | |
| |
| -+---+-
| |
| S4 -/ \
| |
| /_________\
| |
| |
| |
| Input
| |
| S0-S5 = Source pins
| |
| </source>
| |
| | |
| = Research =
| |
| | |
| [[MediaWiki on Debian/PostgreSQL]]
| |
| | |
| [[MediaWiki on CentOS/MySQL]]
| |
| | |
| [[Bath Bookshelf]]
| |
| | |
| -----
| |
| | |
| = Main Links =
| |
| | |
| [[T400s]]
| |
| | |
| [[Node Assassin]]
| |
| | |
| [[Red Hat Clustering]]
| |
| | |
| [[Sample Xen 2-node Cluster Network Map]]
| |
| | |
| = MW Code Testing =
| |
| | |
| ===== h5 heading =====
| |
| | |
| Le text.
| |