Download a Complete Website with wget

Saving a Website for Offline Use Using wget, you can download an entire website for offline access with this command: wget -rkpNc -e robots=off http://www.example.com/ Parameters Explained -r: Download pages recursively. -k: Adjust links for local viewing. -p: Fetch all resources (images, scripts). -N: Only download new or modified files. -e robots=off: Ignore robots.txt restrictions. -c: Continue the download if interrupted. With this command, wget reliably saves the entire site for offline use.

2024-11-08 ยท 1 min ยท 73 words ยท Stefan

cAdvisor on Synology

cAdvisor on Synology Running cAdvisor in Docker on Synology was a challenge, as it often wouldnโ€™t start despite no changes to the launch options. The issue turned out to be related to the inotify settings. The Problem When running the following command to start cAdvisor: docker run --name=cadvisor \ --volume="/:/rootfs:ro" \ --volume="/var/run:/var/run:ro" \ --volume="/sys:/sys:ro" \ --volume="/var/packages/ContainerManager/var/docker/:/var/lib/docker:ro" \ --security-opt no-new-privileges=true \ --restart=on-failure:5 \ google/cadvisor:latest --docker_only=true cadvisor: image: gcr.io/cadvisor/cadvisor:latest container_name: cadvisor read_only: true security_opt: - no-new-privileges=true command: - "--docker_only=true" volumes: - /:/rootfs:ro - /var/run:/var/run:ro - /sys:/sys:ro - /var/packages/ContainerManager/var/docker/:/var/lib/docker:ro restart: on-failure:5 I encountered the error: ...

2024-11-07 ยท 1 min ยท 205 words ยท Stefan