Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Tips, Tricks & Tutorials

Post new topic   This topic is locked: you cannot edit posts or make replies.
Upgrading SMS
View previous topic :: View next topic  
Author Message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Sun Feb 13, 2011 8:28 pm    Post subject: Upgrading SMS Reply with quote

Upgrading SMS it's not so difficult or dangerous as it may sound.
In order to upgrade SMS to latest version, most of the times requires to put you machine into single user mode level.
Specifically when there is a new glibc or kernel, but it never hurts switching to single user mode every time we upgrade.
You can switch to single user mode by editing /etc/inittab and change
id:3:initdefault:
to
id:1:initdefault:
you can also do
Code:
 sed -e "s,id:3:initdefault:,id:1:initdefault:,g" -i /etc/inittab

The upgrade procedure is quite simple

Code:
1. Put your machine in single user mode
2. Upgrade pkgtools and glibc-solibs before other packages
3. Use upgradepkg --install-new for the rest.
4. Fix your *.new config files under /etc, some of them need attention
5. Update your initrd (if you use one).
5. Don't forget to run lilo
6. Return your machine to multi-user mode


On the following video tutorial I upgrade an SMS-1.4.8 with kernel 2.6.29.6 to SMS-Current (at the time of making) with kernel 2.6.35.10.

- Video Tutorial -
________________________



You can download the video in .mkv format.
smsupgrade.mkv 5.1MB

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    SMS Forum Index » Tips, Tricks & Tutorials All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional