Editing Config Files: Difference between revisions

From AllStarLink Wiki
Jump to navigation Jump to search
imported>Wd6awp
No edit summary
Line 4: Line 4:
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.
** Update vi to fix cursor movement (apt-get install vim).
* [https://www.vim.org/ vim] is an improved version of vi with plugin support and many more features. To install:
: <code>apt-get -y install vim</code>
* [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.



Revision as of 01:08, 20 January 2021

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.
  • vim is an improved version of vi with plugin support and many more features. To install:
apt-get -y 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