Warning: Undefined array key "HTTP_X_FORWARDED_PROTO" in /var/www/html/wp-config.php on line 55

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-config.php:55) in /var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-config.php:55) in /var/www/html/wp-includes/feed-rss2.php on line 8
alex | ITExplain https://it-explain.com Make difficult tasks easier) Fri, 27 Sep 2024 09:02:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.12 How to use the AzCopy tool on low memory servers https://it-explain.com/how-to-use-the-azcopy-tool-on-low-memory-servers/ https://it-explain.com/how-to-use-the-azcopy-tool-on-low-memory-servers/#respond Fri, 27 Sep 2024 09:02:51 +0000 https://it-explain.com/?p=3541   AzCopy is a useful tool for data operations between servers and Azure Cloud Storage. However, by default, this tool cannot be used on servers with less than 1GB of memory. To resolve this issue, some parameters need to be configured. Try to set export AZCOPY_CONCURRENCY_VALUE=1 export AZCOPY_CONCURRENT_SCAN=1 export AZCOPY_BUFFER_GB=0.12 Values can be changed based […]

Запись How to use the AzCopy tool on low memory servers впервые опубликована на сайте ITExplain.]]>
 

AzCopy is a useful tool for data operations between servers and Azure Cloud Storage. However, by default, this tool cannot be used on servers with less than 1GB of memory. To resolve this issue, some parameters need to be configured.

Try to set

export AZCOPY_CONCURRENCY_VALUE=1
export AZCOPY_CONCURRENT_SCAN=1
export AZCOPY_BUFFER_GB=0.12

Values can be changed based on your system configuration.

Запись How to use the AzCopy tool on low memory servers впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/how-to-use-the-azcopy-tool-on-low-memory-servers/feed/ 0
Grafana 10.x isn’t available through a reverse proxy, resulting in the error ERR_TOO_MANY_REDIRECTS https://it-explain.com/grafana-10-x-isnt-available-through-a-reverse-proxy-resulting-in-the-error-err_too_many_redirects/ https://it-explain.com/grafana-10-x-isnt-available-through-a-reverse-proxy-resulting-in-the-error-err_too_many_redirects/#respond Fri, 28 Jun 2024 10:11:58 +0000 https://it-explain.com/?p=3537 After upgrading Grafana to version 10.x, when configured with a reverse proxy, you may receive the error message ERR_TOO_MANY_REDIRECTS in the browser. To fix it, try setting serve_from_sub_path = false in grafana.ini file or set environment variable GF_SERVER_SERVE_FROM_SUB_PATH=false.

Запись Grafana 10.x isn’t available through a reverse proxy, resulting in the error ERR_TOO_MANY_REDIRECTS впервые опубликована на сайте ITExplain.]]>

After upgrading Grafana to version 10.x, when configured with a reverse proxy, you may receive the error message ERR_TOO_MANY_REDIRECTS in the browser. To fix it, try setting serve_from_sub_path = false in grafana.ini file or set environment variable GF_SERVER_SERVE_FROM_SUB_PATH=false.

Запись Grafana 10.x isn’t available through a reverse proxy, resulting in the error ERR_TOO_MANY_REDIRECTS впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/grafana-10-x-isnt-available-through-a-reverse-proxy-resulting-in-the-error-err_too_many_redirects/feed/ 0
How to generate random number in Jenkins https://it-explain.com/how-to-generate-random-number-in-jenkins/ https://it-explain.com/how-to-generate-random-number-in-jenkins/#respond Tue, 10 Oct 2023 11:34:51 +0000 https://it-explain.com/?p=3501 Just use Random() in Groovy. Example:def num = new Random().nextInt(10) In this case num will be an integer number with random value between 0 and 10

Запись How to generate random number in Jenkins впервые опубликована на сайте ITExplain.]]>

Just use Random() in Groovy.

Example:def num = new Random().nextInt(10)

In this case num will be an integer number with random value between 0 and 10

Запись How to generate random number in Jenkins впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/how-to-generate-random-number-in-jenkins/feed/ 0
Error loading shared library libresolv.so.2: No such file or directory https://it-explain.com/error-loading-shared-library-libresolv-so-2-no-such-file-or-directory/ https://it-explain.com/error-loading-shared-library-libresolv-so-2-no-such-file-or-directory/#respond Sun, 08 Oct 2023 12:13:59 +0000 https://it-explain.com/?p=3499 Some Golang applications might return the error “Error loading shared library libresolv.so.2: No such file or directory”. To fix this, you need to install additional packages. In Alpine, you need to install the gcompat package using apk. You can do this with the command: apk add gcompat After the installation, try running the Golang application again.

Запись Error loading shared library libresolv.so.2: No such file or directory впервые опубликована на сайте ITExplain.]]>

Some Golang applications might return the error “Error loading shared library libresolv.so.2: No such file or directory”. To fix this, you need to install additional packages.

In Alpine, you need to install the gcompat package using apk. You can do this with the command: apk add gcompat

After the installation, try running the Golang application again.

Запись Error loading shared library libresolv.so.2: No such file or directory впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/error-loading-shared-library-libresolv-so-2-no-such-file-or-directory/feed/ 0
Windows Server – A service installation section in this INF is invalid https://it-explain.com/windows-server-a-service-installation-section-in-this-inf-is-invalid/ https://it-explain.com/windows-server-a-service-installation-section-in-this-inf-is-invalid/#respond Fri, 15 Sep 2023 06:10:25 +0000 https://it-explain.com/?p=3492 Sometimes on Windows Server, when you try to install a driver for certain devices, you may encounter the error: “A service installation section in this INF is invalid.” In most of cases this means that some components in Windows, like Wireless-Network, are not installed. For fix it find corresponding service using PowerShell command Get-WindowsFeature and […]

Запись Windows Server – A service installation section in this INF is invalid впервые опубликована на сайте ITExplain.]]>

Sometimes on Windows Server, when you try to install a driver for certain devices, you may encounter the error: “A service installation section in this INF is invalid.” In most of cases this means that some components in Windows, like Wireless-Network, are not installed.

For fix it find corresponding service using PowerShell command Get-WindowsFeature and try to enable this feature using PowerShell command Add-WindowsFeature -Name feature_name

Example for enable WiFi feature: Add-WindowsFeature -Name Wireless-Network

Запись Windows Server – A service installation section in this INF is invalid впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/windows-server-a-service-installation-section-in-this-inf-is-invalid/feed/ 0
How to clone git without/ignore lfs files https://it-explain.com/how-to-clone-git-without-ignore-lfs-files/ https://it-explain.com/how-to-clone-git-without-ignore-lfs-files/#respond Thu, 31 Aug 2023 13:32:42 +0000 https://it-explain.com/?p=3489 Sometimes, especially if the link to LFS is broken or the repository has been moved, it becomes necessary to clone the repository while ignoring LFS. For clone repository without LFS in Linux need to add GIT_LFS_SKIP_SMUDGE=1 before git clone command. Example: GIT_LFS_SKIP_SMUDGE=1 git clone your_repository For Windows in PowerShell: $env:GIT_LFS_SKIP_SMUDGE=1 git clone your_repository

Запись How to clone git without/ignore lfs files впервые опубликована на сайте ITExplain.]]>

Sometimes, especially if the link to LFS is broken or the repository has been moved, it becomes necessary to clone the repository while ignoring LFS.

For clone repository without LFS in Linux need to add GIT_LFS_SKIP_SMUDGE=1 before git clone command.
Example: GIT_LFS_SKIP_SMUDGE=1 git clone your_repository

For Windows in PowerShell: $env:GIT_LFS_SKIP_SMUDGE=1 git clone your_repository

Запись How to clone git without/ignore lfs files впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/how-to-clone-git-without-ignore-lfs-files/feed/ 0
ImportError: no module named ‘ssd1306’ in micropython https://it-explain.com/importerror-no-module-named-ssd1306-in-micropython/ https://it-explain.com/importerror-no-module-named-ssd1306-in-micropython/#respond Sat, 03 Jun 2023 20:38:15 +0000 https://it-explain.com/?p=3477 For fix error ImportError: no module named 'ssd1306'  you should download ssd1306.py library from official micropython repository for libraries – micropython/micropython-lib on GitHub https://github.com/micropython/micropython-lib and copy using pyboard tool. Direct link on this library https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py Steps: 1. Download library https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py 2. Use pyboard tool https://docs.micropython.org/en/latest/reference/pyboard.py.html for copy this file (ssd1306.py) on root folder on the […]

Запись ImportError: no module named ‘ssd1306’ in micropython впервые опубликована на сайте ITExplain.]]>

For fix error ImportError: no module named 'ssd1306'  you should download ssd1306.py library from official micropython repository for libraries – micropython/micropython-lib on GitHub https://github.com/micropython/micropython-lib and copy using pyboard tool.
Direct link on this library https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py

Steps:
1. Download library https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/display/ssd1306/ssd1306.py
2. Use pyboard tool https://docs.micropython.org/en/latest/reference/pyboard.py.html for copy this file (ssd1306.py) on root folder on the board.
3. Try to run import ssd1306

 

Запись ImportError: no module named ‘ssd1306’ in micropython впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/importerror-no-module-named-ssd1306-in-micropython/feed/ 0
Fuse mount in docker or docker-compose https://it-explain.com/fuse-mount-in-docker-or-docker-compose/ https://it-explain.com/fuse-mount-in-docker-or-docker-compose/#respond Wed, 19 Apr 2023 07:52:42 +0000 https://it-explain.com/?p=3469 FUSE is a Filesystem in Userspace that allows the creation of custom filesystems in userspace, such as cloud storage, NFS and etc. But for mount inside docker container need to add additional parameters to docker run command or inside docker-compose.yml file. At first, you should have docker image with installed fuse package inside container. For allow […]

Запись Fuse mount in docker or docker-compose впервые опубликована на сайте ITExplain.]]>

FUSE is a Filesystem in Userspace that allows the creation of custom filesystems in userspace, such as cloud storage, NFS and etc. But for mount inside docker container need to add additional parameters to docker run command or inside docker-compose.yml file.

At first, you should have docker image with installed fuse package inside container. For allow mount inside container need to run docker run command with --cap-add SYS_ADMIN --device /dev/fuse:/dev/fuse --security-opt apparmor:unconfined

For docker-compose need to put inside docker-compose.yml file: 

cap_add:
  - SYS_ADMIN
devices:
  - /dev/fuse:/dev/fuse
security_opt:
  - apparmor:unconfined

Examples:

  • Docker: docker run -it --rm --cap-add SYS_ADMIN --device /dev/fuse:/dev/fuse --security-opt apparmor:unconfined
  • docker-compose.yml:
    version: '3'
    services:
    mycontainer:
      image: container_image:container_version
      cap_add:
        - SYS_ADMIN
      devices:
        - /dev/fuse:/dev/fuse
      security_opt:
        - apparmor:unconfined

 

Запись Fuse mount in docker or docker-compose впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/fuse-mount-in-docker-or-docker-compose/feed/ 0
ESP32 – SPI pin mapping/pinouts https://it-explain.com/esp32-spi-pin-mapping-pinouts/ https://it-explain.com/esp32-spi-pin-mapping-pinouts/#respond Sat, 18 Mar 2023 17:00:06 +0000 https://it-explain.com/?p=3455 ESP32 has 3 different SPI interfaces, for user available only 2 – HSPI and VSPI. For modules with SPI RAM (PSRAM) interface VSPI is not available as used by PSRAM chip. Table below has native pinouts for HSPI and VSPI interfaces SPI Function ESP32 Pin (HSPI) ESP32 Pin (VSPI) CLK (Clock) GPIO14 GPIO18 MISO (Master […]

Запись ESP32 – SPI pin mapping/pinouts впервые опубликована на сайте ITExplain.]]>
ESP32 has 3 different SPI interfaces, for user available only 2 – HSPI and VSPI. For modules with SPI RAM (PSRAM) interface VSPI is not available as used by PSRAM chip.

Table below has native pinouts for HSPI and VSPI interfaces

SPI Function ESP32 Pin (HSPI) ESP32 Pin (VSPI)
CLK (Clock) GPIO14 GPIO18
MISO (Master In Slave Out) GPIO12 GPIO19
MOSI (Master Out Slave In) GPIO13 GPIO23
CS (Chip Select) GPIO15 GPIO5
Запись ESP32 – SPI pin mapping/pinouts впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/esp32-spi-pin-mapping-pinouts/feed/ 0
Power Bank – Error 188, display flash with all numbers https://it-explain.com/power-bank-error-188/ https://it-explain.com/power-bank-error-188/#respond Thu, 26 Jan 2023 18:23:57 +0000 https://it-explain.com/?p=3425 Nowadays, power banks are becoming increasingly popular as people rely on their devices (such as mobile phones, laptops, cameras and etc) for work, entertainment, and communication. But sometimes power bank with displays doesn’t work and have “188 error” – power bank screen flashing all numbers “188”. In most of cases this error caused by complex […]

Запись Power Bank – Error 188, display flash with all numbers впервые опубликована на сайте ITExplain.]]>

Nowadays, power banks are becoming increasingly popular as people rely on their devices (such as mobile phones, laptops, cameras and etc) for work, entertainment, and communication.

But sometimes power bank with displays doesn’t work and have “188 error” – power bank screen flashing all numbers “188”. In most of cases this error caused by complex power bank malfunction that can be fixed only in service center or as a result of internal power bank protection circuit (for example, overload, short circuit and etc).

In some of cases you can restore power bank by reset – press power bank button on 5,10,15 or 20 seconds for reset. Also you can try to search using sentence “power bank your_powerbank_manufacter how to reset”.

If it doesn’t help or have another error – in this case only service center can do repair. If you still have warranty it can be case that will be covered free by warranty.

Запись Power Bank – Error 188, display flash with all numbers впервые опубликована на сайте ITExplain.]]>
https://it-explain.com/power-bank-error-188/feed/ 0