config.php nextcloud

Discussion of applications not mentioned above.
Locked
User avatar
oscar1412
Posts: 11
Joined: 05 Sep 2022, 00:49
Spain

config.php nextcloud

Post by oscar1412 »

Hi, good, I have a problem. I access the nextcloud config.php configuration but I can't save it. What key is to save the file? I don't know how to save it and exit the vi editor.

trusted_domains" in config/config.php like the example in config.sample.php.
User avatar
TMRyan
TerraMaster Team
Posts: 829
Joined: 01 Dec 2020, 11:50
China

Re: config.php nextcloud

Post by TMRyan »

When editing a file with the vi command, you can save and exit by following these steps:

1. Press the Esc key on your keyboard to make sure you are in Command mode.
2. Enter a colon (:) to go to the CLI.
3. In the command line mode, Enter wq and press Enter. This means "write save and exit".
a) If you just want to save the file without exiting vi, you can use the command "w", that is, type w and press Enter.
b) If you want to exit the file without saving any changes, you can use the command "q!"That is, enter q! Then press Enter.
4. vi will save your changes and exit the editor.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Locked

Return to “Others”