Fix format error

This commit is contained in:
BruceChen 2022-11-04 16:26:53 +08:00
parent a23747e236
commit b3ca0a1b33
7 changed files with 163 additions and 75 deletions

View file

@ -191,7 +191,9 @@ docker run -it -v <PATH_ON_YOUR_MACHINE_TO_MOUNT>:/opt/data minecraft-console-cl
```
Now you could login and the Client is running.
To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`.
To reattach use the `docker attach` command.
**Start the container using docker-compose:**
@ -225,6 +227,7 @@ docker-compose up -d #for deamonized running in the background
```
Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`.
As above, you can stop and remove the container using
```bash
@ -317,6 +320,7 @@ bash ubuntu.sh
```
Then you will be asked a question, enter `Y` and press `Enter`.
Once the installation is complete, you can start Ubuntu with:
```bash
@ -504,6 +508,7 @@ To stop MCC from running you can press `CTRL + C`
To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A).
For downloading files, you can use the `wget` file we have installed, simply run:
`wget your_link_here` (you have examples above, and a video tutorial down bellow).
Also, here are some linux tutorials for people who are new to it:
@ -650,6 +655,7 @@ You also may want to search for better deals.
</div>
Register on AWS and enter all of your billing info and a phone number.
Once you're done, you can continue to [Setting up the Amazon VPS](#setting-up-an-aws-vps).
### Initial Amazon VPS setup
@ -869,7 +875,9 @@ touch authorized_keys
```
Do no close the Git bash/Terminal emulator.
On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account.
Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called).
Type the following command:
@ -949,6 +957,7 @@ sudo systemctl status sshd
```
If everything has been configured as it should be you should see `active (running)` as a status of the service.
If not, open the config file again and check for mistakes.
Press `q` to exit the log mode.