Changeset 290:7842bed901ca in freeDiameter for INSTALL.FreeBSD
- Timestamp:
- May 7, 2010, 4:33:12 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL.FreeBSD
r249 r290 49 49 50 50 51 ------------------------------ 52 app_acct test ADDITIONAL STEPS 53 ------------------------------ 54 Here is additional steps in order to run the test for app_acct 51 55 56 1) Install the required packages 57 # pkg_add -v -r postgresql84-client 58 # pkg_add -v -r postgresql84-server 59 60 2) Prepare access to the database: 61 # echo postgresql_enable=YES >> /etc/rc.conf 62 # /usr/local/etc/rc.d/postgresql initdb 63 # su - pgsql 64 > /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start 65 > /usr/local/bin/createuser root 66 Shall the new user be allowed to create databases? (y/n) y 67 > logout 68 # /usr/local/bin/createdb root 69 # /usr/local/bin/psql root 70 root=# CREATE TABLE incoming_test ( 71 root(# recorded_on timestamp with time zone NOT NULL, 72 root(# "Accounting-Record-Type" integer, 73 root(# "Session-Id" bytea, " 74 root(# "Accounting-Record-Number" integer, 75 root(# "Route-Record1" bytea, 76 root(# "Route-Record2" bytea, 77 root(# "Route-Record3" bytea, 78 root(# "Route-Record4" bytea ); 79 root=# \q 80 81 3) configure the sources 82 # ccmake . 83 BUILD_APP_ACCT:BOOL=ON 84 TEST_APP_ACCT:BOOL=ON 85 TEST_APP_ACCT_CONNINFO:STRING="user=root dbname=root" 86 87 4) run the test 88 # freeDiameter/tests/testappacct -d 89 or 90 # make test 91 92
Note: See TracChangeset
for help on using the changeset viewer.