[asterisk-gui] Asterisk GUI 2.0 install no good!
Andrew Latham
lathama at gmail.com
Thu Aug 19 10:36:02 CDT 2010
#!/bin/sh
ASTERISK_BRANCH="1.6.2"
LIBPRI_BRANCH="1.4"
ASTERISK_GUI_BRANCH="2.0"
ASTERISK_ADDONS_BRANCH="1.6.2"
DAHDI_LINUX_BRANCH="2.3"
DAHDI_TOOLS_BRANCH="2.3"
mkdir -p /usr/src/$ASTERISK_BRANCH
cd /usr/src/$ASTERISK_BRANCH
clear
echo
echo "Get Sources"
echo
svn co http://svn.digium.com/svn/asterisk/branches/$ASTERISK_BRANCH asterisk
svn co http://svn.digium.com/svn/libpri/branches/$LIBPRI_BRANCH libpri
svn co http://svn.digium.com/svn/asterisk-gui/branches/$ASTERISK_GUI_BRANCH gui
svn co http://svn.digium.com/svn/asterisk-addons/branches/$ASTERISK_ADDONS_BRANCH
addons
svn co http://svn.digium.com/svn/dahdi/linux/branches/$DAHDI_LINUX_BRANCH
dahdi-linux
svn co http://svn.digium.com/svn/dahdi/tools/branches/$DAHDI_TOOLS_BRANCH
dahdi-tools
echo
echo "Compile & Install Dahdi Linux"
echo
cd dahdi-linux
make && make install
echo
echo "Compile & Install Dahdi Tools"
echo
cd ../dahdi-tools
./configure && make && make install && make config
echo
echo "Compile & Install Libpri"
echo
cd ../libpri
make && make install
echo
echo "Compile & Install Asterisk"
echo
cd ../asterisk
./configure
echo
echo "Enable ulaw sounds"
echo
make menuselect.makeopts
menuselect/menuselect --disable CORE-SOUNDS-EN-GSM menuselect.makeopts
menuselect/menuselect --enable CORE-SOUNDS-EN-ULAW menuselect.makeopts
menuselect/menuselect --disable MOH-OPSOUND-WAV menuselect.makeopts
menuselect/menuselect --enable MOH-OPSOUND-ULAW menuselect.makeopts
make && make install && make samples && make install-logrotate
echo
echo "Compile & Install Asterisk Addons"
echo
cd ../addons
./configure && make && make install && make samples
echo
echo "Compile & Install Asterisk Gui"
echo
cd ../gui && ./configure
make && make install
will get you to a clean install....
then config your manager and http conf files
start asterisk and go to your url...
~
Andrew "lathama" Latham
lathama at gmail.com
* Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
* Learn more about Linux http://en.wikipedia.org/wiki/Linux
* Learn more about Tux http://en.wikipedia.org/wiki/Tux
On Thu, Aug 19, 2010 at 11:14 AM, dnb at bluewin.ch <dnb at bluewin.ch> wrote:
> hello,
>
> i have a fresh installed debian lenny. and then i installed asterisk:
>
> http://packages.debian.org/lenny/asterisk
>
> ok, then i wanted to active this super Gui:
>
> http://www.asterisk.org/asterisknow/install-related
>
> edited the Config files
>
> every thing went fine:
>
> debian:/asterisk-gui# make checkconfig
> --- Checking Asterisk configuration to see if it will support the GUI ---
> * Checking for http.conf: OK
> * Checking for manager.conf: OK
> * Checking if HTTP is enabled: OK
> * Checking if HTTP static support is enabled: OK
> * Checking if manager is enabled: OK
> * Checking if manager over HTTP is enabled: OK
> --- Everything looks good ---
> * GUI should be available at http://debian:8088/asterisk/static/config/index.html
>
> * Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
> you will only be able to visit it from the local machine.
>
> Example: http://localhost:8088/asterisk/static/config/index.html
>
> * The login and password should be an entry from /etc/asterisk/manager.conf
> which has 'config' permission in read and write. For example:
>
> [admin]
> secret = mysecret4264
> read = system,call,log,verbose,command,agent,config
> write = system,call,log,verbose,command,agent,config
>
> BUT in the browser i get 404 because http server points to the wrong directory!!!!!
>
> /var/lib/asterisk/
>
> instead of:
>
> /usr/share/asterisk/
>
>
> Ok copied files over, im able to log in.
> I'm not surprised as i got stuck at the next annoying error?
>
> "Checking write permission for Gui folder"
>
> endless browser loop... nice
>
> -------------------------------------------
> Why do free Linux programs keep sucking ass,
> and make people go buy m$?
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
More information about the asterisk-gui
mailing list