- 博客(5)
- 收藏
- 关注
原创 PowerShell中使用代理服务
针对连接代理服务器需要认证,有两种方式:一种是使用Windows SSO,另一种是指定用户认证证书。等网络请求命令的时候会出现无法连接到服务器的错误,这时我们可以使用代理服务来解决这个问题。默认情况下PowerShell脚本的执行策略是不允许执行脚本,需要进行下面的设置。PowerShell Core还支持通过特定的Windows环境变量来设置代理。在新版本的PowerShell Core(6.x, 7.x)中使用。将下面的内容存入的PowerShell的配置文件中。在PowerShell中使用。
2023-12-14 11:31:52 3170 1
原创 wsl-ubuntu配置cuda-tensorrt开发环境
WSL ubuntu20配置CUDA-CUDNN-TensorRT官方安装cudawget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pinsudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600sudo apt-key adv --fetch-keys https:
2021-03-17 13:34:03 924
原创 Gitlab-CI功能配置
Gitlab-CI功能配置安装gitlab-runner(Linux安装参考)注册runner: gitlab-runner register配置runner( 参考): /etc/gitlab-runner/config.toml[[runners]] name = "1050TI" url = "http://192.168.1.101:81/" token = "cj7bexbJMxfsm5xzxCJs" executor = "shell" clone_url = "ht
2021-03-11 09:28:51 231
原创 Linux系统安全设置相关
安全上下文安全上下文的违规日志:/var/log/audit/audit.log文件或目录的安全上下文查看:ls -Z手动修改:chcon恢复默认值:restorecon查看默认值:semanage fcontext -l设置默认值:semanage fcontext -a -t <value> <"your_path">端口安全上下文查看:semanage port -l设置:semanage port -a -t <service> -p <
2021-03-03 16:31:59 116 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人