0

我从网上下载了 Kannel 软件,并将该软件上传到 Web 服务器。

现在我需要编译并运行 Kannel。如何运行configureinstall.sh归档?

你能提供解决方案吗?

4

5 回答 5

3

这就是我将如何安装它:

最新的svn:

svn co https://svn.kannel.org/gateway/trunk

./configure --with-mysql --with-malloc=native

-> 您将收到一条消息,感谢您使用 Kannel。

touch .depend make 依赖 make

sudo make bindir=/kannel/bin/ install #—-> 输入你的root密码。

恭喜

于 2013-01-24T13:46:54.667 回答
2

如何启动和停止承载箱和短信箱

#/usr/sbin/smsbox /etc/kannel.conf &
#/usr/sbin/bearerbox /etc/kannel.conf &

如何停止 kannel 服务

#/etc/init.d/kannel stop

如何检查 kannel 的日志

 #tail -20f /sdp/wap_push_promotion/bearerbox.log

如何检查 kannel 进程是否正在运行?

#  ps -ef | grep kannel
root     11314 11281  0 14:05 pts/2    00:00:00 grep kannel
kannel   20609    1  0 Aug02 ?        00:00:00 /usr/sbin/bearerbox /etc/kannel.conf
kannel   20628    1  0 Aug02 ?        00:00:00 /usr/sbin/smsbox/etc/kannel.conf

在此处阅读有关如何配置和使用 kannel 的更多信息
http://www.techgyaan.org/2011/09/how-to-install-kannel-open-souce-sms/

于 2011-11-02T16:51:23.787 回答
0

首先决定安装位置:

./conifgure --prefix=/usr/local/kannel

然后运行 ​​make 创建二进制文件

make

然后进行安装以将正确的二进制文件放在正确的位置

make install

最后进入 /usr/local/kannel 并启动 bearerbox 和 smsbox

./sbin/bearerbox smskannel.conf &
./sbin/smsbox smskannel.conf &

smskannel.conf是与源代码一起分发的示例配置,您可以将其复制到您的安装目录。

于 2013-08-01T10:43:11.293 回答
0

这里有一些提示:

http://julmis.julmajanne.com/index.php/Kannel

于 2010-02-13T06:23:30.650 回答
0
  • 下载 1.5.0 版本:“<a href="https://redmine.kannel.org/attachments/download/198/gateway-1.5.0.tar.gz" rel="nofollow">https://redmine. kannel.org/attachments/download/198/gateway-1.5.0.tar.gz”</li>
  • 解压缩

    $ curl -O https://redmine.kannel.org/attachments/download/198/gateway-1.5.0.tar.gz

    $ tar -zxvf 网关-1.5.0.tar.gz

    $ cd 网关-1.5.0

  • 为 --prefix 标志选择一个目标安装目录(不同于当前目录)(例如 /home/vtypal/kannel)

  • 像往常一样构建和安装

    $ ./configure --prefix=/home/vtypal/kannel

    $ 制作

    $ 进行安装

  • 在 kannel 的 sbin 目录下,使用您的 kannel 配置创建一个名为 kannel.conf 的配置文件。

  • 启动 kannel $ cd /home/vtypal/kannel/sbin

    $ nohup ./bearerbox &

    $ nohup ./smsbox &

  • 如果您的 kannel.conf 中有任何配置错误,请检查日志

于 2013-09-17T11:16:40.160 回答