Long's blog

Góp nhặt của một kẻ mù công nghệ :p

  • Café
    • soiqualang_chentreu
    • Trắng Xóa!
    • Capuchino
    • Robusta Café
    • Đen nóng Café
  • Dev
    • Web
    • Công nghệ
    • Uncategorized
  • GIS
    • Shared Map
    • QGIS
    • WebGIS
    • PostgreSQL, PostGIS
    • GeoServer
    • Openlayers
  • Viễn thám
  • Research
    • Ý tưởng
    • Research
    • Sói’s Tutorials
  • Tài liệu
    • GIS – Remote Sensing news
    • Tài liệu
    • Dữ liệu
    • Mẹo vặt
  • My Apps
    • Khoa học thường thức
    • Trắng Xóa – Danh ngôn
    • Harmonica tabs
    • Ảnh chế hài hước, dzui dzui
    • GeoGIS
    • Guitar tabs – Viettabs
    • 2000 Phác đồ điều trị bệnh
    • Q2A
    • Học HTML
    • Openlayers Cookbook
    • OpenLayers3 Leaflte Cookbook
    • OpenLayers Create Code
    • PostgreSQL Tools
    • Get link Remote Sensing Data
    • Lon,Lat Decimal
    • Download Landsat Images
    • Tra cứu vận đơn Viettel Post
    • GET Map OGC WMS, WFS, WCS services
    • PHP-SLD Generate
    • Viettabs.cf – Guitar tabs sharing
    • Files to Videos
  • Books
  • Games
    • Harvest Moon
  • Café
    • soiqualang_chentreu
    • Trắng Xóa!
    • Capuchino
    • Robusta Café
    • Đen nóng Café
  • Dev
    • Web
    • Công nghệ
    • Uncategorized
  • GIS
    • Shared Map
    • QGIS
    • WebGIS
    • PostgreSQL, PostGIS
    • GeoServer
    • Openlayers
  • Viễn thám
  • Research
    • Ý tưởng
    • Research
    • Sói’s Tutorials
  • Tài liệu
    • GIS – Remote Sensing news
    • Tài liệu
    • Dữ liệu
    • Mẹo vặt
  • My Apps
    • Khoa học thường thức
    • Trắng Xóa – Danh ngôn
    • Harmonica tabs
    • Ảnh chế hài hước, dzui dzui
    • GeoGIS
    • Guitar tabs – Viettabs
    • 2000 Phác đồ điều trị bệnh
    • Q2A
    • Học HTML
    • Openlayers Cookbook
    • OpenLayers3 Leaflte Cookbook
    • OpenLayers Create Code
    • PostgreSQL Tools
    • Get link Remote Sensing Data
    • Lon,Lat Decimal
    • Download Landsat Images
    • Tra cứu vận đơn Viettel Post
    • GET Map OGC WMS, WFS, WCS services
    • PHP-SLD Generate
    • Viettabs.cf – Guitar tabs sharing
    • Files to Videos
  • Books
  • Games
    • Harvest Moon

No Widgets found in the Sidebar Alt!

  • Lang thang,  Linux,  Mẹo vặt

    Backing up your docker volumes

    27/06/2022 /

    Backing up your docker volumes https://github.com/soiqualang/docker-backup-volume How to backup your volume backup-volume.sh will create a new running docker container and mount the volume to the container. A docker cp will be run and the contents of the volume will be saved into a location determined by: $prefix/$volume/<timestamp>_$volume.tar.gz An example to run the command is the following: backup-volume.sh -v <volume_name> -p <prefix> backup-volume.sh ```bash #!/usr/bin/env bash # creates a backup of the docker volume while [ $# -gt 0 ]; do case "$1" in -v|-volume|--volume) volume="$2" ;; -p|-prefix|--prefix) prefix="$2" ;; -h|-help|--help) printf "--volume the name of the volume\n" printf "--mount the mount point of the volume\n" exit 1 ;; *) printf "***************************\n" printf "*…

    read more
    soiqualang_chentreu 0 Comments
  • Lang thang,  Linux,  Mẹo vặt

    Awesome Docker Compose

    27/06/2022 /

    Awesome Docker Compose Danh sách các Docker Compose phổ biến Just pull and run =)) https://github.com/docker/awesome-compose Awesome Compose  A curated list of Docker Compose samples. These samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose. Note: The following samples are intended for use in local development environments such as project setups, tinkering with software stacks, etc. These samples must not be deployed in production environments. Contents Samples of Docker Compose applications with multiple integrated services. Single service samples. Basic setups for different platforms (not production ready - useful for personal use). Samples of Docker Compose applications…

    read more
    soiqualang_chentreu 0 Comments
  • Lang thang,  Mẹo vặt

    [Backup Docker] Saving Images and Containers as Tar Files for Sharing

    13/06/2022 /

    [Backup Docker] Saving Images and Containers as Tar Files for Sharing Saving Images and Containers as Tar Files for Sharing Imagine a scenario where you have built Docker images and containers that you would be interested to keep and share it with your other collaborators or colleagues. The below methods shall help you achieve it. Four basic Docker CLI comes into action: The docker export - Export a container's filesystem as a tar archive The docker import - Import the contents from a tarball to create a filesystem image The docker save - Save one or more images to a tar archive (streamed to STDOUT by default) The docker load - Load an image from a tar archive…

    read more
    soiqualang_chentreu 0 Comments
  • Công nghệ,  Lang thang,  Linux

    Cài Docker Compose trên Ubuntu (Linux)

    19/05/2022 /

    Cài Docker Compose trên Ubuntu (Linux) Lỗi Unable to locate package docker-compose-plugin Ban đầu mình cài với lệnh sudo apt install docker-compose-plugin, tuy nhiên bị lỗi sau: Unable to locate package docker-compose-plugin haugiang@hg-nn-web:/nongnghiep/docker/postgresql$ sudo apt-get update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,570 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,810 kB] Fetched 4,632 kB in 7s (667 kB/s) Reading package lists... Done haugiang@hg-nn-web:/nongnghiep/docker/postgresql$ sudo apt-get install docker-compose-plugin Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package docker-compose-plugin haugiang@hg-nn-web:/nongnghiep/docker/postgresql$ sudo apt install docker-compose-plugin…

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    [Notes] Run batch as Service in Window

    13/11/2020

    Default Open URL in new chrome tab

    08/06/2017
  • Công nghệ,  Lang thang,  Mẹo vặt

    Fix Docker WSL 2 installation is incomplete

    14/04/2022 /

    Fix Docker WSL 2 installation is incomplete. Error info WSL 2 installation is incomplete. The WSL 2 Linux kernel is now installed using a separate MSI update package. Please click the link and follow the instructions to install the kernel update: https://aka.ms/wsl2kernel. Press Restart after installing the Linux kernel. Download WSL2 update file Download WSL2 Linux kernel update package for x64 machines Mirror Link: https://1drv.ms/u/s!AhouGCUE4BeHuItGVjA18sPeYIxPbA?e=k8DYad Install WSL2 Linux kernel update package for x64 machines Results After fixing Docker WSL 2 installation is incomplete. References https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Note Viết plugin python cho QGIS – phần 1

    27/04/2017

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    [Notes] Run batch as Service in Window

    13/11/2020
  • Công nghệ,  Lang thang,  Mẹo vặt

    Cấu hình Docker WSL2 – chuyển vị trí lưu docker sang ổ đĩa khác

    17/03/2022 /

    Cấu hình Docker WSL2 - chuyển vị trí lưu docker sang ổ đĩa khác # Ngắt Docker với Data của nó wsl --unregister docker-desktop-data # Import Docker data qua trị trí mới wsl --import docker-desktop-data D:\docker_files\docker_desktop_data\wsl_data "C:\Program Files\Docker\Docker\resources\wsl\wsl-data.tar" --version=2 https://stackoverflow.com/questions/62441307/how-can-i-change-the-location-of-docker-images-when-using-docker-desktop-on-wsl2 Tham khảo thêm một số lệnh khác https://www.youtube.com/watch?v=AyEw7JsHt9I D:\docker_files\docker_desktop Xem danh sach WSL wsl -l -v Tat het WSL wsl --shutdown Export WSL (docker data) wsl --export docker-desktop-data D:\docker_files\docker_desktop\docker_desktop_backup.tar Remove docker data mac dinh wsl --unregister docker-desktop-data Import back docker data ở ổ đĩa khác wsl --import docker-desktop-data D:\docker_files\docker_desktop\ddesktop D:\docker_files\docker_desktop\docker_desktop_backup.tar

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Default Open URL in new chrome tab

    08/06/2017

    Thêm comment facebook cho WordPress

    28/05/2018

    [Notes] Run batch as Service in Window

    13/11/2020
  • Công nghệ,  Mẹo vặt

    Cấu hình Docker Hyper-V – chuyển vị trí lưu docker sang ổ đĩa khác

    17/03/2022 /

    Cấu hình Docker Hyper-V - chuyển vị trí lưu docker sang ổ đĩa khác Vào Hyper-V setting Chọn lại đường dẫn lưu docker đến thư mục khác Notes riêng của tôi C:\Users\Public\Documents\Hyper-V\Virtual hard disks E:\WebKCN\Hyper-V\Virtual Hard Disks C:\ProgramData\Microsoft\Windows\Hyper-V

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Login to VPS Linux (Debian) host by OVH

    24/06/2018

    Note Viết plugin python cho QGIS – phần 1

    27/04/2017

    Hướng dẫn tắt check grammar trong MS Word 2016

    15/06/2018
  • Công nghệ,  Linux,  Sói's Tutorials

    Docker Export và Import Container

    14/03/2022 /

    Docker Export và Import Container Docker liệt kê các container docker container ls Docker export container # Tạo một bản backup images từ container hiện tại docker commit -p 99a148f1a272 my_backup # Export container mình muốn (dùng id) docker save -o my_backup.tar my_backup Docker Import/Load Container # Restore docker load -i ~/my_backup.tar Tham khảo https://www.geeksforgeeks.org/backing-up-a-docker-container/ https://www.geeksforgeeks.org/restoring-a-docker-container/

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    Default Open URL in new chrome tab

    08/06/2017

    [Notes] Run batch as Service in Window

    13/11/2020
  • Lang thang

    Docker image in production – câu chuyện 1GB hay 100MB

    12/05/2021 /

    read more
    soiqualang_chentreu 0 Comments
  • Công nghệ,  Lang thang

    GitHub Packages (github docker)

    08/04/2021 /

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Note viết plugin python QGIS – phần 2

    28/04/2017

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    [Notes] Run batch as Service in Window

    13/11/2020
  • Công nghệ,  Sói's Tutorials

    Cách cài Docker trên Linux (2021)

    23/03/2021 /

    Cách cài Docker trên Linux (2021)

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Hướng dẫn tắt check grammar trong MS Word 2016

    15/06/2018

    Login to VPS Linux (Debian) host by OVH

    24/06/2018

    Sửa lỗi Start GeoServer do Java Update

    08/05/2017
  • Công nghệ,  Sói's Tutorials

    Cách truy cập vào docker shell

    08/03/2021 /

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    Sửa lỗi Start GeoServer do Java Update

    08/05/2017

    Thêm comment facebook cho WordPress

    28/05/2018
  • Công nghệ,  Ý tưởng

    T-Youtube – Tool download video, mp3 từ Youtube

    17/01/2021 /

    Đây là cái tool đầu tiên mình làm mà có build ra nền tảng Docker https://github.com/soiqualang/TYoutube/blob/master/README.md https://hub.docker.com/r/soiqualang/tyoutube

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Hướng dẫn tắt check grammar trong MS Word 2016

    15/06/2018

    Cài LXDE trên VPS Debian và Remote Desktop

    25/06/2018

    Default Open URL in new chrome tab

    08/06/2017
  • Công nghệ,  Linux,  Sói's Tutorials

    Tạo ứng dụng Docker đầu tiên – Build Docker by soiqualang

    17/01/2021 /

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Hướng dẫn tắt check grammar trong MS Word 2016

    15/06/2018

    Hướng dẫn sử dụng ODK Collect

    22/05/2018

    Hướng dẫn setup ODKAggregate server

    21/05/2018
  • Công nghệ,  Linux,  Sói's Tutorials

    Fix lỗi The Windows Subsystem for Linux optional component is not enabled

    16/01/2021 /

    read more
    soiqualang_chentreu 0 Comments

    You May Also Like

    Default Open URL in new chrome tab

    08/06/2017

    Hướng dẫn setup ODKAggregate server

    21/05/2018

    Thêm comment facebook cho WordPress

    28/05/2018
 Older Posts

Buy me a coffee

Buy me a coffee - MOMO

Tags

ADB Android Android studio api ArcGIS cloudflare database Docker gdal geoserver gis github Google Earth Engine guitar htaccess https Ionic IOS javascript Jupyter Notebook leaflet Linux Machine learning map MapServer mysql Nodejs openlayers php plugin Pokemon postgis postgresql python QGIS raster remote sensing sql server tomcat tools ubuntu viettabs.cf viễn thám webgis wordpress

Recent Posts

  • IONIC Capacitor build Android Debug APK
  • Backing up your docker volumes
  • Awesome Docker Compose
  • WordPress fix lỗi This request has been blocked; the content must be served over HTTPS.
  • Giới thiệu về GitHub Profile Achievements và cách đạt được các huy hiệu này

Recent Comments

  • Thành on Hướng dẫn dùng Wayback machine scraper để lấy lại data web cũ trên Google Collaboratory
  • Phong Thần Thánh on Hướng dẫn dùng Wayback machine scraper để lấy lại data web cũ trên Google Collaboratory
  • soiqualang_chentreu on Update your target API level by November 1, 2021 – android 11 – API 30
  • Phạm Hoàng Tuấn on Update your target API level by November 1, 2021 – android 11 – API 30
  • Lý Lâm Khả Huy on [GEE 1] Làm Quen Với Google Earth Engine và Tìm Hiểu Về Dữ Liệu

Categories

  • Capuchino
  • Công nghệ
  • Dữ liệu
  • GIS
  • Google Earth Engine
  • Lang thang
  • Linux
  • Mẹo vặt
  • QGIS Tutorials and Tips
  • Research
  • Sói's Tutorials
  • Tài liệu
  • Uncategorized
  • Viễn thám
  • Web
  • WebGIS
  • Ý tưởng

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • April 2017

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© soiqualang_chentreu 2022 - All Right Reserved
Ashe Theme by WP Royal.