hecatae
resident hecatae
- Joined
- Feb 7, 2014
- Messages
- 760
- Reaction score
- 199
here will follow my notes on installing asterisk 13, freepbx 12 on archlinux, with incrediblepbx added afterwards.
specs of the machine I'm installing on:
cloudatcost 10gb ssd, 512mb ram, 1cpu
I chose the ubuntu 14.04 vps and used https://github.com/drizzt/vps2arch to convert it, I then edited
I ran pacman -Syu to get up to date, and then secured the firewall.
Next I installed Yaourt, as some packages are only available in the Archlinux User Repository,
I edited /etc/pacman.conf
and added the following to the bottom:
pacman -Syu pulls in the added repository, and pacman -Sy yaourt pulls in yaourt and all dependencies.
packages in the aur cannot be built as root, so I added a local user useradd -m bob and logged out and logged back in as bob.
first I set the variables:
edit: yaourt uses /tmp to build, /tmp on a 512mb ram install is 247mb, not enough space to build,
temp solution as root:
and then I ran:
yaourt -Sy asterisk mariadb apache php php-apache php-gd php-pear php-ldap php-sqlite php-xsl git fail2ban
will add more when this completes
please note, this is heavily adapted from: http://archlinuxarm.org/forum/viewtopic.php?f=57&t=7480
specs of the machine I'm installing on:
cloudatcost 10gb ssd, 512mb ram, 1cpu
I chose the ubuntu 14.04 vps and used https://github.com/drizzt/vps2arch to convert it, I then edited
and enabled all the Canadian mirrors, as Cloudatcost is based in Canada./etc/pacman.d/mirrorlist
I ran pacman -Syu to get up to date, and then secured the firewall.
Next I installed Yaourt, as some packages are only available in the Archlinux User Repository,
I edited /etc/pacman.conf
and added the following to the bottom:
Code:
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
pacman -Syu pulls in the added repository, and pacman -Sy yaourt pulls in yaourt and all dependencies.
packages in the aur cannot be built as root, so I added a local user useradd -m bob and logged out and logged back in as bob.
first I set the variables:
VER_FREEPBX=12.0
ASTERISK_DB_PW=amp109
PHPINI=/etc/php/php.ini
APACHECONF=/etc/httpd/conf/httpd.conf
edit: yaourt uses /tmp to build, /tmp on a 512mb ram install is 247mb, not enough space to build,
temp solution as root:
Code:
mount -o remount,size=1G,noatime /tmp
and then I ran:
yaourt -Sy asterisk mariadb apache php php-apache php-gd php-pear php-ldap php-sqlite php-xsl git fail2ban
will add more when this completes
please note, this is heavily adapted from: http://archlinuxarm.org/forum/viewtopic.php?f=57&t=7480
Last edited: