Ttyrpld: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  [root@www temp]# rpm -i ttyrpld-2.18-2.x86_64.rpm
  rpm -i /temp/kernel-2.6.18-1.2868.fc6.src.rpm
  warning: ttyrpld-2.18-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 844c4360
rpmbuild -bp --target $(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
  .---------------------------------------------------------------------.
  vi /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/Makefile
  | Please do not forget to patch the kernel and compile the RPLDEV    |
  EXTRAVERSION = -custom-1.2868.fc6xen
  |  kernel module if you have not done so yet. If they are up to date |
cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
  | (see CHANGES.txt), you of course do not need to recompile them.   |
mv configs/kernel-2.6.18-x86_64-xen.config .config
  `---------------------------------------------------------------------'
patch -p1 -i /install/program/linux/ttyrpld/ttyrpld-2.18/kpatch/linux-2.6.17.diff
[root@www linux-2.6.18.x86_64]# pwd
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64
make rpm
rpm -i /usr/src/redhat/RPMS/x86_64/kernel-2.6.18prep-2.x86_64.rpm
mkinitrd /boot/initrd-2.6.18-prep.img 2.6.18-prep
vi /boot/grub/grub.conf
  reboot
 
  pwd
  /install/program/linux/ttyrpld/ttyrpld-2.18/k_linux-2.6
  make
  make install
  unpack sysvinit-2.86-32.i586.rpm
cp sbin/startproc /sbin
cp sbin/killproc /sbin
  rpm -i /install/program/linux/ttyrpld/libHX-1.9.2-0.x86_64.rpm
rpm -i /install/program/linux/ttyrpld/ttyrpld-2.18-2.x86_64.rpm
mkdir /var/log/rpl/
chown daemon:daemon /var/log/rpl/
chmod 700 /var/log/rpl/
chkconfig --add rpld
service rpld start
[[Category:Applications]]
[[Category:Unix]]

Latest revision as of 14:24, 20 October 2008

rpm -i /temp/kernel-2.6.18-1.2868.fc6.src.rpm
rpmbuild -bp --target $(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
vi /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/Makefile
EXTRAVERSION = -custom-1.2868.fc6xen
cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
mv configs/kernel-2.6.18-x86_64-xen.config .config
patch -p1 -i /install/program/linux/ttyrpld/ttyrpld-2.18/kpatch/linux-2.6.17.diff
[root@www linux-2.6.18.x86_64]# pwd
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64
make rpm
rpm -i /usr/src/redhat/RPMS/x86_64/kernel-2.6.18prep-2.x86_64.rpm
mkinitrd /boot/initrd-2.6.18-prep.img 2.6.18-prep
vi /boot/grub/grub.conf
reboot
pwd
/install/program/linux/ttyrpld/ttyrpld-2.18/k_linux-2.6
make
make install 
unpack sysvinit-2.86-32.i586.rpm
cp sbin/startproc /sbin
cp sbin/killproc /sbin
rpm -i /install/program/linux/ttyrpld/libHX-1.9.2-0.x86_64.rpm
rpm -i /install/program/linux/ttyrpld/ttyrpld-2.18-2.x86_64.rpm
mkdir /var/log/rpl/
chown daemon:daemon /var/log/rpl/
chmod 700 /var/log/rpl/
chkconfig --add rpld
service rpld start