Difference between revisions of "Instalasi openser"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 38: | Line 38: | ||
# touch /tmp/openser_fifo | # touch /tmp/openser_fifo | ||
+ | |||
+ | |||
+ | Bagi anda yang menggunakan openser versi yang baru mungkin harus menggunakan perintah openserdbctl untuk melakukan inisialisasi & operasi database. hal ini di terangkan dengan lebih detail di bagian [[Menggunakan openserdbctl]] | ||
Line 102: | Line 105: | ||
* [[OpenSER Softswitch]] | * [[OpenSER Softswitch]] | ||
* [[Menggunakan openserctl]] | * [[Menggunakan openserctl]] | ||
+ | * [[Menggunakan openserdbctl]] | ||
* [[Instalasi OpenSER administrator]] | * [[Instalasi OpenSER administrator]] | ||
* [[Linux Howto]] | * [[Linux Howto]] | ||
* [[VoIP]] | * [[VoIP]] |
Revision as of 07:51, 7 May 2008
Untuk menginstalasi lakukan
$ sudo apt-get install openser openser-mysql-module mysql-server [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" loadmodule "mi_fifo.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
Bagi anda yang menggunakan openser versi yang baru mungkin harus menggunakan perintah openserdbctl untuk melakukan inisialisasi & operasi database. hal ini di terangkan dengan lebih detail di bagian Menggunakan openserdbctl
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
Kadang-kadang openser suka hang & tidak jalan terutama kalau komputer di shutdown. Selama komputer masih running biasanya aman-aman saja. Solusinya "ajaib" harus remove & install ulang, seperti di bawah ini,
# apt-get remove openser openser-mysql-module # apt-get install openser openser-mysql-module # /etc/init.d/openser restart
Cek mengunakan apakah openser beroperasi dengan baik menggunakan
# openserctl moni