Difference between revisions of "Editing Config Files"

From "AllStarLink Wiki"
Jump to: navigation, search
(Created page with "To modify node settings beyond what nodesetup.sh can do, you'll need to manually edit the config files. For that, folks new to Linux will prefer a GUI editor and sftp client f...")
 
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
To modify node settings beyond what nodesetup.sh can do, you'll need to manually edit the config files. For that, folks new to Linux will prefer a GUI editor and sftp client for their Windows or Mac computer.  
+
To modify your node beyond the basic settings of nodesetup.sh, you'll need to manually edit the config files. Of course, you'll need to know the user ID and password of your AllStarLink server. You also want to understand the [[Structure of Config Files|Structure of Config Files]] before you start.
  
[https://winscp.net/ Winscp] is a popular
+
=Linux CLI Editors=
 +
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.
 +
** Update vi to fix cursor movement (apt-get install vim).
 +
* [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=
 +
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:
 +
* [https://winscp.net/ Winscp] is a popular file transfer and editor client.
 +
* [http://www.putty.org Putty] is not an editor but you'll need it. It is '''the''' SSH and Telnet client.
 +
 
 +
For Mac:
 +
* [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.
 +
 
 +
=Location of Config Files=
 +
Nearly all of the files you'll need to edit are in /etc/asterisk
 +
 
 +
[[Category:How to]]
 +
[[Category:Node Configuration]]

Latest revision as of 00:00, 17 October 2017

To modify your node beyond the basic settings of nodesetup.sh, you'll need to manually edit the config files. Of course, you'll need to know the user ID and password of your AllStarLink server. You also want to understand the Structure of Config Files before you start.

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 not an editor but you'll need it. It 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