Nayara
By:
Nayara

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

September 18, 2015 2.7k views
Apache Linux Basics

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?

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

Have another answer? Share your knowledge.