Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: amicheals on January 18, 2006, 04:18:54 AM

Title: trying to install updates, what commands to use
Post by: amicheals 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
Title: updates
Post by: kabowers 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
Title: trying to install updates, what commands to use
Post by: AndyCocker 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
Title: trying to install updates, what commands to use
Post by: genzil 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.