Difference between revisions of "Editing Config Files"

From "PTTLink Wiki"
Jump to navigation Jump to search
Line 1: Line 1:
 
To modify your node beyond the basic settings of what nodesetup.sh can do, you'll need to manually edit the config files.   
 
To modify your node beyond the basic settings of what nodesetup.sh can do, you'll need to manually edit the config files.   
  
==Linux CLI Editors==
+
=Linux CLI Editors=
 
For quick and simple changes the built-in Linux editors are the way to go.  
 
For quick and simple changes the built-in Linux editors are the way to go.  
 
* [http://www.lagmonster.org/docs/vi.html vi] is pretty much the default editor on most linux distros. Learn it, love it.
 
* [http://www.lagmonster.org/docs/vi.html vi] is pretty much the default editor on most linux distros. Learn it, love it.
Line 7: Line 7:
 
* [https://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/ nano] is easier to learn and preferred by many.
 
* [https://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/ nano] is easier to learn and preferred by many.
  
==GUI Editors==
+
=GUI Editors=
 
Many folks prefer a GUI editor and file transfer client over the Linux vi and nano editors. If you need to do a lot of copy and paste these are much easier. Here are some of the many clients out there.  
 
Many folks prefer a GUI editor and file transfer client over the Linux vi and nano editors. If you need to do a lot of copy and paste these are much easier. Here are some of the many clients out there.  
  
Line 17: Line 17:
 
* [https://panic.com/transmit/ Transmit] or [https://cyberduck.io CyberDuck] file transfer client.
 
* [https://panic.com/transmit/ Transmit] or [https://cyberduck.io CyberDuck] file transfer client.
 
* [https://macromates.com Text Mate] or [https://www.sublimetext.com Sublime] Editor.
 
* [https://macromates.com Text Mate] or [https://www.sublimetext.com Sublime] Editor.
 +
 +
=Location of Config Files=
 +
Nearly all of the files you'll need to edit are in /etc/asterisk

Revision as of 17:20, 15 October 2017

To modify your node beyond the basic settings of what nodesetup.sh can do, you'll need to manually edit the config files.

Linux CLI Editors

For quick and simple changes the built-in Linux editors are the way to go.

  • vi is pretty much the default editor on most linux distros. Learn it, love it.
    • Update vi to fix cursor movement (apt-get install vim).
  • nano is easier to learn and preferred by many.

GUI Editors

Many folks prefer a GUI editor and file transfer client over the Linux vi and nano editors. If you need to do a lot of copy and paste these are much easier. Here are some of the many clients out there.

For Windows:

  • Winscp is a popular file transfer and editor client.
  • Putty is the SSH and Telnet client.

For Mac:

Location of Config Files

Nearly all of the files you'll need to edit are in /etc/asterisk