Koozali.org: home of the SME Server

How to update PHP and MySql

amicheals

How to update PHP and MySql
« on: January 17, 2006, 05:14:21 AM »
HI, I am trying to install a crm application (vtiger) and would like to know who to update php and MySql.

I have the file downloaded to me computer and I know how to log in using ssh as root to the server (SME box).

what command do I use to download the package (the update package) from either my computer to the SME server or from the internet to the SME server?

I tried wget http://...
and I get a disruption error.

I tried rpm http://...
and it seems like it started rpm

please point me in the right direction.

Amy

trapdoor1873

How to update PHP and MySql
« Reply #1 on: January 17, 2006, 05:40:41 AM »
use command   wget http://............

amicheals

How to update PHP and MySql
« Reply #2 on: January 17, 2006, 04:14:17 PM »
hi,
can i dowload the script to my desktop and use the wget command.
basically wget it from my desktop on the local network.  If so how would I do it?

Thanks
Amy

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to update PHP and MySql
« Reply #3 on: January 17, 2006, 04:54:54 PM »
Quote from: "amicheals"
HI, I am trying to install a crm application (vtiger) and would like to know who to update php and MySql.


Upgrade to 7.0pre1 - you'll then have php 4.3.9 and mysql 4.1.12, which satisfy the prerequisites of vtiger.

amicheals

How to update PHP and MySql
« Reply #4 on: January 17, 2006, 06:16:52 PM »
how do I upgrade to SME 7.0pre1.  I am very new to SME and I did a search and I cannot find a step by step direction on how to do it.  Not just download and install.  I mean how to download (what to do exactly)

amicheals

How to update PHP and MySql
« Reply #5 on: January 17, 2006, 06:19:06 PM »
how do I upgrade to SME 7.0pre1.  I am very new to SME and I did a search and I cannot find a step by step direction on how to do it.  Not just download and install.  I mean how to download (what to do exactly)

Jon_Reynolds

How to update PHP and MySql
« Reply #6 on: January 18, 2006, 07:36:08 AM »
Hi Amy,

What type of system is the file located on, a windows or Linux system? Are you trying to copy the file from windows to linux or from linux to linux?

SSH is not what you need to copy the file over, you will need to use SCP. If you are using linux to linux then the command would look like this:

scp filename <useronremotebox>@<ipaddressofmachinereceivingfile>:<pathtocopyto>

This is how it would look using a file named 'file.sh' and using the root user on the remote machine and putting the file into /root.

scp file.sh root@192.168.1.1:/root/


If you are using a windows machine to transfer the file over to the linux machine you will want to download 'winscp' and then you can drag and drop the file into the linux system.

As for the script, you don't need to copy and paste it into the command line of the linux box. You want to transfer the script over to the linux box and then run it like this:

Using our ficticious file name of 'file.sh' at the command line it would look like this:

[root@comp ~]./file.sh

Hope that helps,

Jon

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to update PHP and MySql
« Reply #7 on: January 18, 2006, 02:13:02 PM »
Quote from: "amicheals"
how do I upgrade to SME 7.0pre1.  I am very new to SME and I did a search and I cannot find a step by step direction on how to do it.  Not just download and install.  I mean how to download (what to do exactly)


You upgrade to 7.0pre1 the same way you installed 6.0. You download an iso image file, burn to CDROM, then boot from that CDROM, and follow the prompts.