Question

How I can download all my server in a .zip file?

Posted September 18, 2015 9.3k views
Linux Basics Apache

I don’t know if my sistem is LEMP or XAMP or LAMP… How I discover it?

All I know is that my server is Apache - Linux CentoS 6.

And I want download all file of my webserver to my local host, because I need search files in my explorer, because in terminal commands I don’t find files.

Can you give me the best way to download all my server in a zip file? Or can you give me tips?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hi,

“I don’t know if my sistem is LEMP or XAMP or LAMP… How I discover it?” :

Your System is CentOS 6 :-)

LAMP Software
OS Linux
Webserver Apache
Database MySQL
Language PHP
LEMP Software
OS Linux
Webserver Nginx
Database MySQL
Language PHP
XAMP (LAMP for Windows) Software
OS Linux
Webserver Apache
Database MySQL
Language PHP

“And I want download all file of my webserver to my local host, because I need search files in my explorer, because in terminal commands I don’t find files.” :

The unsafe way

yum install zip
zip -r /var/www/html/html.zip /var/www/html

Now you can dowload all files at domain.com_or_IP/html.zip

The safe way

yum install zip
zip -r /var/www/html/html.zip /root

Use SFTP and download it

Submit an Answer