Koozali.org: home of the SME Server

trying to install updates, what commands to use

amicheals

trying to install updates, what commands to use
« on: January 18, 2006, 04:18:54 AM »
Hi,
I am trying to update PHP and MySQL.
I've ssh into the linux server console and logged on as root.
I've downloaded the script to my desktop (the default download location on my computer)

I've opened the script in a text browser and copied the entire file to the console and pressed enter.

This process worked for updating php.

When I tried to do this with MySQL it stops and nothing happens.

How do I get files from my desktop to the server through ssh.

I tried wget http://...
and I get an error: Host not found
I tried rpm -Uvh http://...
and I get an error:  Transfer failed.

Thanks
Amy

kabowers

updates
« Reply #1 on: January 18, 2006, 09:12:02 AM »
the link should be wget http://ergin.dyndns.org/download/MySQL-4_0_26.sh

To move files from your desktop to the server use WinSCP, if you search you will find links

AndyCocker

trying to install updates, what commands to use
« Reply #2 on: January 18, 2006, 12:35:43 PM »
Amy,

There's no need to open the script and paste it into the console. Just get the script onto your SME box, navigate to the directory where the script resides, then just type
Code: [Select]
sh <name of script>.sh
So if the script was called MySQL-4_0_26.sh, the you would type
Code: [Select]
sh MySQL-4_0_26.sh

Regards

Andy Cocker

Offline genzil

  • ***
  • 51
  • +0/-0
    • http://www.tuxx.org.uk
trying to install updates, what commands to use
« Reply #3 on: January 18, 2006, 01:33:46 PM »
Please be aware that doing updates like this will not make upgrading easy when 7.0 is released.
Smile :-)......