Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Forum locked  This topic is locked, you cannot edit posts or make further replies.
Author Message
PostPosted: Mon Jul 07, 2003 11:26 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Updates for Red Hat 9.0 Distros. The Red Hat 9.0 Small distro is now only 670 MB minimum size.

If you've already deployed Red Hat 9.0 small or large, run the following commands to bring yours up to date:


Code:
# Remove some wasted space (About 60 megs or so)
rpm -e wireless-tools telnet-server hwcrypto yp-tools ypbind wvdial statserial slrn rp-pppoe pciutils apmd setserial hotplug irda-utils grub nss_ldap

rm -f /etc/ldap.conf.rpmsave

rm -rf /lib/modules/*

# Get the "apt-get" package manager for Red Hat
rpm -Uvh http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/apt-0.5.5cnc6-fr1.i386.rpm

# apt-get can update itself
apt-get update

# update your system
apt-get upgrade

# Fix sendmail
/etc/init.d/sendmail stop
apt-get install m4
mv -f /etc/rc.d/init.d/sendmail.rpmsave /etc/rc.d/init.d/sendmail
mv -f /etc/mail/sendmail.cf.rpmnew /etc/mail/sendmail.cf
mv -f /etc/mail/submit.cf.rpmnew /etc/mail/submit.cf
mv -f /etc/mail/submit.cf.bak /etc/mail/submit.cf
/etc/init.d/sendmail start # If it complains, repeat the .bak move above

# Generate new SSH keys
/etc/init.d/sshd stop
rm -f /etc/ssh/*_key*
/etc/init.d/sshd start

# Update procps (top, etc) - fixes a display error in top
rpm -Uvh http://tech9.net/rml/procps/packages/2.0.13/procps-2.0.13-1.i386.rpm


-Chris


Last edited by caker on Tue Jul 08, 2003 2:17 am, edited 3 times in total.

Top
   
 Post subject: error messages
PostPosted: Tue Jul 08, 2003 2:11 am 
Offline
Senior Newbie
User avatar

Joined: Sun Jul 06, 2003 12:33 am
Posts: 15
Website: http://www.i-nfotech.com
Location: Texas
[root@li-94 root]# ./newscript
usage: statserial [-n | -d | -x] [device]
-n option disables looping
-d option prints modem status as a decimal number
-x option prints modem status as a hexadecimal number
Default device is /dev/ttyS1
./newscript: line 4: nss_ldap: command not found
rpm: no packages given for install
./newscript: line 10: http://ftp.freshrpms.net/pub/freshrpms/ ... 1.i386.rpm: No such file or directory
./newscript: line 13: apt-get: command not found
./newscript: line 16: apt-get: command not found
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
./newscript: line 20: apt-get: command not found
mv: can't stat source /etc/rc.d/init.d/sendmail.rpmsave
mv: can't stat source /etc/mail/sendmail.cf.rpmnew
mv: can't stat source /etc/mail/submit.cf.rpmnew
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Stopping sshd: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
rpm: no packages given for install
./newscript: line 34: http://tech9.net/rml/procps/packages/2. ... 1.i386.rpm: No such file or directory

_________________
Be warned that typing \fBkillall \fIname\fP may not have the desired effect on non-Linux systems, especially when done by a privileged user.


Top
   
 Post subject:
PostPosted: Tue Jul 08, 2003 2:13 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Ahh - You've got line-breaks where they shouldn't be ..

-Chris


Last edited by caker on Tue Jul 08, 2003 3:05 am, edited 1 time in total.

Top
   
 Post subject: yep
PostPosted: Tue Jul 08, 2003 2:37 am 
Offline
Senior Newbie
User avatar

Joined: Sun Jul 06, 2003 12:33 am
Posts: 15
Website: http://www.i-nfotech.com
Location: Texas
yeah i copied and pasted - thanks for catching that - its damn late here.

_________________
Be warned that typing \fBkillall \fIname\fP may not have the desired effect on non-Linux systems, especially when done by a privileged user.


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group