16
2012
首先获得ROOT权限 然后 安装RE管理器 没获取ROOT的建议卡刷。
首先获得ROOT权限 然后 安装RE管理器 没获取ROOT的建议卡刷。
打开re管理器,找到/data/dalvik-cache,将dalvik-cache文件夹直接删除掉可能会弹出错误提示 没关系重启就好。
再找到/data/local/目录,你会看到rights和tmp这两个文件夹,进入tmp文件夹,然后删掉掉它们啦,然后重启看看你的手机内存,
HQY 一个有爱和谐的空间
首先获得ROOT权限 然后 安装RE管理器 没获取ROOT的建议卡刷。
打开re管理器,找到/data/dalvik-cache,将dalvik-cache文件夹直接删除掉可能会弹出错误提示 没关系重启就好。
再找到/data/local/目录,你会看到rights和tmp这两个文件夹,进入tmp文件夹,然后删掉掉它们啦,然后重启看看你的手机内存,
不知是因为打开了非标准word文档改变了模板还是其他什么原因,当我鼠标右键新建一个word(.docx)文档时,然后双击打开,会弹出一个“转换文件”的对话框,有“纯文本、编码文本。。。”等选项,无论你选择了什么选项,编辑内容后保存,再打开时就遇到问题了,告诉你无法打开docx文档,因为内容有错误。后来找到一篇文章,说的是通过“开始”菜单里的Microsoft Office程序新建word文档和鼠标右键word文档,使用的模板不一样。受此启发,我试着用“开始”菜单里的Microsoft Office程序新建docx文档,发现没有出现上述问题。于是尝试修改注册表,最后解决了此问题。
通过“开始”菜单中的Microsoft Office里的word程序新建一个.docx文档,什么都不写,直接另存为winword12.docx(其他名字也可,要跟下面注册表中的值一样即可),将其放到C:\Windows\ShellNew里面。打开注册表,找到项 HKEY_CLASSES_ROOT\.docx\Word.Document.12\ShellNew,新建字符串 FileName,数值数据为 winword12.docx,确定后关闭注册表。
之后再通过鼠标右键创建docx文档,则正常了。
PS:今天打开了一个不太正常的word文档,之后我再右键创建docx文档,发现类似问题又出现了。最后这样解决了问题:弹出“转换文件”的对话框时,选择“纯文本”,随便编辑之后“保存”,弹出提示框告诉你一些字符无法保存,问你是否继续,你选择“否”可以另存副本,覆盖原来的文档。再右键新建时,一切又正常了。(由于使用Total Cmd工具导致)
参考文章:http://club.excelhome.net/thread-290615-1-1.html
1.#uname -a
如果有x86_64就是64位的,没有就是32位的
这是64位的
# uname -a Linux WORKS 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
这是32位的
#uname -a Linux backup 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
注意:Ixxx的全是32位的,有X86—64的全是64位
2.# uname -m
x86_64
3.# arch
x86_64
4.#file /bin/cat
/bin/cat: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
5.查看cpu是多少位的
more /proc/cpuinfo
怎样查看 LINUX是32位还是64位
$su - root
#file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
即是32位的 linux, 如是64位的, 显示的是 64-bit
1./etc/issue 和 /etc/redhat-release都是系统安装时默认的发行版本信息,通常安装好系统后文件内容不会发生变化。看你的贴图该linux安装的发行版是RHEL6.1。
2.lsb_release -a :FSG(Free Standards Group)组织开发的LSB (Linux Standard Base)标准的一个命令,用来查看linux兼容性的发行版信息。看你的贴图该linux发行版信息是RHEL6.2。3./proc/version 和 uname -a 显示的内容相同,显示linux内核版本号。
关于lsb_release -a和/etc/issue显示的发行版本号不同,原因只有一个:内核升级了。
原因是:/etc/issue中的"Final”和lsb_release -a中的"NahantUpdate3"不相同。
以下是我的服务器的相关信息,看一下就一目了然了!
[root@master ~]# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Kernel \r on an \m
[root@master ~]# lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3
[root@master ~]# cat /proc/version
Linux version 2.6.9-34.ELsmp (bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:56:28 EST 2006
有个文件,先复制到root/temp目录下。然后解压安装就行了。详细的安装步骤如下:
先以root身份登入。
VMware Tools所在位置:VMware 安装路径 \VMware\VMware Workstation\linux.iso
[root@rd01 ~]# mount /cdrom
# 有时可能加载不了,这时就要先将系统关闭,再手动指定 ISO 映像,看下图
[root@rd01 ~]# cd /cdrom
[root@rd01 ~]# ls -a
[root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp
[root@rd01 ~]# cd /tmp
[root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz
[root@rd01 ~]# cd vmware-tools-distrib
[root@rd01 vmware-tools-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# 安装过程的画面,全部使用默认值,一直按 Enter 就对了
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want?
[yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30153 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected X.org version 6.8.
关闭控制台鼠标服务: [ 确定 ]
启动控制台鼠标服务: [ 确定 ]
Please choose one of the following display sizes (1 - 13):
# 显示分辨率,这里是以 1024x768 为例
# VMware Tools 安装的时候,会自动修改 X server 的配置文件
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[2] 3
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-34.EL i686 [ELF]
Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686
Build Date: 04 May 2006
Build Host: x8664-build.centos.org
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OSKernel: Linux version 2.6.9-34.EL (buildcentos@build-i386) (gccversion3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006P
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.3131", Time: Mon Jun 12 20:57:34 2006
(++) Using config file: "/tmp/vmware-config0/XF86Config.3131"
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ 确定 ]
Guest filesystem driver: [ 确定 ]
DMA setup: [ 确定 ]
Guest operating system daemon: [ 确定 ]
The configuration of VMware Tools 5.5.1 build-19175 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an XFree86 session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
[root@rd01 vmware-tools-distrib]# shutdown -r now
# 修改完成之后,重新启动计算机,让 VMware Tools 生效
启动VM中的linux,
选择vmware workstation程序菜单中VM > install VMware tools...
执行:
mkdir /mnt/cdrom
mount -o ro /dev/cdrom /mnt/cdrom (vmtools的安装文件放在vmware虚拟的cdrom中,首先要mount上这个光驱才能找到安装文件)
cd /mnt/cdrom
tar -zxvf VMwareTools-5.0.0-12124.i386.tar.gz -C /tmp (把安装文件解压到/tmp)
cd /tmp/vmware-tools-distrib
./vmware-install.pl (执行vwware的安装脚本,这个脚本是用perl编写的)
在这里,安装程序会询问安装文件存放位置和设置分辨率等一系列问题,在大多数情况下,安装默认配置vmware tools就可以正常工作,因此,这里对每一个问题按回车键选择默认配置
|
mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
现在再执行mount /dev/cdrom /mnt 命令,看图:果然已经成功挂载了iso镜像文件了。OK! |
错误提示:can't find /mnt/cdrom in /etc/fstable or /etc/mtab
解决方法:
1、首先查看fstab内容:
#cat /etc/fstab
查看到类似下面的一行:
/dev/hdc /media/cdrecorder auto users,exec,noauto,managed 0 0
通过这个,我们能知道hdc 就是cdrom(dvdrom)设备,为了验证我们的说法;请用ls -l 来列文件;
[root@localhost beinan]# ls -lh /dev/dvd*
lrwxrwxrwx 1 root root 3 2005-09-13 /dev/dvd -> hdc
[root@localhost beinan]# ls -lh /dev/cdrom
lrwxrwxrwx 1 root root 3 2005-09-13 /dev/cdrom -> hdc
[root@localhost beinan]# ls -lh /dev/cdwriter
lrwxrwxrwx 1 root root 3 2005-09-13 /dev/cdwriter -> hdc
得知: dvd 、cdrom 、cdwriter 的文件名都链接到了hdc这个设备,所以光驱设备根源就是/dev/hdc ;
得知: 通过/etc/fstab内看到的,我们可以肯定的是光盘被mount 到了/media/cdrecorder 目录;
2、自定义cdrom 挂载的位置,比如 /mnt/cdrom,所以我们也可以这样来挂载光驱;
修改:/etc/fstab,把/dev/hdc /media/cdrecorder auto users,exec,noauto,managed 0 0
修改为:
/dev/hdc /mnt/cdrom auto users,exec,noauto,managed 0 0 再保存退出。
3、建立光驱挂载目录[root@vmlinux root]#mkdir /mnt/cdrom
4、再执行挂载命令:
[root@vmlinux root]# mount /dev/hdc /mnt/cdrom 或者 mount /dev/cdrom /mnt/cdrom
mount /dev/cdrom 挂载点(有的是/media/cdrom)
[root@CentOS ~]vi /etc/fstab
会打开fstab文件,你按照上面的方法编辑fstab,完后保存退出就可以了。
http://vontall.blogbus.com/logs/41507254.html
本示例模拟一个通常情况,公司自动话务员+语音导航菜单。以FreePBX为例进行设计,Trixbox、Elastix、Astercc等整合系统均是内嵌的FreePBX,所以也可以参考本例。
分机环境:
公司前台: EXT:2000
销售部: EXT:2101
技术部:EXT:2201
咨询: EXT:2301
1.添加录音
在FreePBX的PBX模块下的System Recrodings(系统录音)中选择Add Recording(添加录音)。录制或上传公司欢迎语,例如:欢迎光临XX公司,请直拨分机号码,查号请拨0。联系销售请按3,售后服务清按4,咨询业务请按5。建议用电脑录音,会比用话机效果好一些,Windows录音机就可以了,注意必须以PCM 编码16位8000Hz的格式保存。命名新录制的欢迎语为Welcom。
2.创建IVR菜单
在Inbound Call Control模块下的IVR(自动语音应答)中选择Add IVR(添加IVR)。
输入以下内容
Change Name(修改名称)worktime或你想要的内容
Announcement(通知):选择我们刚才录好的Welcom
取消"Enable Directory"的勾选
选择"Enable Direct dial" :这样客户即可以直拨分机号码找打联系人
在"Return to IVR"选项(不要勾选此项)的下方的方框中逐项输入0,3,4,5,在Extension中选择目标分机
3.设置呼入路由
至此,IVR设置完毕,我们要在inbound route(呼入路由)中启用这个IVR。因为我们设置的是通用IVR(公司自动话务员),所以我们设置一个默认inbound route(呼入路由)。
DID和CID都留空(不输入码任何内容),从页面下方的IVR中选择我们设置的(worktim或你自己命名的IVR名),保存并应用。
4.测试
打开SIP客户端,拨7777,模拟PSTN拨入时的状态。如果可以听到IVR,并可正常转接,说明设置成功。
这样当用户通过PSTN拨入的时候,就能听到我们的IVR流程了。
参考:
http://www.freepbx.org/support/documentation/module-documentation/ivr-digital-receptionist