| 134 | | == Access Mumble via the web == |
| 135 | | |
| 136 | | You can now access mumble via the web: |
| 137 | | |
| 138 | | https://mumble.mayfirst.org/?address=mumble.mayfirst.org&port=443/mumble |
| 139 | | |
| 140 | | The following steps were taken to make this possible: |
| 141 | | |
| 142 | | * `websockify` was installed via apt-get. I added a user websockify and the following systemd file in /etc/systemd/system/websockify.service: |
| 143 | | {{{ |
| 144 | | [Unit] |
| 145 | | Description=Websockify provides a wss communications layer between the web client and mumble. |
| 146 | | |
| 147 | | [Service] |
| 148 | | ExecStart=/usr/bin/websockify --ssl-target 64737 localhost:64738 |
| 149 | | User=websockify |
| 150 | | Group=websockify |
| 151 | | |
| 152 | | [Install] |
| 153 | | WantedBy=multi-user.target |
| 154 | | }}} |
| 155 | | * I created a mumble-web user |
| 156 | | * I installed the latest stable releases of node/npm via the [https://nodejs.org/en/ upstream web site] and unpacked them in /home/mumble-web/bin |
| 157 | | * I created a /srv/mumble-web directory and symlinked to /home/mumble-web/mumble-web |
| 158 | | * I ran `git clone https://github.com/johni0702/mumble-web /srv/mumble-web/` followed by `cd mumble-web` and `npm install` and `npm run build` |
| 159 | | * I added an nginx configuration file. |
| 160 | | |
| 161 | | === Modifications === |
| 162 | | |
| 163 | | See: https://github.com/Johni0702/mumble-web/issues/26 |
| 164 | | |
| 165 | | === Upgrading === |
| 166 | | |
| 167 | | Upgrades to websockify should happen automatically via debian. |
| 168 | | |
| 169 | | To upgrade to the latest mumble-web code, run the following as the mumble-web user: |
| 170 | | |
| 171 | | {{{ |
| 172 | | cd /srv/mumble-web |
| 173 | | git pull |
| 174 | | node install |
| 175 | | node build run |
| 176 | | }}} |
| 177 | | |
| 178 | | See above for modifications that have been made. |
| | 176 | |
| | 177 | == Access Mumble via the web == |
| | 178 | NOTE: The audio quality is bad and this client should not be used. |
| | 179 | |
| | 180 | You can now access mumble via the web: |
| | 181 | |
| | 182 | https://mumble.mayfirst.org/?address=mumble.mayfirst.org&port=443/mumble |
| | 183 | |
| | 184 | The following steps were taken to make this possible: |
| | 185 | |
| | 186 | * `websockify` was installed via apt-get. I added a user websockify and the following systemd file in /etc/systemd/system/websockify.service: |
| | 187 | {{{ |
| | 188 | [Unit] |
| | 189 | Description=Websockify provides a wss communications layer between the web client and mumble. |
| | 190 | |
| | 191 | [Service] |
| | 192 | ExecStart=/usr/bin/websockify --ssl-target 64737 localhost:64738 |
| | 193 | User=websockify |
| | 194 | Group=websockify |
| | 195 | |
| | 196 | [Install] |
| | 197 | WantedBy=multi-user.target |
| | 198 | }}} |
| | 199 | * I created a mumble-web user |
| | 200 | * I installed the latest stable releases of node/npm via the [https://nodejs.org/en/ upstream web site] and unpacked them in /home/mumble-web/bin |
| | 201 | * I created a /srv/mumble-web directory and symlinked to /home/mumble-web/mumble-web |
| | 202 | * I ran `git clone https://github.com/johni0702/mumble-web /srv/mumble-web/` followed by `cd mumble-web` and `npm install` and `npm run build` |
| | 203 | * I added an nginx configuration file. |
| | 204 | |
| | 205 | === Modifications === |
| | 206 | |
| | 207 | See: https://github.com/Johni0702/mumble-web/issues/26 |
| | 208 | |
| | 209 | === Upgrading === |
| | 210 | |
| | 211 | Upgrades to websockify should happen automatically via debian. |
| | 212 | |
| | 213 | To upgrade to the latest mumble-web code, run the following as the mumble-web user: |
| | 214 | |
| | 215 | {{{ |
| | 216 | cd /srv/mumble-web |
| | 217 | git pull |
| | 218 | node install |
| | 219 | node build run |
| | 220 | }}} |
| | 221 | |
| | 222 | See above for modifications that have been made. |