前提条件:主板BIOS开启VT-D 登录PVE后台,进入shell管理终端 开启iommu vim /etc/default/grub #找到 GRUB_CMDLINE_LINUX_DEFAULT="quiet" #intel cpu 改为: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt" #amd cpu改为: GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt" 更新grub update-grub 加载vfio模块 echo v...
Cesium 隐藏地球后,只显示模型,相机旋转进入地下后,滚轮缩放视角后,相机会里模型越来越远。 解决方案: 修改Cesium源码Scene.js中isCameraUnderground方法 原代码为: ````javascript function isCameraUnderground(scene) { const camera = scene.camera; const mode = scene._mode; const globe = scene.globe; const cameraController = scene._screenSpa...
location /TowerCraneHub{ proxy_pass http://127.0.0.1:8001/TowerCraneHub; proxy_set_header Host $Host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_set_header Upgrade $htt...
- 安装为服务 ```sql \bin\neo4j install-service ``` - 清除所有节点和关系 ```sql match (n) detach delete n ``` - 删除节点的标签 ```sql match (n) REMOVE n:AbstractElement return n ``` - 删除某种标签的节点 ```sql MATCH (n:Section)detach delete n ```
- 新建一个service文件,注意权限问题 ```bash sudo vim /etc/systemd/system/FZDL.service ``` - 写入文件内容 ```bash [Unit] Description=dotnet console [Service] Type=simple WorkingDirectory=/home/chenfeng/桌面/publish ExecStart=/usr/bin/dotnet /home/chenfeng/桌面/publish/FZDL.WebAPIService.dll & Restart=on-fail...