Browse Source

Services

pull/1/head
Hamzah 5 months ago
parent
commit
55986a0160
1 changed files with 36 additions and 1 deletions
  1. +36
    -1
      docs/services.md

+ 36
- 1
docs/services.md View File

@@ -100,4 +100,39 @@ We run a [bridge](https://github.com/qaisjp/go-discord-irc) between the Redbrick

The bridge adds all users from discord with the suffix `_d2` and all irc users appear as them self but tagged as a bot in discord. Not all discord channels are on IRC, the config above contains a mapping of irc channels to discord channels id's. This needs to be manually updated to add more channels.

## Icecast
## Icecast - `mcmahon`

Icecast is a streaming server that we currently host on paphos

We stream DCUFm's Broadcasts to their apps via a stream presented on `dcufm.redbrick.dcu.ie:80`

They serve an audio stream (stream128.mp3) via butt on a desktop in their studio to `icecast2`.

Icecast requires root privilege to bind to Port 80; normally icecast2 runs as the `icecast2` user and binds to `8001`.

### Procedure

Change configuration.

`/etc/icecast2/icecast.xml`

```bash
<!-- Sources log in with username 'source' --> <-- This is the audio source.
<source-password>$password1</source-password> <-- This must be copied for the DCUFM buttrc.
<!-- Relays log in username 'relay' -->
<relay-password>$password2</relay-password>
<admin-user>admin</admin-user> <-- This is for the WebUI frontend
<admin-password>$password3</admin-password>

<hostname>dcufm.redbrick.dcu.ie</hostname>

<listen-socket>
<port>80</port>
<bind-address>136.206.15.101</bind-address> <-- i.p. addr for dcufm.redbrick.dcu.ie A Record.
```

After that you must configure the default behaviour for the icecast server to allow icecast2 to bind to port 80.

Set `USERID` & `GROUPID` in `/etc/defaults/icecast2` to `root`.

## NFS / Network File Storage

Loading…
Cancel
Save