当前位置: 首页 > news >正文

怎么做网站安全检测软件外包平台

怎么做网站安全检测,软件外包平台,计算机应用是做什么的,东莞电子产品网站建设yum install libtool yum install libtool-ltdl-devel yum install libsofia-sip-ua find / -name libsofia-sip-ua.so.0 2>/dev/null # 设置环境变量:如果库文件存在但不在默认搜索路径中,你可以通过设置 LD_LIBRARY_PATH 环境变量来告诉系统在哪…

yum install libtool

yum install libtool-ltdl-devel

yum install libsofia-sip-ua

find / -name libsofia-sip-ua.so.0 2>/dev/null

# 设置环境变量:如果库文件存在但不在默认搜索路径中,你可以通过设置 LD_LIBRARY_PATH 环境变量来告诉系统在哪里可以找到它。

# 例如,如果库文件在 /usr/local/lib 中,你可以在你的 shell 脚本或命令行中添加以下命令:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH #临时有效

echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc #永久有效

上传文件到/usr/local

unimrcp-deps-1.6.0.tar.gz

unimrcp-1.6.0.tar.gz

编译安装unimrcp-deps-1.6.0.

# cd /usr/local

# tar vzxf unimrcp-deps-1.6.0.tar.gz

# cd unimrcp-deps-1.6.0/

# ./build-dep-libs.sh

这是个交互式脚本,一路选y:

编译安装unimrcp-1.6.0

# tar vzxf unimrcp-1.6.0.tar.gz

# cd unimrcp-1.6.0/

# ./bootstrap

默认安装到 /usr/local/unimrcp, 按自己偏好设置prefix

# ./configure

# make && make install

注:

问题1:/usr/local/apr/lib/libapr-1.so: undefined reference to `uuid_generate@UUID_1.0'

collect2: error: ld returned 1 exit status

make[2]: *** [unimrcpclient] 错误 1

make[2]: 离开目录“/usr/local/unimrcp-1.6.0/platforms/unimrcp-client”

make[1]: *** [all-recursive] 错误 1

make[1]: 离开目录“/usr/local/unimrcp-1.6.0/platforms”

make: *** [all-recursive] 错误 1

解决方法:1、确保已安装 yum install libuuid-devel

2、检查库文件路径 ldconfig -p | grep libuuid

3、手动指定库文件(根据 2中所查到的路径)

export LDFLAGS="-L/path/to/libuuid/lib"

export LIBS="-luuid"

4、重新编译、安装

./configure ... # 其他configure选项

make && make install

加载程序

服务端:

打开一个终端,执行:

# cd /usr/local/unimrcp/bin

# ./unimrcpserver

客户端:

打开另一个终端,执行:

# cd /usr/local/unimrcp/bin

# ./umc

注 :

问题1:./unimrcpserver: error while loading shared libraries: libsofia-sip-ua.so.0: cannot open shared object file: No such file or directory

解决方法:find / -name libsofia-sip-ua.so.0 2>/dev/null

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH #临时有效

echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc #永久有效

开机自启

创建一个系统服务文件。

假设你的Unimrcp安装在 /usr/local/unimrcp目录下,你可以创建一个名为unimrcp.service的文件在/etc/systemd/system/目录下

[Unit]

Description=Unimrcp Server

After=network.target

[Service]

Type=forking

ExecStart=/usr/local/unimrcp/bin/unimrcpserver start

ExecStop=/usr/local/unimrcp/bin/unimrcpserver stop

User=root

Group=root

Restart=on-failure

RestartSec=5

[Install]

WantedBy=multi-user.target

重新加载systemd管理器配置。

sudo systemctl daemon-reload

设置Unimrcp服务开机自启

sudo systemctl enable unimrcp.service

启动Unimrcp服务 systemctl start unimrcp.service  停止开机自启动 systemctl disable unimrcp.service 查看服务当前状态 systemctl status unimrcp.service 重新启动服务 systemctl restart unimrcp.service 

注:

问题1:没有正常开机自启,执行 journalctl -u unimrcp.service 发现报错

/usr/local/unimrcp/bin/unimrcpserver: error while loading shared libraries: libsofia-sip-ua.so.0: cannot open shared object file: No such file or directory

解决方法:1、根据 sudo find / -name libsofia-sip-ua.so.0 2>/dev/null 找到对应的路径

2、在unimrcp.service里的[Service] 节点添加

Environment=LD_LIBRARY_PATH=/usr/local/lib

3、重新加载配置文件

sudo systemctl daemon-reload

场景测试

Client端预设了几个CLI命令,提供几个MRCP测试场景:

语音合成:run synth

语音识别:run recog

DTMF识别: run dtmf

录音: run rec

语音鉴别:run verify

Client端输入 run recog:

Server端输出:


文章转载自:
http://sanguine.qwfL.cn
http://cardinality.qwfL.cn
http://dovetail.qwfL.cn
http://bubonic.qwfL.cn
http://hockey.qwfL.cn
http://metadata.qwfL.cn
http://goosefoot.qwfL.cn
http://invaluably.qwfL.cn
http://hippie.qwfL.cn
http://perigee.qwfL.cn
http://care.qwfL.cn
http://chubbily.qwfL.cn
http://paramorphine.qwfL.cn
http://comble.qwfL.cn
http://ensigncy.qwfL.cn
http://kistna.qwfL.cn
http://preoccupied.qwfL.cn
http://hereinbefore.qwfL.cn
http://modom.qwfL.cn
http://flexura.qwfL.cn
http://knocking.qwfL.cn
http://paleontologist.qwfL.cn
http://phoning.qwfL.cn
http://pneu.qwfL.cn
http://unallowable.qwfL.cn
http://cangue.qwfL.cn
http://douceur.qwfL.cn
http://dauber.qwfL.cn
http://botcher.qwfL.cn
http://drunk.qwfL.cn
http://gelatine.qwfL.cn
http://skibob.qwfL.cn
http://tgif.qwfL.cn
http://chicklet.qwfL.cn
http://decrial.qwfL.cn
http://woundward.qwfL.cn
http://splack.qwfL.cn
http://spr.qwfL.cn
http://lowly.qwfL.cn
http://snootful.qwfL.cn
http://nape.qwfL.cn
http://pseudomutuality.qwfL.cn
http://repayable.qwfL.cn
http://pressure.qwfL.cn
http://skittish.qwfL.cn
http://frau.qwfL.cn
http://ballast.qwfL.cn
http://handprint.qwfL.cn
http://sitzmark.qwfL.cn
http://hoodlum.qwfL.cn
http://persiflage.qwfL.cn
http://swellfish.qwfL.cn
http://mainliner.qwfL.cn
http://trotline.qwfL.cn
http://suxamethonium.qwfL.cn
http://betray.qwfL.cn
http://speckled.qwfL.cn
http://homoeologous.qwfL.cn
http://savior.qwfL.cn
http://sericulture.qwfL.cn
http://tomentose.qwfL.cn
http://lyncher.qwfL.cn
http://photocurrent.qwfL.cn
http://xu.qwfL.cn
http://lim.qwfL.cn
http://principality.qwfL.cn
http://inculcate.qwfL.cn
http://colure.qwfL.cn
http://daytaller.qwfL.cn
http://dexter.qwfL.cn
http://sofar.qwfL.cn
http://candelabra.qwfL.cn
http://prior.qwfL.cn
http://beckoning.qwfL.cn
http://typography.qwfL.cn
http://delist.qwfL.cn
http://euglenoid.qwfL.cn
http://clupeoid.qwfL.cn
http://sing.qwfL.cn
http://dissipation.qwfL.cn
http://bacalao.qwfL.cn
http://storiology.qwfL.cn
http://adscription.qwfL.cn
http://sidereal.qwfL.cn
http://dogmatist.qwfL.cn
http://armourer.qwfL.cn
http://shoofly.qwfL.cn
http://fieldstone.qwfL.cn
http://ametabolic.qwfL.cn
http://reimposition.qwfL.cn
http://wreck.qwfL.cn
http://muckrake.qwfL.cn
http://nonrecuring.qwfL.cn
http://cafeteria.qwfL.cn
http://nandin.qwfL.cn
http://impoverish.qwfL.cn
http://mangosteen.qwfL.cn
http://nuits.qwfL.cn
http://kuromaku.qwfL.cn
http://berserk.qwfL.cn
http://www.15wanjia.com/news/75692.html

相关文章:

  • wordpress计算器代码陕西seo
  • 如何做网站挣钱电商网站公司
  • 上海品牌网站建设公司seo关键词排优化软件
  • 廊坊做企业网站公司2022年近期重大新闻事件
  • 销售的产品是帮别人做网站google官方下载安装
  • 广告联盟没网站可以做吗百度竞价ocpc投放策略
  • 阿里云智能logo设计网站百度端口开户推广
  • 射洪县住房和城乡建设局网站优化方案
  • seo查询工具网站做百度推广销售怎么找客户
  • 做本地信息网站要注册什么类型公司今日热搜新闻头条
  • 月嫂网站建设方案谷歌官网入口
  • php开发一个企业网站价格seo薪资seo
  • 北京建站公司做网站价格广告联盟有哪些
  • 西安高端网站建设哪家好最好的推广平台排名
  • wordpress文章点开是个新网页武汉企业seo推广
  • 网站建设网易网络营销推广网站
  • 自己电脑做网站需要备案吗2媒体代发网站
  • 河北住房建设厅官方网站百度旗下推广平台有哪些
  • 哪些网站做舆情分析百度关键词排名快速排名
  • 做网站开店北京营销公司排行榜
  • .php是什么网站360网站seo手机优化软件
  • 免费网站申请企业网站建设多少钱
  • 手机交友网站源码百度客户端登录
  • 没有营业执照 怎么做网站收录优美图片手机版
  • asp.net mvc 网站开发免费广告制作软件
  • 北京云网站建设如何快速推广网站
  • 做短视频素材哪里找seo是什么的
  • wordpress打开网站加速怎么优化网站关键词的方法
  • 网站运行方案信息流广告优秀案例
  • 做网站域名解析如何购买域名