随笔分类 -  Linux

摘要:1)下载 .net 8 运行时 https://dotnet.microsoft.com/zh-cn/download/dotnet/8.0 依据运行程序类型,下载运行时,比如需要运行web应用,下载如同运行时,一般选择 x64 版本 2)上传到服务器 解压 tar -xzf dotnet-runt 阅读全文
posted @ 2024-08-31 15:38 冬音 阅读(486) 评论(0) 推荐(0) 编辑
摘要:Linux系统下搭建java开发环境_richest_qi的博客-CSDN博客_linux java开发 阅读全文
posted @ 2022-10-17 11:14 冬音 阅读(10) 评论(0) 推荐(0) 编辑
摘要:shell脚本: #以推流为例 URL="rtmp://192.168.*.*:1935/test1/index" while(true) do ffmpeg -re -i "rtmp://192.168.*.*:1935/live/index" -vf 'pad=1366:768:93:24:bl 阅读全文
posted @ 2022-07-31 12:39 冬音 阅读(1066) 评论(0) 推荐(0) 编辑
摘要:centos7直接 sqlserver 2019 存在依赖问题难以解决,故采用docker方式安装 1.安装docker 参考:https://www.runoob.com/docker/centos-docker-install.html 2.docker安装 sql server 2019 参考 阅读全文
posted @ 2022-07-24 12:58 冬音 阅读(648) 评论(0) 推荐(0) 编辑
摘要:命令: ffmpeg -i "input.mp4" -vcodec copy -acodec copy -ss 00:02:00 -t 00:01:00 "output.mp4" ffmpeg -i "input.mp4" -vcodec copy -acodec copy -ss 00:02:00 阅读全文
posted @ 2022-06-07 00:30 冬音 阅读(1551) 评论(0) 推荐(0) 编辑
摘要:配置如下 #允许跨域请求的域,*代表所有 add_header 'Access-Control-Allow-Origin' *; #允许带上cookie请求 add_header 'Access-Control-Allow-Credentials' 'true'; #允许请求的方法,比如 GET/P 阅读全文
posted @ 2022-06-05 00:24 冬音 阅读(9032) 评论(0) 推荐(0) 编辑
摘要:nginx配置: server { listen 80; location / { proxy_hide_header X-Frame-Options; #隐藏掉返回头部 proxy_pass http://xxxxx; #网站如果配置了http跳转https,将http://换成https:// 阅读全文
posted @ 2022-06-04 22:28 冬音 阅读(1349) 评论(0) 推荐(0) 编辑
摘要:1.[不推荐,实测安装存在错误] nginx不自带tcp转发模块,可以进行下载编译安装tcp转发模块源码 https://github.com/yaoweibin/nginx_tcp_proxy_module 安装参考:Centos7 搭建Nginx+rtmp+hls直播推流服务器 - 冬音 - 博 阅读全文
posted @ 2022-03-09 19:54 冬音 阅读(263) 评论(0) 推荐(0) 编辑
摘要:1 准备 1)公网ip的服务器(本文以Centos7系统为例) 2)内网电脑(本文以Windows7为例) 2 实现步骤 2.1 服务端 linux服务器下载对应frp:Releases · fatedier/frp (github.com) wget https://github.com/fate 阅读全文
posted @ 2022-02-06 20:20 冬音 阅读(617) 评论(0) 推荐(0) 编辑
摘要:centos中设置swap交换空间的大小设置和swappiness的比例设置 - 相心 - 博客园 (cnblogs.com) CentOS 7添加Swap空间_时光不语的博客-CSDN博客_centos7 增加swap 阅读全文
posted @ 2022-01-26 16:03 冬音 阅读(110) 评论(0) 推荐(0) 编辑
摘要:关闭Hyper_V中此虚拟机的的安全启动选项 虚拟机 the image's hash and certificate are not allowed 解决方案 - 威流 - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-01-23 01:35 冬音 阅读(128) 评论(0) 推荐(0) 编辑
摘要:grubby --update-kernel=ALL --args="video=hyperv_fb:1920x1080" Hyper-v中安装完Centos7修改分辨率_IAGod的博客-CSDN博客 阅读全文
posted @ 2022-01-23 01:33 冬音 阅读(215) 评论(0) 推荐(0) 编辑
摘要:创建脚本: vi ***.sh chmod a+x ***.sh 创建服务: vi /etc/systemd/system/***.service [Unit] Description=demo [Service] ExecStart=/bin/bash /root/***.sh[Install]W 阅读全文
posted @ 2022-01-02 22:44 冬音 阅读(356) 评论(0) 推荐(0) 编辑
摘要:1 安装nginx Centos7 搭建Nginx+rtmp+hls直播推流服务器 - 冬音 - 博客园 (cnblogs.com) 2 安装ffmpeg Linux直播推流 - 冬音 - 博客园 (cnblogs.com) 3 检查usb摄像头是否连接成功 查看usb信息,确认usb摄像头连接成功 阅读全文
posted @ 2022-01-02 22:42 冬音 阅读(2990) 评论(0) 推荐(0) 编辑
摘要:server { listen 80; server_name localhost; listen 443 ssl default_server; #listen [::]:443 ssl default_server; #ipv6 ssl_certificate /usr/local/nginx/ 阅读全文
posted @ 2021-04-17 16:59 冬音 阅读(2223) 评论(0) 推荐(0) 编辑
摘要:原因:服务器不支持ipv6 解决:注释掉nginx配置下面这句 阅读全文
posted @ 2021-04-17 16:52 冬音 阅读(2000) 评论(0) 推荐(1) 编辑
摘要:推流修改比特率和帧数: streamlink $URL 720p -O | ffmpeg -re -i pipe:0 -vcodec h264 -b:v 300k -r 15 -c:a aac -f flv $RTMP https://blog.csdn.net/DaveBobo/article/d 阅读全文
posted @ 2021-03-08 13:39 冬音 阅读(91) 评论(0) 推荐(0) 编辑
摘要:1.到python的官网去下载python3.7.2安装包,必须是Linux版本的 2.在/usr/tmp下下载python安装包 wget https://www.python.org/ftp/python/3.*.*/Python-3.*.*.tgz 3.解压python到/usr/local/ 阅读全文
posted @ 2021-01-19 21:02 冬音 阅读(391) 评论(0) 推荐(0) 编辑
摘要:1、在虚拟机Ubuntu系统中打开终端 (ctrl+shift+T)输入命令 sudo vim /etc/default/grub 2、在vim打开的文件中找到GRUB_CMDLINE_LINUX_DEFAULT将其修改为GRUB_CMDLINE_LINUX_DEFAULT="quiet splas 阅读全文
posted @ 2021-01-18 13:08 冬音 阅读(518) 评论(0) 推荐(0) 编辑
摘要:grubby --update-kernel=ALL --args="video=hyperv_fb:1600x900" reboot https://blog.csdn.net/superlover_/article/details/90581400 https://www.cnblogs.com 阅读全文
posted @ 2021-01-17 21:48 冬音 阅读(353) 评论(0) 推荐(0) 编辑