Koozali.org: home of the SME Server

Downloading in Linux (Newbie)

Andy

Downloading in Linux (Newbie)
« on: January 07, 2003, 08:10:57 AM »
Hello,

I am new to SME and Linux, and have been using Windows NT/2K before.

I have installed 5.5, and would like to update to the recent update.

The problem is that every text concerning this, refers to something like...

'To install the update, download the appropriate RPMS into a directory on your SME Server '

But how exactly do I do that from the Linux console(ssh)?
What is the appropriate command?

Andy

Des Dougan

Re: Downloading in Linux (Newbie)
« Reply #1 on: January 07, 2003, 08:20:29 AM »
Use the wget command to download. If you've installed the man RPM from the CD, "man wget" will give you more assistance.

Des Dougan

Cyrus Bharda

Re: Downloading in Linux (Newbie)
« Reply #2 on: January 07, 2003, 08:42:58 AM »
There is an easier way, download the update system rpm from here:

http://www.dungog.net/sme/files/devinfo-mitel-update-system-0.0.1-12.noarch.rpm

using the wget command and then after you have downloaded it, in the same directory type this:

rpm -Uvh devinfo-mitel-update-system*.rpm

and then a panel will be added to your server manager and hey presto you can easily install rpm's from there :-)

Its just the inital download/getting it to your sme that is your problem, I use rpm manager, as it allows for easy uploading to the sme under the directory /opt/adminitration/rpm-manager. The only problem is I cannot remember where I downloaded it from and I have searched the forum for the file name and even googled it to no avail, try looking for this filename:

dmc-mitel-rpmmanager-0.0.1-1.noarch.rpm

after you find that and get it to your sme and install it it gives you a page at:

http://yourdomain.com/rpm-manager

that lets you upload easily from there, but it still does not get over the fact that you have to get it there, I think I just burnt it onto a cd and copied it across like that, I just cannt remember, good luck though :-)

OH OH OH I DO remember!!

from a windows machine goto the network neighbourhood and find your sme box name, in my case it was e-smith (highly original :-)) and then just copy file to there, now ssh to your sme and you'll find those files under the directory:

/home/e-smith/files/primary

from the command prompt type "mc" without the quotes and that will give you a old stile windows explorer type interface and the simply click on the .. and then home, then e-smith, etc etc etc,

now you will have to change the chmod of those files as copying it across that way stuffs up the ownership, so then hit F10 to quit and then type "chmod 777 *.rpm" without quotes and then type rpm -Uvh name-of-rpm*.rpm

if you do that for the update system rpm then after that installs it'll be the last time you have to do it that way if you wish, but anyway email me off list if you have any more probs, I'll be only glad to help you out :-)

Cyrus Bharda

Andy

Re: Downloading in Linux (Newbie)
« Reply #3 on: January 07, 2003, 10:06:28 AM »
Thanks very much, wget did the trick!

I have installed the server-manager panel and updated the system...

Andy

Bill Talcott

Re: Downloading in Linux (Newbie)
« Reply #4 on: January 07, 2003, 05:07:50 PM »