Difference between revisions of "Freebsd FusionPBX Install -dead"
From FusionPBX
(→PgSQL Setup) |
|||
Line 16: | Line 16: | ||
==PgSQL Setup== | ==PgSQL Setup== | ||
− | su pgsql | + | su pgsql<br> |
− | initdb -D /usr/local//pgsql/data | + | initdb -D /usr/local//pgsql/data<br> |
− | postmaster -D /usr/local/pgsql/data >logfile 2>&1 & | + | postmaster -D /usr/local/pgsql/data >logfile 2>&1 & <br> |
− | createuser -s -e FusionPBX | + | createuser -s -e FusionPBX<br> |
− | createdb -O FusionPBX FusionPBX | + | createdb -O FusionPBX FusionPBX<br> |
− | psql -d FusionPBX -U FusionPBX | + | psql -d FusionPBX -U FusionPBX<br> |
− | alter user FusionPBX with password 'pbx2010'; | + | alter user FusionPBX with password 'pbx2010' or any passwd you want;<br> |
− | exit from su back to root | + | exit from su back to root<br> |
− | /usr/local/etc/rc.d/postgresql restart | + | /usr/local/etc/rc.d/postgresql restart<br> |
− | su pgsql | + | su pgsql<br> |
− | psql -f /usr/local/www/fusionpbx/includes/install/sql/pgsql.sql FusionPBX | + | psql -f /usr/local/www/fusionpbx/includes/install/sql/pgsql.sql FusionPBX<br> |
==MySql Setup== | ==MySql Setup== |
Revision as of 17:14, 11 September 2010
FusionPbx install on FreeBSD
Grab the devport from here:
http://dl.dropbox.com/u/152504/fusionpbx-svn.tgz
tar xzvf fusionpbx-svn.tgz in a directory like /home/work
cd /home/work/fusionpbx-svn && make svn-clean
make svn make svn-tar make update-plist make install clean
PgSQL Setup
su pgsql
initdb -D /usr/local//pgsql/data
postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
createuser -s -e FusionPBX
createdb -O FusionPBX FusionPBX
psql -d FusionPBX -U FusionPBX
alter user FusionPBX with password 'pbx2010' or any passwd you want;
exit from su back to root
/usr/local/etc/rc.d/postgresql restart
su pgsql
psql -f /usr/local/www/fusionpbx/includes/install/sql/pgsql.sql FusionPBX