Jump to content

How to install MYDU on Fedora 40 Server


Chaple

Recommended Posts

***UPDATED***

 


Fedora 40 Server Install Directions

sudo dnf install nano
Create directory for the listen.conf file:
mkdir -p /etc/systemd/system/cockpit.socket.d/
nano /etc/systemd/system/cockpit.socket.d/listen.conf with following content:

[Socket]
ListenStream=
ListenStream=1234

sudo firewall-cmd --add-port=1234/tcp
sudo firewall-cmd --runtime-to-permanent
systemctl daemon-reload
ausearch -c '(sd-listen)' --raw | audit2allow -M my-sdlisten
semodule -X 300 -i my-sdlisten.pp
systemctl restart cockpit.socket
cd /
cd var
cd games
mkdir MYDU
cd mydu
sudo dnf install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
sudo docker run hello-world
sudo dnf install docker-compose
docker run --rm -it -v ./:/output novaquark/dual-server-fastinstall:latest
sudo cp config/dual.yaml config/dual.yaml.ori
sudo python3 scripts/config-set-domain.py config/dual.yaml http://<DNS HOST NAME> <EXTERNAL IP ADDRESS>
sudo bash scripts/up.sh
sudo bash scripts/admin-set-password.sh admin <PASSWORD>


 

Edited by Chaple
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...