Scripts : Deprecated : Development

These scripts will only run with PBX In A Flash ISO version 1.0 and 1.1 with Asterisk 1.4.15 or earlier. If you use it on "other pbx" systems you may have problems.

Deprecated PIAF Dev Environment

Note this is not recommended for a production machine at all! it is designed for a PBX type development machine. If you are not a developer we don't recommend you use this script!

Welcome to the uberscript that will do the following:

  • Install a number of missing dependencies that may be required if you are going to recompile Asterisk or develop software for PBX in a Flash.
  • Downloads, installs, and recompiles the latest source from Digium. The net effect of this is it may make your machine unstable and no longer suitable for a production environment.
  • Turns off a number of services that you may be using for PBX in a Flash in a production environment.
  • Installs a number of tools that you can use for PBX developmen.
  • Installs Xwindows-KDE. While the Linux zealots will sneer at this if you are just learning it is nice to have a familiar GUI environment prior to leaning the command line which can be somewhat challenging. A number of development tools are also installed in the GUI such as Kdevelop and KDESVN (See note below for the source to prevent the software police from whining). If Xwindows-KDE is not running it merely takes up space on your hard drive but not processor or memory resources.

Installation

  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root
  • wget http://www.pbxinaflash.org/scripts/install-piafdev.x.gz
  • gunzip install-piafdev.x.gz chmod +x install-piafdev.x ./install-piafdev.x
  • This is a partially interactive script which requires user intervention. Below is the screen you will see that needs your attention

step 1

Please tap the ENTER key and after a short delay you will see the following screen:

step 2

Please tap the ENTER key and you should see the screen below:

step 3

Using the arrow keys navigate down to the 4th selection and press the SPACEBAR whcih will deselect this choice. Now tap the X key and you will see the screen below:

step 4

  • The rest of the install will complete as normal.
  • Your PBX in a Flash system will reboot now.
  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root.
  • Type rm -f install-piafdev.sh and then tap the ENTER key Type system-config-display and then tap the ENTER key.
  • In the new window select the resolution you want and then save it.
  • Once you are back at the command prompt type startx and tap the ENTER key

Enjoy. There is enough stuff here to keep you busy for a while. If anyone notices anything else a programmer might benefit from please let me know so I can include it.

Documentation

Script Creator: Tom King

Here is the link to the source of KDESVN and it's related code base:

http://www.alwins-world.de/repos/kdesvn/
or
http://www.pbxinaflash.org/files/kdesvn-0.14.1.tar.bz2

This notice was put in to satisfy the software police that seem to be lurking out there protecting us from ourselves.