### Execute Don't Starve Together Client Installation Script Source: https://github.com/qinming99/dst-admin/blob/master/README.md After starting dst-admin, an `install.sh` script is released. This command executes that script to install Steam and the Don't Starve Together client. Users might be prompted for a password, and the script may need to be run multiple times due to network issues. ```bash ./install.sh ``` -------------------------------- ### Run dst-admin Docker Container Source: https://github.com/qinming99/dst-admin/blob/master/docker/README.md Pulls the latest dst-admin Docker image and runs it as a detached container. This command maps essential ports (8080 for web UI, 10888, 10998-10999 for game server UDP traffic) and automatically handles initial setup like installing SteamCMD and Don't Starve server components upon first start. ```shell $ docker pull dzzhyk/dst-admin:latest $ docker run --name dst-admin -d -p8080:8080 -p10888:10888/udp -p10998-10999:10998-10999/udp dzzhyk/dst-admin:latest ``` -------------------------------- ### Install OpenJDK 1.8 on Ubuntu Server Source: https://github.com/qinming99/dst-admin/blob/master/README.md This snippet provides the necessary commands to update system packages, install OpenJDK 1.8, and verify its successful installation on an Ubuntu server. It ensures the Java runtime environment is ready for dst-admin. ```bash sudo apt-get update sudo apt-get install -y openjdk-8-jdk java -version ``` -------------------------------- ### Start dst-admin Application from JAR Source: https://github.com/qinming99/dst-admin/blob/master/README.md This command executes the downloaded `dst-admin.jar` file using the Java Virtual Machine, initiating the dst-admin web application. The application will typically run on port 8080 by default. ```bash java -jar dst-admin.jar ``` -------------------------------- ### Download Latest dst-admin JAR File Source: https://github.com/qinming99/dst-admin/blob/master/README.md This command uses `wget` to download the most recent stable release of the dst-admin application, saving it as `dst-admin.jar`. This is a prerequisite step before starting the application. ```bash wget http://clouddn.tugos.cn/release/dst-admin-1.5.0.jar -O dst-admin.jar ``` -------------------------------- ### Control dst-admin Using dstStart.sh Script Source: https://github.com/qinming99/dst-admin/blob/master/README.md This command executes the `dstStart.sh` script, which is provided to manage and control the dst-admin application. It simplifies common operations for the server administrator. ```bash ./dstStart.sh ``` -------------------------------- ### Run Custom Built dst-admin Docker Image Source: https://github.com/qinming99/dst-admin/blob/master/docker/README.md First, lists all local Docker images to verify that your custom-built image is available. Then, it runs the custom image as a detached container, mapping the necessary ports for web access and game server communication, similar to running the official image. ```shell $ docker images $ docker run --name dst-admin -d -p8080:8080 -p10888:10888/udp -p10998-10999:10998-10999/udp wolfgang/dst-admin:v1.5.0 ``` -------------------------------- ### Check dst-admin Docker Container Logs Source: https://github.com/qinming99/dst-admin/blob/master/docker/README.md Displays the real-time logs of the running dst-admin Docker container. This is useful for monitoring the server's status, identifying issues, and verifying successful startup. ```shell $ docker logs dst-admin ``` -------------------------------- ### Build Custom dst-admin Docker Image Source: https://github.com/qinming99/dst-admin/blob/master/docker/README.md Navigates into the `docker` directory of the dst-admin project and executes the `build_image.sh` script. This script allows you to build a custom Docker image using your specified Docker username and a particular dst-admin version. ```shell $ cd docker $ ./build_image.sh # For example: ./build_image.sh wolfgang 1.5.0 ``` -------------------------------- ### Restart dst-admin Docker Container Source: https://github.com/qinming99/dst-admin/blob/master/docker/README.md Restarts the dst-admin Docker container. This action is crucial for applying configuration changes or triggering checks for updates to `steamcmd` and the `Don't Starve server` components. ```shell $ docker restart dst-admin ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.