HTTrack — an offline browser that allows you to download Web sites to your local computer.
Switch to the root user:
su
The installation command in Ubuntu/Debian:
apt-get install httrack
The installation command in CentOS:
yum install httrack
Create a separate directory and go into it so that when downloading the files are not scattered around the current one:
mkdir sitename cd sitename
Let’s start downloading the site:
httrack sitename.com
If the operating system is Linux with a graphical interface, then you can install WebHTTrack which has a graphical interface:
apt-get install webhttrack