|
|
(6 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | == Upgrade Debian Lenny to Squeeze ==
| + | Moved to [https://www.roaringpenguin.com/wiki/index.php/Upgrade_to_Squeeze Upgrade to Squeeze] to fit the naming convention of other quides. |
− | You must go from Debian release to Debian release, unlike CanIt itself
| |
− | which allows "jumping" over interim releases.
| |
− | | |
− | Since Lenny is no longer supported, we recommend upgrading the Debian
| |
− | version to Squeeze (6.0). (DO NOT upgrade to Wheezy (7.0) without
| |
− | first contacting us.) Here are the commands you should run as root.
| |
− | We recommend doing the upgrade during Roaring Penguin's office hours
| |
− | (Mon-Fri, 9:00-17:00 EST) in case you run into trouble.
| |
− | <ol>
| |
− | <li>Make sure your existing CanIt installation is up-to-date:
| |
− | :<tt>upgrade-canit-appliance</tt> | |
− | <li>Now upgrade the OS to Squeeze:
| |
− | :<tt> upgrade-canit-appliance squeeze</tt>
| |
− | Then you'll see messages scroll by, as the machine downloads, unpacks,and re-starts assorted services. (This all only delays mail during there-start phase).
| |
− | <li>Since Debian has changed the way it distributes firmware, you may need additional packages. Even if you don't need them, installing them won't hurt so we recommend running:
| |
− | :<tt>apt-get install firmware-linux-free firmware-linux-nonfree firmware-bnx2 firmware-bnx2x</tt>
| |
− | (That's all one long line in case it got line-wrapped by a mail reader.)
| |
− | <br>If, after running this command, you still receive warnings about "Possible missing firmware", please reply with the exact error message. (Run lsmod and check for unusual modules just in case.)
| |
− | <li>Reboot the machine. After the machine boots run the following to check if mail is flowing.
| |
− | :<tt>tail -f /var/log/mail.log or wherever they are to see if working</tt>
| |
− | </ol>
| |
− | | |
− | ----
| |
− | NOTE: The above commands are for a single machine. If you are upgrading a cluster, then you should modify the steps as follows, starting with the DataBase machine:
| |
− | <ol style="list-style-type:lower-roman">
| |
− | <li>Before every command above, run:
| |
− | <br><tt>--> /etc/init.d/canit-system stop-gracefully</tt>
| |
− | <li>After the command in step (4), run:
| |
− | <br><tt>--> /etc/init.d/canit-system start</tt>
| |
− | <li>Also, all commands should be run in parallel. That is, run (i) and then (1) on all machines, then (i) and (2) on all machines, and so on.
| |
− | </ol>
| |
− | <div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
| |
− | [[category:All]][[category:Upgrade]]
| |