FreePBX on CentOS6.5 (upgraded via yum to 6.6) on C@C
-
Well I'm jumping straight into a non trivial project with little to no Linux experience.
I have my C@C Dev1 box - I'm sure I read somewhere here that Scott said this should be a fine test box, if not production box (assuming C@C is stable with good throughput) for this project.
I am following these instructions.
http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+12+on+CentOS+6.5Current I'm trying to do
./install_amp --installdb --username=asteriskuser --password=${ASTERISK_DB_PW}
When I ran it the first time I got an error about: [fatal] cannot create /var/www/html!
error in line 197The second time I ran it I received:
Connecting to database..FAILED
Try running ./install_amp --username=user --password=passThoughts?
-
Does the user you are using have permissions to the /var/www/html location? Nevermind saw you ran it a second time... reading comprehension fail. Is the database service running?
-
Are you logged in as root?
-
Sounds like either the creation or permission of your SQL user/database might be off.
Are you in the root account or using sudo?
You might also need to install the mysql php extension.
-
the instructions say do to all of this as root. I was logged in as root.
-
On a side note, anyone using C@C? I can't paste into the console window. Should I setup SSH first before trying to install this so I can use something like PUTTY?
-
@Dashrender said:
On a side note, anyone using C@C? I can't paste into the console window. Should I setup SSH first before trying to install this so I can use something like PUTTY?
I only use SSH, but there is nothing to setup to use SSH unless you want to use Key's instead of passwords. The C@C console doesn't even have ssl on it.
-
@Dashrender said:
On a side note, anyone using C@C? I can't paste into the console window. Should I setup SSH first before trying to install this so I can use something like PUTTY?
Console window is a VNC session, it's graphical. You can't paste into those. No different than any KVM solution or OOB Management. Use an SSH session once your system is up and running.