Difference between revisions of "Instalasi openser"

From OnnoWiki
Jump to navigation Jump to search
Line 36: Line 36:
  
 
  # touch /tmp/openser_fifo
 
  # touch /tmp/openser_fifo
 +
 +
 +
 +
Aktifkan openser database
 +
 +
# openser_mysql create
 +
MySQL password for root:
 +
creating database openser ...
 +
Core OpenSER tables succesfully created.
 +
Install presence related tables ?(y/n):y
 +
creating presence tables into openser ...
 +
Presence tables succesfully created.
 +
Install extra tables - imc,cpl,siptrace,domainpolicy ?(y/n):y
 +
creating extra tables into openser ...
 +
Extra tables succesfully created.
 +
Install SERWEB related tables ?(y/n):y
 +
Domain (realm) for the default user 'admin': 192.168.0.2.
 +
 +
creating serweb tables into openser ...
 +
SERWEB tables succesfully created.
 +
 +
Akan keluar warning
 +
 +
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 +
!                                                !
 +
!                  WARNING                        !
 +
!                                                !
 +
! There was a default admin user created:        !
 +
!    username: admin@192.168.0.2.
 +
!    password: openserrw
 +
!                                                !
 +
! Please change this password or remove this user !
 +
! from the subscriber and admin_privileges table. !
 +
!                                                !
 +
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 +
 +
 +
Biasanya bisa di ignore saja
 +
 +
  
  

Revision as of 11:06, 11 March 2008

Untuk menginstalasi lakukan

$ sudo apt-get install openser openser-mysql-module
[sudo] password for user:

Edit file /etc/default/openser

# vi /etc/default/openser

Pastikan ada

RUN_OPENSER=yes



Edit /etc/openser/openser.cfg

# vi /etc/openser/openser.cfg

Pastikan

loadmodule "mysql.so"
loadmodule "auth.so"
loadmodule "auth_db.so"


# modparam("usrloc", "db_mode",   0)
modparam("usrloc", "db_mode", 2)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")


Lakukan

# touch /tmp/openser_fifo


Aktifkan openser database

# openser_mysql create
MySQL password for root: 
creating database openser ...
Core OpenSER tables succesfully created.
Install presence related tables ?(y/n):y
creating presence tables into openser ...
Presence tables succesfully created.
Install extra tables - imc,cpl,siptrace,domainpolicy ?(y/n):y
creating extra tables into openser ...
Extra tables succesfully created.
Install SERWEB related tables ?(y/n):y
Domain (realm) for the default user 'admin': 192.168.0.2.
creating serweb tables into openser ...
SERWEB tables succesfully created.

Akan keluar warning

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!                                                 !
!                  WARNING                        !
!                                                 !
! There was a default admin user created:         !
!    username: admin@192.168.0.2. 
!    password: openserrw 
!                                                 !
! Please change this password or remove this user !
! from the subscriber and admin_privileges table. !
!                                                 !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Biasanya bisa di ignore saja



Restart openser

# /etc/init.d/openser restart



Pranala Menarik