can we unzip directly in the server?

can we unzip directly in the server?

Posted by: sharpdebate
Posted on: 2006-05-24 05:10:00

Hi Guys

I was wondering if there's a way to upload a zip file directly to the server and to unzip it there. It could decrease the ftp time quite a lot. Asking because it is 2 pm now and since 11 am I am ftp_ing the CMS Moodle to my server, and it is not even half finished. And I need to upload the same CMS to two other places ...

Thanks for any suggestion.

Web's ultimate debate center - www.SharpDebate.com

Re: can we unzip directly in the server?

Posted by: norm1037
Posted on: 2006-05-24 05:45:00

You can ssh to the server and use unzip if you wish. You can use wget as well if you want.
Or, you can use the DreamHost control panel ftp under 'manage users' and click 'login now'. Then use the Upload button and from the right side (archive section) of the panel browse to your zip file, enter the location in the top left box and click the green tick mark a couple of times.



--
Norm

Opinions are my own views and are not the views of DreamHost.
Any advice offered by me should be acted upon only at your own risk.

Re: can we unzip directly in the server?

Posted by: matttail
Posted on: 2006-05-24 09:31:00

I definatly reccomend you go with wget over ssh. That way instead of needing to depend on your internet connection to push the files up to dreamhost, you can used the massive bandwidth they have and pull the file directly to your server. Let me know if you need help figuring out SSH and those commands.



--Matttail
art.googlies.net - personal website

Re: can we unzip directly in the server?

Posted by: sharpdebate
Posted on: 2006-05-24 11:21:00

Thanks guys. Well, I've tried DH's CP (https://webftp.dreamhost.com/index.php) and for some reason it is not been able to upload the zip file. I tried with small individual files, that works, but uploading the zip file doesn't work simply.

I don't really have any idea about SSH or wGet or wPut, but I will try to google these words. If you guys have any idea, thanks for sharing with me. By waiting, I will continue uploading files in the traditional way, though it takes a lot of time ... :)

Web's ultimate debate center - www.SharpDebate.com

Re: can we unzip directly in the server?

Posted by: scjessey
Posted on: 2006-05-24 11:37:00

Moodle is around 14Mb, if I recall correctly; therefore, you will not be able to upload it with the web FTP client - it has a 7Mb upload limit.

Re: can we unzip directly in the server?

Posted by: chenderl
Posted on: 2006-05-24 14:07:00

not to get too much off subject, but I just started trying to figure out this ssh. I've generated the keys but now it's talking about authorized_keys in a .ssh directory.
I made a .ssh folder since it didn't seem to already exist, but it never explains how to make or get an authorized_keys file
where do you go from here?

Re: can we unzip directly in the server?

Posted by: michael
Posted on: 2006-05-24 14:19:00

You don't need to set up authorized keys to use telnet style username/password login. just ssh to the machine using one of the ssh clients listed here:

http://wiki.dreamhost.com/index.php/SSH

Re: can we unzip directly in the server?

Posted by: sharpdebate
Posted on: 2006-05-25 00:31:00

Well, finally I uploaded the file normally, it took me about 7 hours ... now while trying to install that, the moodle auto-install is telling me that the php memory limit is very low which can create problem later ...

Here is the message ...

In reply to:

The PHP memory limit for your server is currently set to 8M.

This may cause Moodle to have memory problems later on, especially if you have a lot of modules enabled and/or a lot of users.

We recommend that you configure PHP with a higher limit if possible, like 16M.



Any tips here friends? Thanks.

Web's ultimate debate center - www.SharpDebate.comEdited by sharpdebate on 05/25/06 00:37 AM (server time).

Re: can we unzip directly in the server?

Posted by: felipe
Posted on: 2006-11-29 07:03:00

if you don't have SSH try ZipDeploy

Re: can we unzip directly in the server?

Posted by: BUGabundo
Posted on: 2006-11-30 03:01:00

there is a way to place a php.ini file on that directory, and change the memory limit.
I dont know if DH allows u to do that, nor I remember exactly what to right on the ini file, but if u google around, u'll find it.
Lets just see if some other user knows if DH allows it
Edited by BUGabundo on 11/30/06 03:02 AM (server time).

Tags: ftp ingunzipcmsuploadzip filemoodlesuggestiondebateultimatelotcenter www