Neat Download Manager无法打开
今天遇到了Neat Download Manager无法打开的问题,或者说Neat Download Manager打开直接闪退。点击NDM的图标之后没有任何反应。 今天联系作者之后,得到了回复,原来是10007端口被占用了。据说下个版本会 […]
使用Docker管理网站
tag: bash bt centos Nginx php 宝塔 容器 迁移 貌似最稳定的还是Centos,就以Centos为例,记录如何搭建易于迁移的个人网站。 拉取Centos镜像 docker pull centos:centos7. […]
使用runlike查看创建Docker容器时的命令
很简单,需要使用Python的pip包管理器。这里默认服务器是装了pip的。 运行: pip install runlike 使用: runlike 容器名称 例如:runlike bt 本文最后更新于2021年10月15日,已超过 1 年 […]
如何查询会议缩写
有些期刊要求的参考文献格式需要使用会议缩写,下面以CVPR举例如何查找会议缩写: 1 打开EI数据库 Engineering Village – Quick Search 2 输入要查找的会议名称 3 打开会议详情 其中的Abb […]
清华源CondaHTTPError: HTTP 000 CONNECTION FAILED for url
最近清华源的anaconda全面报错:
1 2 3 4 5 6 7 8 9 |
sipl@sipl:~$ conda create -n aerial python=3.7 -y Solving environment: failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch/repodata.json> Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. SSLError(MaxRetryError('HTTPSConnectionPool(host=\'mirrors.tuna.tsinghua.edu.cn\', port=443): Max retries exceeded with url: /anaconda/cloud/pytorch/noarch/repodata.json (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')])")))')) |
估计是清华源的ssl出问题了, vi .condarc 然后只需要把https改为http即可。 本文最后更新于2021年10月28日 […]
Operation not permitted – Failed to mount “proc”
lxd打开容器出现问题,看下log信息:
1 2 3 4 5 6 7 8 9 10 11 |
Log: lxc gabor 20210929082420.295 ERROR utils - utils.c:safe_mount:1179 - Operation not permitted - Failed to mount "proc" onto "/usr/lib/x86_64-linux-gnu/lxc/proc" lxc gabor 20210929082420.295 ERROR conf - conf.c:lxc_mount_auto_mounts:724 - Operation not permitted - Failed to mount "proc" on "/usr/lib/x86_64-linux-gnu/lxc/proc" with flags 14 lxc gabor 20210929082420.295 ERROR conf - conf.c:lxc_setup:3539 - Failed to setup first automatic mounts lxc gabor 20210929082420.295 ERROR start - start.c:do_start:1263 - Failed to setup container "gabor" lxc gabor 20210929082420.295 ERROR sync - sync.c:__sync_wait:62 - An error occurred in another process (expected sequence number 5) lxc gabor 20210929082420.296 WARN network - network.c:lxc_delete_network_priv:2589 - Operation not permitted - Failed to remove interface "eth1" with index 11 lxc gabor 20210929082420.296 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:842 - Received container state "ABORTING" instead of "RUNNING" lxc gabor 20210929082420.296 ERROR start - start.c:__lxc_start:1939 - Failed to spawn container "gabor" lxc 20210929082420.300 WARN commands - commands.c:lxc_cmd_rsp_recv:132 - Connection reset by peer - Failed to receive response for command "get_state" |
主要原因是proc目录的挂载问题,按以下操作解决: mkdir /mnt/proc mount -t proc proc /mnt/ […]
CentOS关闭防火墙
安装宝塔之后会自动开启防火墙,这里就说下如何关闭。 查看状态: systemctl status firewalld firewall-cmd –state 关闭防火墙: service firewalld stop 想重新开启的话: # […]
Centos配置NFS实现本地文件夹映射到本地
标签:bt mount NFS rpcbind sipl 安装: 首先查看是否已安装:rpm -qa|grep nfs 如果没有安装的话,执行下面命令进行安装: yum -y install nfs-utils rpcbind 配置: s […]
文件权限中的@什么意思?
比如这样: 这其实是文件的扩展属性,包含了一些额外的信息,比如这个文件是不是从网上下下来的。 可以使用命令:xattr -l name来查看这些额外的属性,比如这个:
1 2 |
xattr -l 1584759074404374.mp4 com.apple.quarantine: 0082;5e758125;WeChat; |
从上面 […]
The Matroska muxer does not yet support muxing cook
在使用FFmpeg进行视频合并的时候报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 12.0.0 (clang-1200.0.32.29) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox 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 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [rm @ 0x7f8b03018000] Invalid stream index 2 for index at pos 83519036 Input #0, concat, from '1.txt': Duration: N/A, start: 0.000000, bitrate: 225 kb/s Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 352x288, 180 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc Stream #0:1: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 44 kb/s [matroska @ 0x7f8b02847c00] The Matroska muxer does not yet support muxing cook Could not write header for output file #0 (incorrect codec parameters ?): Not yet implemented in FFmpeg, patches welcome Error initializing output stream 0:1 -- Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Last message repeated 1 times |
解决方法: 两种,一种是将mkv改为rm 第二种是-c改为-c:v 推荐第二种 本文最后更新于2021年9月20日,已超过 1 年 […]