https://github.com/computate-org/computate_0ad
https://github.com/computate-org/computate_0ad
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/computate_0ad
- Owner: computate-org
- Created: 2022-08-11T01:48:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-19T02:17:11.000Z (11 months ago)
- Last Synced: 2025-07-19T06:11:09.886Z (11 months ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install the prerequisite applications
```bash
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo crb enable
sudo dnf install -y ansible-core
```
- https://github.com/computate-org/computate_wxwidgets
- https://github.com/computate-org/computate_enet
- https://github.com/computate-org/computate_gloox
```bash
install -d ~/.ansible/roles/computate.computate_wxwidgets
git clone https://github.com/computate-org/computate_wxwidgets.git ~/.ansible/roles/computate.computate_wxwidgets/
cd ~/.ansible/roles/computate.computate_wxwidgets/
ansible-playbook install.yml
install -d ~/.ansible/roles/computate.computate_enet
git clone https://github.com/computate-org/computate_enet.git ~/.ansible/roles/computate.computate_enet/
cd ~/.ansible/roles/computate.computate_enet/
ansible-playbook install.yml
install -d ~/.ansible/roles/computate.computate_gloox
git clone https://github.com/computate-org/computate_gloox.git ~/.ansible/roles/computate.computate_gloox/
cd ~/.ansible/roles/computate.computate_gloox/
ansible-playbook install.yml
```
# Install the 0ad ansible role
```bash
# Create a directory for the ansible role.
install -d ~/.ansible/roles/computate.computate_0ad
# Clone the 0ad ansible role.
git clone git@github.com:computate-org/computate_0ad.git ~/.ansible/roles/computate.computate_0ad
# Change into the 0ad ansible role directory.
cd ~/.ansible/roles/computate.computate_0ad
```
# Run the 0ad ansible playbook to install 0ad locally.
```bash
ansible-playbook install.yml
```
# Set up firewall on each computer
```bash
# For example on your computer
sudo firewall-cmd --add-port=20595/udp --zone=trusted --permanent
sudo firewall-cmd --add-port=20595/udp --zone=trusted
sudo firewall-cmd --add-source 192.168.86.190/24 --zone trusted
sudo firewall-cmd --add-source 192.168.86.190/24 --zone trusted --permanent
# For example on another computer
sudo firewall-cmd --add-port=20595/udp --zone=trusted --permanent
sudo firewall-cmd --add-port=20595/udp --zone=trusted
sudo firewall-cmd --add-source 192.168.86.37/24 --zone trusted
sudo firewall-cmd --add-source 192.168.86.37/24 --zone trusted --permanent
```