Hi,
I was assuming the errors were because I’m using CentOS 6.6 not 6.5 which I why I was asking if there was an updated guide, but I’ve managed to install 6.5 on a droplet.
I’m getting further this time however following the guide, in section ** Restart Asterisk and install FreePBX.
cd /usr/src/freepbx
./start_asterisk start
./install_amp --installdb --username=asteriskuser --password=${ASTERISK_DB_PW}
I ran the above code line by line and this is the error I get:
[root@PBX freepbx]# ./install_amp --installdb --username=asteriskuser --password=${ASTERISK_DB_PW}
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Using username: asteriskuser
Using password: ******
Checking user..OK
Checking if Asterisk is running..running with PID: 3717..OK
Checking for /etc/amportal.conf../etc/amportal.conf does not exist, copying default
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the 'asterisk' database:
[asteriskuser] myname
Enter your PASSWORD to connect to the 'asterisk' database:
[amp109] password
Enter the hostname of the 'asterisk' database:
[localhost]
Enter a USERNAME to connect to the Asterisk Manager interface:
[admin]
Enter a PASSWORD to connect to the Asterisk Manager interface:
[amp111] password
Enter the path to use for your AMP web root:
[/var/www/html]
PHP Warning: mkdir(): File exists in /usr/src/freepbx/libfreepbx.install.php on line 197
[FATAL] Cannot create /var/www/html!
[root@PBX freepbx]#
I checked and /var/www/html already exists, but it looks like the script can’t just ignore it
Any idea how I can continue?