首页 文章 精选 留言 我的

精选列表

搜索[服务器],共10000篇文章
优秀的个人博客,低调大师

kplayer v0.5.3 版本发布,更适合的云服务器直播推流工具

KPlayer是什么 https://github.com/bytelang/kplayer-go/blob/master/README.md v0.5.3 更新内容 提供跳转至指定unique name的资源文件 修复通过API添加输入资源必须为本地视频的错误 添加delay_queue_size配置参数指定默认编码缓存队列大小 修复插件加载PNG格式资源异常问题 github https://github.com/bytelang/kplayer-go 下载地址 arm64:http://download.bytelang.cn/kplayer-v0.5.1-Linux-aarch64.tar.gz amd64:http://download.bytelang.cn/kplayer-v0.5.1-Linux-x86_64.tar.gz

优秀的个人博客,低调大师

kplayer v0.5.1 版本发布,更适合的云服务器直播推流工具

KPlayer是什么 https://github.com/bytelang/kplayer-go/blob/master/README.md 更新内容 添加支持输入资源文件为文件夹类型,自动遍历文件夹下视频资源 添加对arm64与x86_64的docker支持 更好的适配srt推流协议 修复交互式命令添加默认参数的问题 修复通过CLI与API跳过适配资源无效的问题 修复某些异常情况下程序假死的情况 修复在某些发行版本上运行kplayer出现segmentation fault的异常情况 添加程序异常崩溃退出时的错误信息捕获 更新主程序插件配置版本为v0.4.1,新增插件可订阅当前推流资源基础信息接口 github https://github.com/bytelang/kplayer-go 下载地址 arm64: http://download.bytelang.cn/kplayer-v0.5.1-Linux-aarch64.tar.gz amd64: http://download.bytelang.cn/kplayer-v0.5.1-Linux-x86_64.tar.gz

优秀的个人博客,低调大师

阿里云服务器 debian9 apache2 部署flask+wsgi 过程总结

由于阿里云镜像自带的源更新比较缓慢,最新的python3版本还是3.5,而我的代码使用的库需要python3.6+,因此需要先更新debian源: vim /etc/apt/sources.list 在其中添加: deb http://mirrors.163.com/debian/ testing main 执行: apt-get update apt-get install python3.6 python3.6-dev python3.6-distutils apt-get install python-pip 安装wsgi: sudo apt-get install libapache2-mod-wsgi-py3 在/etc/apache2/sites-available中新建flask.conf文件,在其中输入: WSGIPythonPath /var/www/html/flask <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName flask.yunwei123.tech # ServerAdmin webmaster@localhost DocumentRoot /var/www/html/flask # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined WSGIScriptAlias / /var/www/html/flask/app.wsgi <Directory /var/www/html/flask> Require all granted <Files app.wsgi> Allow from all </Files> </Directory> # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet 保存。 在网站根目录(这里是)新建app.wsgi文件,输入: from server import app as application 再在同一个目录下新建server.py, 输入: from flask import Flask import platform print(platform.python_version()) app = Flask(__name__) @app.route('/') def hello_world(): return platform.python_version() if __name__ == '__main__': app.run(host='0.0.0.0') 打开网页就可以看到啦。 这里搭建的网页: 使用 flask + pyechart 搭建的简单新冠肺炎疫情数据可视化交互分析平台,包含疫情数据获取、态势感知、预测分析、舆情监测等任务:http://flask.yunwei123.tech/进行查看 包含完整代码和实现的github地址:https://github.com/yunwei37/COVID-19-NLP-vis

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册