Difference between revisions of "Wget: offline web mirror"

From OnnoWiki
Jump to navigation Jump to search
Line 13: Line 13:
  
  
 +
Ubah permission
 +
 +
chmod -Rf 777 /var/www/html/webmirror
 +
chown -Rf nobody: /var/www/html/webmirror
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Internet Offline]]
 
* [[Internet Offline]]

Revision as of 17:16, 11 October 2018

Berikut adalah perintah untuk melakukan web mirror

mkdir /var/www/html/webmirror
cd /var/www/html/webmirror
wget --mirror --convert-links --adjust-extension --page-requisites --html-extension --wait=2 --no-parent https://www.darmajaya.ac.id/
wget -mkEpnp https://www.darmajaya.ac.id/

atau

wget -mk -w 20 https://www.darmajaya.ac.id/
wget --mirror --convert-links --html-extension --wait=2 -o log https://www.darmajaya.ac.id/


Ubah permission

chmod -Rf 777 /var/www/html/webmirror
chown -Rf nobody: /var/www/html/webmirror

Pranala Menarik