在這裡下載最新版src tarbal
需要先裝好這些東西
- gcc or icc : gcc >= 2.9x; 3.[12] recommended (it will work with older version,
but it might require some options tweaking for best performance)
- bison or yacc (Berkley yacc)
- flex
- GNU make (on Linux this is the standard "make",
on FreeBSD and Solaris is called "gmake") version >= 3.79.
- sed and tr (used in the makefiles)
- GNU tar ("gtar" on Solaris) and gzip if you want "make tar" to work
- GNU install or BSD install (on Solaris "ginstall")
if you want "make install", "make bin", "make sunpkg" to work
- libmysqlclient & libz (zlib) if you want mysql support (the mysql module)
- libexpat if you want the jabber gateway support (the jabber module)
==========================
$apt-get install bison flex
為了群組撥號功能能夠正常運作,要把mysql module 編進去
$ apt-get install libmysqlclient15-dev
$ make all include_modules="mysql" && make install include_modules="mysql"
但是帳號認證功能預設是沒編進去的
==========================
幾個常用的指令
$openserctl start //啟動 (還有stop, restart)
$openserctl online //顯示目前上線user
1 comments:
你好,我最近在安裝openser的功能,在啟動時發生下面問題,我是用debian apt-get install 安裝的,尋找解答中
debian:~# /usr/sbin/openserctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
Starting OpenSER :
ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
Post a Comment