add the repository
$ sudo nano /etc/apt/sources.listadd the lines
deb http://updates.xorcom.com/astribank/debian/ etch main deb-src http://updates.xorcom.com/astribank/debian/ etch mainRefresh
$ sudo aptitude updateInstall the FreePBX dummy package. There are a few to choose from. Options are freepbx-apache-mysql, freepbx-apache2-mysql, freepbx-apache2-mysql-php5, freepbx-mathopd-mysql, freepbx-mathopd-sqlite. I'm running Feisty Beta, so I chose the php5 package. !!Any one of these packages is required before freepbx-admin is installed!!
$ sudo aptitude install freepbx-apache2-mysql-php5Install Freepbx-admin
$ sudo aptitude install freepbx-adminEdit the asterisk config file. Set "RUNASTERISK=yes"
$ sudo nano /etc/default/asteriskStart Asterisk and Restart Apache2
$ sudo /etc/init.d/asterisk start $ sudo /etc/init.d/apache2 restartYou can now log into FreePBX to administer and configure Asterisk. Access http://localhost/freepbx Log in using User: Admin, Password: Admin
If you get an error about mysql database not configured, setup the mysql database
If you get an error "Cannot connect to Asterisk Manager with admin," you may have to create/edit the Asterisk Manager's admin user:
$ sudo nano /etc/amportal.confThis is the conf file for freepbx. Find and set (you should use different values for security)
# AMPMGRUSER: the user to access the Asterisk manager interface AMPMGRUSER=admin # AMPMGRPASS: the password for AMPMGRUSER AMPMGRPASS=secretSet the same with Asterisk Manager:
$ sudo nano /etc/asterisk/manager.confNote the Username is in [], so for AMPMGRUSER=admin we set [admin].
[admin] secret = secret read = system,call,log,verbose,command,agent,config write = system,call,log,verbose,command,agent,config displayconnects= yesNOTE: THIS MAY NOT BE SECURED. PLEASE SECURE THIS BEFORE PUTTING YOUR BOX ON THE INTERNET. It would probably be wise to ask on the Xorcom.com mailing list, setup iptables, or something. I'm not sure what security settings are defaults in these packages/how they differ from first install method in this wiki.
Postar um comentário