March-3rd-2021, 11:50 AM
(This post was last modified: July-20th-2021, 11:45 AM by Armin@netPI.)
Here is how to edit the configuration file in the container manually using the embedded container console in 7 steps:
1. Click the embedded console icon of the container
2. Choose "/bin/sh" as console terminal service and press connect
3. Call "vi" Linux editor plus the file to edit with "vi /mosquitto/config/mosquitto.conf"
4. Press key "i" in the opening editor to activate the editor mode to "inserting"
5. Insert the lines as first lines in the file
"listener 1883"
"allow_anonymous true"
6. Press key "Esc" and then ":" then "w" and then "q" which is the command "write quit".
7. Then restart the container
Here is a picture of the steps 1 to 5
1. Click the embedded console icon of the container
2. Choose "/bin/sh" as console terminal service and press connect
3. Call "vi" Linux editor plus the file to edit with "vi /mosquitto/config/mosquitto.conf"
4. Press key "i" in the opening editor to activate the editor mode to "inserting"
5. Insert the lines as first lines in the file
"listener 1883"
"allow_anonymous true"
6. Press key "Esc" and then ":" then "w" and then "q" which is the command "write quit".
7. Then restart the container
Here is a picture of the steps 1 to 5
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)