-
二安装apache
下载httpd-2.2.4.tar.gz
tar xzvf httpd-2.2.4.tar.gz
cd httpd-2.2.4
./configure --prefix=/usr/local/apache2 --enable-so --enable-mods-shared=all --enable-cgi --enable-rewrite --enable-deflate --with-mpm=worker
make
make in...
2008-11-06 18-07
-
安装环境
C466 + 128M内存
安装RH Linux7.3的时候注意选择中文内核。
Apache下载地址:http://httpd.apache.org/download.cgi
下载 httpd-2.0.48.tar.gz
PHP下载地址:http://www.php.net/downloads.php
下载 PHP 4.3.4 (tar.gz)
Mysql...
2008-11-06 18-07
-
Could not reliably determine the server's fully qualified domain name
在启动HTTP服务时提示
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
vi ...
2008-11-06 17-33
-
1. 使用命令:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
2. 修改文件:
/etc/sysconfig/network-scripts/ifcfg-eth0
3. 使用图形界面工具
4. 使用netconfig命令...
2008-11-06 17-01
-
修改/etc/inittab文件:
找到id:5:initdefault:这一行,将它改为id:3:initdefault:后重新启动系统即可。我们看到,简简单单地将5改为3,就能实现启动时进入X-Window图形操作界面或Console字符界面的转换,这是因为Linux操作系统有六种不同的运行级(run leve...
2008-11-06 16-46
-
一些细节,两个命令,查了半天帮助,特记录下来。
我的机器在局域网中原来是动态ip . DHCP的。想绑定到一个空闲出来的静态ip 192.168.8.85 。
/sbin/ifconfig eth0 192.168.8.85
完了之后,没啥反应。
于是决定手动改/etc/sysconfig/network-scripts/ifc...
2008-11-06 16-40
-
RHEL 5 Install Number
测试过,可行!
Server:
* Red Hat Enterprise Linux (Server including virtualization):
2515dd4e215225dd
+ Red Hat Enterprise Linux Virtualization Platform:
49af89414d147589
Client:
* Red Ha...
2008-11-06 16-04
-
js取得当前url,javascript获取当前页面url值,js获取域名2007-08-28 08:43js取得当前url,javascript获取当前页面url值,js获取域名
如果获取“当前”域名
host = window.location.host;
url=document.domain;
url = window.location.href;
取得完整url路径...
2008-11-06 15-38
-
整理一下昨天問大家關於PHP如何判斷是否為utf8編碼文件的方法,以下資料是用
google搜尋到的。
位置: http://ibtaiwan.com/ipb/index.php?showtopic=4035
由於utf8編碼有固定格式,其可能有2~4個字節,我們可以將每一個字節拆開判斷
這個函示僅判斷每個中...
2008-11-05 12-44
-
$utf8score=utf8_probability(&$fstr);
if( 90<=$utf8score && $utf8score<=100){echo "It is encoded with utf-8 already ";die;}
echo $utf8score;
function utf8_probability(&$rawtextstr) {
$score = 0;
$i = ...
2008-11-05 12-42
©2008 article.valu.cn 此内容系 文摘-网摘 根据您的指令自动搜索的结果,不代表 文摘-网摘 赞成被搜索网站的内容或立场