草庐IT

Using insecure protocols with repositories, without explicit opt-in, is unsupported.解决方案

出现此错误的原因是因为使用了http链接,gradle出于安全考虑必须使用https链接第一种解决方案是可以加一行参数允许http链接maven{ allowInsecureProtocol=true//这一行url'xxxxxxx'}第二种方法是将url改为https://xxxxxx常规出现这种问题的原因就这两种,还有一种配置文件会一层一层引用android/app/build.gradle-> flutter-tools/flutter.gradle->C:/Users/XXX/.gradle/init.gradle其中某一个文件的gradle里出现了http,将其用上面两种问题修正即

KVM安装/libvirt没有启动成功找不到/var/run/libvirt/libvirt-sock

如果是libvirt没有启动,/var/run/下面也没有libvirt的文件,可以试试一下命令重新安装一下虚拟机。sudoaptitudeinstall qemu-kvmlibvirt-daemon-systemlibvirt-clientsbridge-utils当ape/ape-get/yum不好用时可用于aptitude下载安装KVM可参考:KVM/Installation-CommunityHelpWikiUbuntu/优麒麟22.04安装KVM虚拟机_ymz316的博客-CSDN博客_ubuntu安装kvm虚拟机Ubuntu更改yum源可参考ubuntu系统配置yum源_linux

记录/var/lib/docker/overlay2/ 磁盘爆满的解决过程

问题描述  今天售后同事匆匆忙忙跑过来说:“客户那边的机器人挂掉了,app都运行不起来,可硬件都是正常的,我也不知道什么问题”,我心想:“我们机器人系统已经开发迭代好多年了,还会出现这种问题?”,没方法,还是借助我们开发好的远程工具排查吧,排查当然得从机器人服务器Ubuntu系统开始。排查步骤1.用dockerps命令检查docker正在执行的容器,竟然发现有容器服务不能正常运行。2.好好的容器为什么起不了呢?记得以前出现过硬盘爆满导致服务起不了的情况,用df-h命令查询,果然是硬盘满了!!!3.硬盘满后,查不了很具体的磁盘信息,先删除一些无关紧要的文件,再次进行查询,查到了又是/var/li

记录/var/lib/docker/overlay2/ 磁盘爆满的解决过程

问题描述  今天售后同事匆匆忙忙跑过来说:“客户那边的机器人挂掉了,app都运行不起来,可硬件都是正常的,我也不知道什么问题”,我心想:“我们机器人系统已经开发迭代好多年了,还会出现这种问题?”,没方法,还是借助我们开发好的远程工具排查吧,排查当然得从机器人服务器Ubuntu系统开始。排查步骤1.用dockerps命令检查docker正在执行的容器,竟然发现有容器服务不能正常运行。2.好好的容器为什么起不了呢?记得以前出现过硬盘爆满导致服务起不了的情况,用df-h命令查询,果然是硬盘满了!!!3.硬盘满后,查不了很具体的磁盘信息,先删除一些无关紧要的文件,再次进行查询,查到了又是/var/li

【容器文件系统】了解容器 overlay 文件系统和 /var/lib/docker/overlay2下目录的作用

转载自浅析Dockeroverlay2文件结构docker(5):层朱双印目的有这个问题困惑着我:容器删除dockerrm后,dockercp到容器内的文件,在/var/lib/docker/overlay2目录中是否还会存在答案:容器删除后dockerrm后,会自动删除/var/lib/docker/overlay2中对应的文件实验步骤dockerrun--nametest-container-itbusybox:latestsh#主机拷贝文件到容器dockercptest-file.txttest-container:/tmp#去/var/lib/docker/overlay2查看是否有此

python - 如何在 Redis 上存储 var count.name(其中 name 是一个 arg)

Redis正在计算根上的命中数。我添加了一个参数“名称”,我的代码如下所示:fromflaskimportFlaskfromredisimportRedisapp=Flask(__name__)redis=Redis(host='redis',port=6379)@app.route('/')@app.route('/')defhello(name):count=redis.incr('hits')return'Hello{}Ihavebeenseen{}times.\n'.format(name,count)if__name__=="__main__":app.run(host="0

python - 如何在 Redis 上存储 var count.name(其中 name 是一个 arg)

Redis正在计算根上的命中数。我添加了一个参数“名称”,我的代码如下所示:fromflaskimportFlaskfromredisimportRedisapp=Flask(__name__)redis=Redis(host='redis',port=6379)@app.route('/')@app.route('/')defhello(name):count=redis.incr('hits')return'Hello{}Ihavebeenseen{}times.\n'.format(name,count)if__name__=="__main__":app.run(host="0

Vivado报错:[Opt 31-67] Problem: A LUT6 cell in the design is missing a connection on input pin I5

一、报错原文展示具体报错内容如下:[Opt31-67]Problem:ALUT6cellinthedesignismissingaconnectiononinputpinI5,whichisusedbytheLUTequation.Thispinhaseitherbeenleftunconnectedinthedesignortheconnectionwasremovedduetothetrimmingofunusedlogic.TheLUTcellnameis:design_1_i/pingpang_write_buff_0/inst/FSM_sequential_ram_wr_state[

Vivado报错:[Opt 31-67] Problem: A LUT6 cell in the design is missing a connection on input pin I5

一、报错原文展示具体报错内容如下:[Opt31-67]Problem:ALUT6cellinthedesignismissingaconnectiononinputpinI5,whichisusedbytheLUTequation.Thispinhaseitherbeenleftunconnectedinthedesignortheconnectionwasremovedduetothetrimmingofunusedlogic.TheLUTcellnameis:design_1_i/pingpang_write_buff_0/inst/FSM_sequential_ram_wr_state[

could not find java in ES_JAVA_HOME at /root/opt/elastic/elasticsearch-8.1.2/jdk/bin/java

报错信息es@MEPRDAPP01:/root/opt/elastic/elasticsearch-8.1.2>java-versionjavaversion"1.8.0_221"Java(TM)SERuntimeEnvironment(build1.8.0_221-b11)JavaHotSpot(TM)64-BitServerVM(build25.221-b11,mixedmode)es@MEPRDAPP01:/root/opt/elastic/elasticsearch-8.1.2>shstart.shcouldnotfindjavainES_JAVA_HOMEat/root/opt/el