仓库地址:https://github.com/screego/server官网:https://screego.net/一、前期准备1.一台服务器,比如腾讯云轻量2.为了使性能最大化建议使用Debian11 /screegotar -xzf screego_1.12.0_linux_amd64.tar.gz2.解压压缩包,给screego文件权限chmod +x screego3.进行screego基础配置创建配置文件 screego.configsudo nano /opt/screego/screego.config写入基本配置信息# 核心必填 SCREEGO_EXTERNAL_IP=192.168.1.1 dev/urandom | head -c 32 ; echo SCREEGO_SERVER_TLS=false SCREEGO_SERVER_ADDRESS=0.0.0.0:5050 SCREEGO_TURN_ADDRESS =0.0.0.0:3478 SCREEGO_TURN_PORT_RANGE=50000:50100 SCREEGO_TURN_STRICT=false SCREEGO_AUTH_MODE=turn SCREEGO_LOG_LEVEL
Screego Screego 是一个共享屏幕的应用.使用golang进行开发,在readme中作者吐槽了微软等公司的延迟问题,然后就开源了这个项目.? SCREEGO_SERVER_TLS=true #开始 https # The TLS cert file (only needed if TLS is enabled) SCREEGO_TLS_CERT_FILE ://screego.net,https://sub.gotify.net SCREEGO_CORS_ALLOWED_ORIGINS= # Defines the location of the users /user.txt # 用户文件 # The loglevel (one of: debug, info, warn, error) SCREEGO_LOG_LEVEL=info # If screego /screego serve # 监听5050端口运行 我们就可以通过浏览器访问了 细节优化 将screego加入环境变量,方便调用 使用screen命令将程序改为后台运行 screen -R name
GitHub 地址→https://github.com/screego/server ?