Skip to content

computate-org/computate_0ad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install the prerequisite applications

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
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

# Create a directory for the ansible role. 
install -d ~/.ansible/roles/computate.computate_0ad

# Clone the 0ad ansible role. 
git clone [email protected]: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.

ansible-playbook install.yml

Set up firewall on each computer

# 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •