2013年9月27日

摘要: 最近由于有个工作任务需要搭个虚拟机环境,但是环境是搭建在内网,无法直接联网,很多软件都不能直接yum安装,安装过程实在十分不顺利,在此留个记录给有需要的朋友。环境是 CentOS 5.7 x64请选择合适的方式,下载python2.7.3安装包http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2安装前当然需要编译器gccyum install gcc yum install gcc为了安装setuptools,要需要安装zlibyum install zlib zlib-dev yum install zlib zlib-dev 阅读全文

posted @ 2013-09-27 17:23 NooBkey 阅读(570) 评论(0) 推荐(0) 编辑

摘要: 1.查看当前Python版本# python -V Python 2.6.6 # python -VPython 2.6.62.下载Python2.7.5源码# wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz # wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz3.解压源代码包# tar xvf Python-2.7.5.tgz # tar xvf Python-2.7.5.tgz4.进入解压目录并安装# cd Python-2.7.5 # ./configure 阅读全文

posted @ 2013-09-27 13:56 NooBkey 阅读(308) 评论(0) 推荐(0) 编辑


2013年9月26日

摘要: SynopsisGets, sets or clears the channel group. Each channel can only be member of exactly one group per category; categories can be employed for more fine grained group management, and thus can help to assign more than one group name per channel.DescriptionGROUP([category])NotesA channel may belong 阅读全文

posted @ 2013-09-26 11:57 NooBkey 阅读(300) 评论(0) 推荐(0) 编辑


2013年9月25日

摘要: LinuxCentOSRedHatInstalling a binary distribution of Asterisk makes it easier to maintain your system. Using the package management tools that are included with your Linux distribution, you can install and update software without manually managing dependencies (libraries and utilities on which appli 阅读全文

posted @ 2013-09-25 15:04 NooBkey 阅读(323) 评论(0) 推荐(0) 编辑

摘要: 1 针对用编译的方式安装时的卸载第一步 :先停止你的asterisk>asterisk -rx ‘stop now’然后要验证一下是否真的被停了. >ps aux|grep “asterisk”|grep -v grep 如果有输出信息,那我们来个猛的 >killall -9 asterisk 第二步 :如果你装了zaptel驱动,你需要把你的zaptel驱动删除掉,如果你没装,那就跳过这一步吧.>lsmod | grep zaptel zaptel 213028 4 zttranscode,ztdummy crc_ccitt 2113 1 zaptel 如果你看到以上 阅读全文

posted @ 2013-09-25 15:01 NooBkey 阅读(545) 评论(0) 推荐(0) 编辑

摘要: asterisk在正常通话过程中执行拨号计划中动作是通过feature.conf中的[applicationmap ]下定义的,举例如下:nway-start => *0,callee,Macro,nway-start nway-zhustart => *0,caller,Macro,nway-zhustartnway-inv => *7,caller,Macro,nway-ok nway-noinv => *9,self,Macro,nway-notokzhugoto-meeting => *5,caller,Macro,zhugoto-meeting goto 阅读全文

posted @ 2013-09-25 14:57 NooBkey 阅读(567) 评论(0) 推荐(0) 编辑

摘要: 在dialplan中要截取字符串可用如下几种方式:1.转到agi中由php进行处理,这种方法比较简单,在这里不再缀述2.在dialplan中利用内置的方法进行截取 如 [test] exten => 123456,1,answer() exten => 123456,n,noop(${CALLID:2}) //这里是指将主叫截取成 3456 exten => 123456,n,noop(${LEN(abcd)}) //这里是指查看abcd字符串的长度 exten => 123456,n,noop(${LEN(${CALLER})}) //这里是指查看主叫号码中的长度 e 阅读全文

posted @ 2013-09-25 14:40 NooBkey 阅读(565) 评论(0) 推荐(0) 编辑


2013年9月18日

摘要: 今天继续检查我的Linux,所以下来rkhunter和chkrootkit一个一个来,下面只记录命令,少些说明不截图了。1、rkhunter#cd /temp#wgethttp://downloads.sourceforge.net/rkhunter/rkhunter-1.3.4.tar.gz?use_mirror=jaist#tar -zxvf rkhunter-1.3.4.tar.gz#cd rkhunter-1.3.4#./installer.sh -h#./installer.sh --layout default --install#cd /usr/local/bin#rkhunte 阅读全文

posted @ 2013-09-18 17:16 NooBkey 阅读(960) 评论(0) 推荐(0) 编辑

摘要: rootkit从浅显的层面来讲即一种具有自我隐蔽性的后门程序,它往往被入侵者作为一种入侵工具。通过rootkit,入侵者可以偷偷控制被入侵的电脑,因此危害巨大。chkrootkit是一个Linux系统下的查找检测rootkit后门的工具。本文将介绍chkrootkit的安装与使用方法。chkrootkit没有包含在官方的CentOS或Debian源,因此我们将采取手动编译的方法来安装,这种方式也更加安全。由于需要编译源代码,因此还需要在系统中安装好gcc编译包。安装方法1、准备gcc编译环境对于CentOS系统,执行下述三条命令:yum -y install gccyum -y install 阅读全文

posted @ 2013-09-18 17:14 NooBkey 阅读(1835) 评论(0) 推荐(0) 编辑


2013年8月23日

摘要: asterisk的安装在ubuntu上自我感觉还是很方便的,虽然也会遇到一些小的问题。下面是本人遇到的一些问题和解决方法。1》在ubuntu10.04上安装asterisk#apt-get install asterisk一般都能成功安装,这里不再赘述 2》安装asterisk-gui #mkdir/asterisk/因为asterisk-gui和asterisk相互独立,因此单独创建一个目录,方便管理 #cd/asterisk #svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui将ast. 阅读全文

posted @ 2013-08-23 16:19 NooBkey 阅读(1146) 评论(0) 推荐(0) 编辑


Copyright © 2024 NooBkey
Powered by .NET 8.0 on Kubernetes