libXrender.so could not find, Couldnot initialize...BufferedImage problem

Catalog Problem Occurring The problem code is as follows: Problem solving Supplement: Problem Occurring When I used zxing to generate two-dimensional codes, tomcat on ubuntu reported the following two errors: sometimes they were not reported at the same time, but basically both had the keyword awt I did not do a detailed code analysis of t ...

Posted on Thu, 02 Apr 2020 21:01:54 -0400 by sellfisch

Simple use and experience of disk analysis tool Ncdu

Summary Because I use a 120g solid-state drive, so I can't store many things locally. I often need to delete many things, so it's very important to see the size of each directory. Next, I recommend a disk analysis tool, Ncdu, which is used to analyze the size of each directory. It's very simple and lightweight install It's very easy to install ...

Posted on Tue, 31 Mar 2020 18:07:27 -0400 by David Bethel

17 cases take you 5 minutes to finish Linux regular expression

Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! A regular expression is a character pattern used to match specified characters during a lookup. Metacharacters are generally divided into two types in Linux: Shell metachara ...

Posted on Mon, 30 Mar 2020 01:39:12 -0400 by fanfavorite

Linux common basic commands (tree, pwd, cd)

pwd and cd commands >pwd command is the acronym of each word in "print working directory". Its function is to display the absolute path of the current working directory. In practice, when we operate commands on the command line, we often switch between directory paths. At this time, we can use pwd command to quickly view the curre ...

Posted on Sun, 29 Mar 2020 10:56:58 -0400 by Avalanche

Analysis of Docker Storage Technology

Docker supports many storage drivers on Linux, each with its own implementation of mirror layers, mirror layer sharing, and write-time replication (CoW). Docker Storage Infrastructure Mirror Layering All Docker mirrors start with an underlying mirror layer, which is created when new content is modified or added.The default Docker image is made ...

Posted on Fri, 27 Mar 2020 14:02:01 -0400 by dsaba

Docker image, container

Get mirror image docker pull ubuntu:16.04 Function $ docker run -it --rm \ ubuntu:16.04 \ bash root@e7009c6ce357:/# cat /etc/os-release NAME="Ubuntu" VERSION="16.04.4 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.4 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu ...

Posted on Sun, 15 Mar 2020 04:00:46 -0400 by hkay1

Download files from URL to server

Well, it looks simple, it does. All you need to do to download the file to the server is: file_put_contents("Tmpfile.zip", file_get_contents("http://someurl/file.zip")); There is only one problem. What if the file is large, such as 100mb? You will then run out of memory and cannot download the file. What I want is a way to write files ...

Posted on Sat, 14 Mar 2020 11:09:07 -0400 by mmitdnn

Docker 19+Ubuntu 18.04 Install StepByStep

Part1.Install Ubuntu 18.04 Desktop Virtual Machine Environment: VMWare Workstation 15Virtual Machine Configuration: 1cpu 4 core 8G memory 40G hard disk (immediate space allocation + single file)Virtual Machine Network: NAT Network 1.1 Create Virtual Machine step1. Figure 1-1 Install the system later step2. Select Operating System Figu ...

Posted on Fri, 13 Mar 2020 14:41:04 -0400 by hedgehog90

The Ubuntu environment uses python to significantly replace different backgrounds for videos with transparent channels

The Ubuntu environment uses python to significantly replace different backgrounds for videos with transparent channels Preface: Although pr video processing software can also replace different backgrounds one by one for videos with transparent channels, if you want to manually replace one hundred and ...

Posted on Thu, 12 Mar 2020 01:07:51 -0400 by y.t.

ubuntu 18.04 installation of GPU driver and CUDA+cuDNN

Install GPU driver and CUDA+cuDNN (for Ubuntu 18.04) 1, Video card driver installation: 1. Detect video card First, examine the model of your NVIDIA graphics card and recommended drivers. Execute command: $ ubuntu-drivers devices The output result is: == /sys/devices/pci0000:00/0000:00:02 ...

Posted on Wed, 11 Mar 2020 04:04:01 -0400 by pk-uk