Scripts : Deprecated : Development
PIAF Dev Environment
Submitted by Admin on February 17, 2008 - 10:57am.
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

Please tap the ENTER key and after a short delay you will see the following screen:
Please tap the ENTER key and you should see the screen below:
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:
- 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.

PBX In A Flash Scripts