爱上你的微笑_百度空间
 
文章列表
 
2010-12-13 11:57

转自:http://bbs.51cto.com/thread-791797-1.html

作者:夜雨流香

 

1.安装所需要的包
所需的包有vnc-server(vnc服务器软件包),vnc(客户端包)。
另外,既然想用VNC,肯定是想要看图形界面,那就还要安装"GNOME Desktop Environment"(如果是想用GNOME,否则用KDE)
如下:
#yum install vnc-serv

 
2010-11-11 16:09
<VirtualHost *:80>
ServerAdmin webmaster@test.dev
DocumentRoot D:\www\default\webapps
ServerName  www.test.dev
ServerAlias test.dev
ErrorLog logs/test.dev-error_log
CustomLog logs/test.dev-access_log common
</VirtualHost>
 
2010-11-11 11:47
windows 7 家庭普通版使用管理员账号(激活管理员帐号,激活administrator帐号)登陆,运行cmd,命令输入:net user administrator /active:yes ,然后注销现登录帐号或者重启计算机。
 
2010-08-31 17:38
<?php
//对汉字进行url编码
function ConvertUrlEncode($textUrlChar)
{
$textUrl = htmlspecialchars(urlencode($textUrlChar));
return $textUrl;
}
?>
 
2010-08-26 10:33
Windows 7安装Visual Studio 2008专业版出错:setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.

解决办法一:http://topic.csdn.net/u/20100224/15/c69dbe4a-c4a0-47d4-a5c1-961c4838d1e9.html

很明显,你的Microsoft Visual Studio Web 创作组件安装失败了,造成这个的原因只有一个,就是你安装O
 
2010-08-24 22:45
来源:http://hi.baidu.com/ubuntu2me/blog/item/c41a0211920464f0c3ce79d1.html

安装autoconf工具

Ubuntu:apt-get install autoconf
CentOS:yum install autoconf


以mbstring模块为例

进入源码目录:cd /php/ext/mbstring

运行:/usr/local/php/bin/phpize

会生成一个configure脚本和相关文件

 
2010-08-24 15:47
来源:http://cn2.php.net/stream_context_create

<?php
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);

$context = stream_context_create($opts);

/* Sends an http request to www.example.com
with additional headers shown
 
2010-08-08 22:21
1,修改 wp-config.php 文件的数据库信息。

2,替换mysql中的wordpress的旧域名信息。
UPDATE wp_options SET option_value = replace(option_value, 'http://www.dreamhost-promo-codes.us', 'http://la.dreamhost-promo-codes.us') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.dreamhost-promo-codes.us', 'http://la.dreamhost-
 
2010-08-08 20:05
IP地址段,常用一个Block码代表。如:/29 /28 /27 /26 /25 /24 等。
那如何计算这些段码所代表的IP数量呢?
可以使用工具:http://jodies.de/ipcalc 计算出来。
 
2010-08-05 23:27
来源:http://bbs.vshosting.org/vs63o1o1.html

php curl post data 的时候, server 回传status 417 错误。

lighttpd服务器总是返回:
HTTP/1.1 417 Expectation Failed
Connection: close
Content-Length: 0
Date: Fri, 12 Oct 2007 09:11:02 GMT
Server: lighttpd/1.4.18

尝试其他的服务器软件(比如nginx),就没有问题,google一下,发现是lighttpd不支持返回“Expect: 100-continue”这样
 
     
 
最新评论
 
     
 
留言板
 
 
内 容:
      
   
 
 
个人档案
 
江光明

 
   
 
文章分类
 
     
 
最新照片
 
   
 
我的项目
 
 
 
 
 
 
 
     
 
订阅我的空间
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     
 
订阅RSS
 
     
 
最近访客
 
 

小雨的蚊子

鑫哥丿小子

Cecil_911

vzubmbws

kalcaddle

wshxgxiaoli

五金扣扣

邱博威wen
     

帮助中心  |  空间客服  |  投诉中心  |  空间协议
©2012 Baidu