GAME + TUTORIAL + HELP + GUIDE + HOW TO + ONLINE + MMO + RPG + RTS + FPS + SIMULATOR = PliusInfo
20 May 2013
How to zip folders on server with webmin
If you got massages like:
Failed to download file : A directory cannot be downloaded unless the zip command is installed
or
zip: command not found ubuntu
or
something else...
I was getting errors in webmin, to solve my problem I simply connected to my server with PuTTY and ran following commands
apt-get update
and
sudo apt-get install zip
now you can download folders in webmin or make zip files with command line and then download zip files.
To make zip file with command line:
go to folder where you have folder needed to zip
cd goto/folder_directory
run command to make zip file
zip -r ZipFileName.zip folder_name_YOUwantTO_zip
(change red text with your information)
Have fun :)
Labels:
How to,
Unix / Linux
Subscribe to:
Post Comments (Atom)
Thanks for the post pliusInfo
ReplyDeletewhere the command at???
ReplyDeletecan u explain a bit more??
i do not understand
Thank you for your Post. But the command does not work.
ReplyDeleteI tried this command : zip -r ZipFileName.zip where/www
my files are in where/www.
the result is sh: 1: zip: not found
3 years later...
ReplyDeletesudo apt-get install zip
was all Webmin needed THANKS!