Mac OS X 配置指南

Mac OS X 配置指南

  • Docs
  • Blog

notes/games

用 Docker 在服务器上部署饥荒(Don't starve Delicated Server)

我们会使用 docker-compose 来部署。

首先要安装 pip

$ sudo apt-get install python-pip

然后要安装 docker-compose

$ sudo pip install -U docker-compose

之后需要

sudo docker-compose up

如果遇到

ERROR: Couldn't connect to Docker daemon at 
http+docker://localunixsocket - is it running?

则你需要

$ usermod -aG docker ${USER}

你可以通过 groups ${user} 命令查看当前用户属于什么组,如果还有问题,请尝试在命令前加上sudo

Reference

  • http://dontstarve.wikia.com/wiki/Guides/Don%E2%80%99t_Starve_Together_Dedicated_Servers

  • http://forums.kleientertainment.com/topic/60329-run-dedicated-server-in-docker/

  • https://github.com/Jamesits/docker-dst-server

  • https://hub.docker.com/r/jamesits/don-t-starve-together-dedicated-server/

用 Docker 部署 Terraria Server

TODO

用 Docker 部署 Starbound Server

TODO

使用路由器的 iptable 功能把 ps4 游戏机的 Twitch 的直播视频流转到自建服务器(国内服务器)

参考 Livestreaming via PS4 to a local RTMP server

iptables -t nat -A PREROUTING -d 199.9.0.0/16 -p tcp --dport 1935 -j DNAT --to-destination 192.168.123.176:1935 
iptables -t nat -A POSTROUTING -j MASQUERADE

iptables 的相关介绍请查看 linux 下面。

nginx-rtmp-module 简介

  • https://github.com/arut/nginx-rtmp-module/wiki/Directives

Reference

  • Mac 转发 PS4 twitch 直播流量到第三方直播平台

  • 不用采集卡搭建PS4直播环境&CentOS 7网络设置

  • OSX安装nginx和rtmp模块

Last updated on 2019-1-8 by wild-flame
  • Reference
    • nginx-rtmp-module 简介
    • Reference
Docs
Mac OS 配置指南 | Mac OS Setup Guide乱七八糟的笔记
Projects
Leetcode solutionsJekyll simple猪瘟疫情可视化
More
BlogGitHub
Copyright © 2019 wild-flame