mint@mint:~$ ffmpeg -v
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Missing argument for option 'v'.
Error splitting the argument list: Invalid argument
mint@mint:~$ ffmpeg -v


find /etc/nginx -name nginx
tail -n 10 -f error.log


mint@mint:/var/log/nginx$ echo -n 'user2:' | sudo tee /etc/nginx/conf.d/.passwords.list
user2:
mint@mint:/var/log/nopenssl passwd -apr1 | sudo tee -a /etc/nginx/conf.d/.passwords.list

===================================================
echo -n 'user2:' | sudo tee /etc/nginx/conf.d/.passwords.list
openssl passwd -apr1 | sudo tee -a /etc/nginx/conf.d/.passwords.list
=============================================================


apt search davfs2

                  将WebDAV资源装载为常规文件系统
i   davfs2    - mount a WebDAV resource as a regular file system 


apt install davfs2
sudo mount -t davfs http://192.168.1.186:8081/ /mnt/cb1981/

sudo mount -t davfs http://192.168.1.186:8081/ /mnt/cb1981/


==============================================================


openssl passwd -apr1 | sudo tee -a /etc/nginx/conf.d/passwd.list

openssl passwd -1 -salt hacker cb1981
openssl passwd -1 -salt hacker 123456


curl -T nginx.conf http://192.168.1.186:8081/ -u user1
curl -X DELETE http://192.168.1.186:8081/nginx.conf -u user1


wget https://codeload.github.com/arut/nginx-dav-ext-module/zip/master
or
git clone --recursive https://github.com/arut/nginx-dav-ext-module


apache2-Utils or httpd 工具

  yum -y install httpd-tools

创建密码文件和密码
htpasswd -c /etc/nginx/.htpasswd user1