Skip to content

Long's blog

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

  • My Info
    • Đỗ Thành Long’s CV
    • My Github
    • My Youtube
    • My Google Scholar
    • My Facebook
  • 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
  • Other
    • Reading
    • Games
    • Harvest Moon

Category: Linux

Linux Link, Unlink folder

Posted on 23/11/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Link folder, Linux, UnlinkLeave a Comment on Linux Link, Unlink folder

Linux Link, Unlink folder Link Folder Symbolic or soft link (files or directories, more flexible and self documenting) # Source Link ln -s /home/jake/doc/test/2000/something /home/jake/xxx Hard link (files only, less flexible and not self documenting) # Source Link ln /home/jake/doc/test/2000/something […]

Read More

NextCloud fix Setting locale to en_US.UTF-8 failed

Posted on 28/07/202313/09/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt, Web Tagged locale, NextCloudLeave a Comment on NextCloud fix Setting locale to en_US.UTF-8 failed

NextCloud fix Setting locale to en_US.UTF-8 failed Setting locale to en_US.UTF-8 failed Setting locale to en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8 failed. Please install one of these locales on your system and restart your web server. Fix Setting locale to en_US.UTF-8 failed Your warning suggests […]

Read More

[Ubuntu] Install NodeJs 18 on Linux

Posted on 02/06/2023 by soiqualang_chentreu Posted in Lang thang, Linux Tagged Linux, Nodejs, ubuntuLeave a Comment on [Ubuntu] Install NodeJs 18 on Linux

[Ubuntu] Install NodeJs 18 on Linux curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash – apt-get install nodejs node -v # npm install

Read More

Virtualbox assign static ip to VM

Posted on 01/06/202320/11/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt Tagged Linux, static ip, virtual machine, VirtualBoxLeave a Comment on Virtualbox assign static ip to VM

Virtualbox assign static ip to VM How To Set Static IP To VirtualBox VM SSH to your VM sudo vim /etc/netplan/01-netcfg.yaml network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: no routes: – to: default via: 192.168.1.1 addresses: [192.168.1.21/24] nameservers: addresses: […]

Read More

Linux Lấy IP host từ Docker Container

Posted on 10/04/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Docker container, LinuxLeave a Comment on Linux Lấy IP host từ Docker Container

Linux Lấy IP host từ Docker Container Lấy IP host Log vào Docker container để cài mấy lệnh sau apt-get update -y apt-get install -y iputils-ping apt install net-tools Sau đó check netmask container đang chạy là bao nhiêu Check […]

Read More

[Docker] standard_init_linux.go:228: exec user process caused: no such file or directory

Posted on 29/03/2023 by soiqualang_chentreu Posted in Lang thang, Linux Tagged Docker, standard_init_linuxLeave a Comment on [Docker] standard_init_linux.go:228: exec user process caused: no such file or directory

docker standard_init_linux.go:228: exec user process caused: no such file or directory Use notepad++, go to edit -> EOL conversion -> change from CRLF to LF. update: For VScode users: you can change CRLF to LF by clicking on CRLF present […]

Read More

[Linux LAMPP] How to Export, Import MySQL Database with Command Line

Posted on 23/03/2023 by soiqualang_chentreu Posted in Lang thang, Linux Tagged Export, Import, Lampp, mysqlLeave a Comment on [Linux LAMPP] How to Export, Import MySQL Database with Command Line

[Linux LAMPP] How to Export, Import MySQL Database with Command Line Export MySQL Database /opt/lampp/bin/mysqldump -u user -p database_name > database_name.sql Import/Restore MySQL Database /opt/lampp/bin/mysql -u user -p database_name < database_name.sql https://stackoverflow.com/questions/29258769/how-to-restore-mysql-database-in-xampp https://blog.devart.com/how-to-restore-mysql-database-from-backup.html

Read More

Docker truncate logs

Posted on 09/03/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged Docker, logs, truncateLeave a Comment on Docker truncate logs

Docker truncate logs truncate -s 0 /var/lib/docker/containers/**/*-json.log sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log" sudo truncate -s 0 `docker inspect –format='{{.LogPath}}' f7ea99211cf3c10fa86cfb78824485f20933b8cdfa35ca542c88c4b15310427e` sudo sh -c 'truncate -s 0 /var/lib/docker/containers/*/*-json.log'

Read More

Fix The repository no longer has a Release file on Ubuntu

Posted on 23/02/202323/02/2023 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt Tagged Linux, repository, ubuntuLeave a Comment on Fix The repository no longer has a Release file on Ubuntu

Fix The repository no longer has a Release file on Ubuntu Xử lý lỗi The repository no longer has a Release file trên Ubuntu https://azdigi.com/blog/linux-server/the-repository-no-longer-has-a-release-file/ I. Giới thiệu và nguyên nhân Trong quá trình sử dụng hệ điều hành Ubuntu […]

Read More

Unable to open X display when trying to run google-chrome

Posted on 12/02/202313/02/2023 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged X displayLeave a Comment on Unable to open X display when trying to run google-chrome

You can try with Xvfb. it does not require additional hardware. Install Xvfb if you didn’t install it yet and do the following steps. sudo apt-get install -y xvfb Dependencies to make "headless" chrome/selenium work: sudo apt-get -y install xorg […]

Read More

Docker Backup, Restore PostgreSQL Database

Posted on 03/11/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt Tagged backup, database, Docker, postgresql, RestoreLeave a Comment on Docker Backup, Restore PostgreSQL Database

Docker Backup, Restore PostgreSQL Database Single Database PostgreSQL Backup Single Database sudo docker exec -t –user pg_username pg_container_name pg_dump -c -p 5432 -U pg_username "database_name" > "/path/on/your/machine/dump.sql" PostgreSQL Restore Single Database sudo docker exec -t –user pg_username pg_container_name psql -c […]

Read More

Linux wget Dropbox public link

Posted on 30/09/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged dropbox, get direct link, wgetLeave a Comment on Linux wget Dropbox public link

Linux wget Dropbox public link Just add ?dl=1 at the end of the link! For example: https://www.dropbox.com/s/mx9eqve5l2ipgyk/test.txt?dl=1 That should give you a fine retrieval of the file in question without adding anything to the file. One more thing! If you wanna save the […]

Read More

[Linux] Adjust and increase the capacity of VDI virtual drive to install Ubuntu on VirtualBox

Posted on 29/09/2022 by soiqualang_chentreu Posted in Công nghệ, Lang thang, Linux, Mẹo vặt, Sói's Tutorials Tagged Linux, ubuntu, VDI, VirtualBoxLeave a Comment on [Linux] Adjust and increase the capacity of VDI virtual drive to install Ubuntu on VirtualBox

[Linux] Adjust and increase the capacity of VDI virtual drive to install Ubuntu on VirtualBox Problems encountered I have deployed an ubuntu server on the virtualbox virtualization platform, I divided the hard drive space is 200GB, but after creating and […]

Read More

[Sưu tầm] Điều chỉnh tăng dung lượng ổ đĩa ảo VDI cài Ubuntu trên VirtualBox

Posted on 29/09/202229/09/2022 by soiqualang_chentreu Posted in Lang thang, Linux, Mẹo vặt Tagged LVM, ubuntu, VDI, VirtualBoxLeave a Comment on [Sưu tầm] Điều chỉnh tăng dung lượng ổ đĩa ảo VDI cài Ubuntu trên VirtualBox

[Sưu tầm] Điều chỉnh tăng dung lượng ổ đĩa ảo VDI cài Ubuntu trên VirtualBox https://thuanbui.me/dieu-chinh-tang-dung-luong-o-dia-ao-vdi-cai-ubuntu-tren-virtualbox/ Bài viết hướng dẫn cách điều chỉnh tăng dung lượng ổ cứng ảo cài đặt Ubuntu Một ngày đẹp trời, máy ảo Ubuntu cài […]

Read More

Linux remove nginx completely

Posted on 26/09/2022 by soiqualang_chentreu Posted in Lang thang, Linux Tagged Linux, nginxLeave a Comment on Linux remove nginx completely

Linux remove nginx completely Removes all but config files. sudo apt-get remove nginx nginx-common Removes everything. sudo apt-get purge nginx nginx-common After using any of the above commands, use this in order to remove dependencies used by nginx which are […]

Read More

Posts navigation

Older posts
Buy me a coffee - MOMO

Tags

3D WebGIS Android Android studio api ArcGIS Capacitor cloudflare cordova database Docker gdal geoserver gis git github Google Earth Engine guitar htaccess Ionic IOS javascript JS GIS Jupyter Notebook leaflet Linux Machine learning map mysql Nodejs openlayers php Pokemon postgis postgresql python QGIS remote sensing sql tomcat tools ubuntu VirtualBox viễn thám webgis wordpress

Recent Posts

  • Fix Geoserver WMS character representation error (UTF-8)
  • Create a globe-like orthographic projection map in QGIS 3
  • Linux Link, Unlink folder
  • PostgreSQL select current user
  • Moodle ERROR You don’t have permission to view this list of courses

Recent Comments

  • [GEE Cơ bản #1] Hướng dẫn thêm một tập ảnh trong Google Earth Engine – OpenGIS Việt Nam on [GEE Basic] Add an Image collection in Google Earth Engine
  • Cannot-Make-Directory-Permission-Denied-Bij-Run-Screen. on [Linux Screen] Cannot make directory ‘/var/run/screen’: Permission denied
  • Lê Tiến on Installing Apache, QGIS Server, And Lizmap Web Client On Windows OS
  • Amit Kumar Singh on Tìm hiểu Cloudflare Worker
  • Nguyen Liem on [Python] Text to speech – Chuyển văn bản thành giọng nói FPT Speech Synthesis

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

  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • 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

Copyright 2022. All rights reserved.