Local system configuration is performed by editing the appropriate configuration files and then reloading or restarting the corresponding service(s).
All important system components, such as daemons, services, have their own configuration files, some have more than one. These files are generally stored under the /etc
directory. There are exceptions from this rule, of course, but the majority of configuration files are in that directory. Some files are directly stored under /etc
, but most services store the configuration files for the services in a subdirectory. For example, PNS stores a number of configuration files under /etc/zorp
.
The configuration files are usually plain-text ASCII or XML files, and can be edited with any text editor. By default,the following text editors are installed: joe, nano, and vi.
Tip |
---|
Before editing configuration files make backup copies, for example, using the following command:cp filename filename.bak |
Warning |
---|
PNS replaces the configuration file of several services with a symbolic link that points to a configuration file that is maintained by PNS. Do not edit such files directly, because your changes will be automatically removed when you upgrade to a new version of PNS. To edit such files properly, first break the symbolic link, and replace the broken link with a file. After that, you can edit this file. The list of files replaced with symbolic links is the following: |
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu