This is a typical symptom of session management failure for several browsers. There are two things to solve this issue:
1. Tune up “Session Validation Settings”
login to your Magento Admin Panel => System => Configuration => Web => Session Validation Settings and turn everyt...
阅读全文
在代码中调用图片和url是很简单的事, 但到CMS Page 中用phtml文件中的调用方法就不行了
我们需要使用几个参数来调用url和路径, 使用绝对地址可能到网站换域名的时候造成麻烦
1,CMS调用网站的Url 调用的是youdomain/about-us
?View Code TEXT1
<a href="{{store direct_url="about-us"}...
阅读全文
cisco asa 5500 版本升级到8.3 以后, nat 命令就有所不同了, 主要看官方的文档可以看出来的, 下面就直接用官方的tem来写了, 非常的简单
?View Code TEXT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The following example configures static NAT for the real host 10.1.1.1 on the inside t...
阅读全文
1. 配置 Socks5 编译环境
?View Code TEXT1
2
yum -y install gcc automake autoconf libtool make
yum -y install gcc gcc-c++ bison patch unzip mlocate flex wget automake autoconf gd cpp gettext readline-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-...
阅读全文
一,安装编译工具
yum install -y gcc gcc-c++ ncurses-devel
二, 下载软件
wget http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz
wget http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.15.tar.gz
三, mysql 安装需要cmake编译, 安装cmake
?View Code TEXT1
2
3
4
5
tar zxvf cmake-2.8.4....
阅读全文
做性能测试需要记录性能测试机器的硬件信息,现将需要的命令总结如下:
查看CPU信息(型号)
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
(看到有8个逻辑CPU, 也知道了CPU型号)
# cat /proc/cpuinfo | grep physical | uniq -c
...
阅读全文
在centos 6系统下编译安装PHP时,有以下错误, centos 5 好像没有
?View Code TEXT1
configure: error: libjpeg.(a|so) not found
?View Code TEXT1
locate libjpeg.so
locate之后发现已经安装了libjpeg了,但是在/usr/lib目录下没有libjpeg.so这个文件,在/usr/lib64下是有的,虽然使用–with-jpeg-dir=/u...
阅读全文
php 编辑安装时报的错误, 从错误上看应该时缺少关系包, 这个很容易解决的, 直接yum 安装
yum install openssl openssl-devel
在编辑安装php, 并会发现这个问题已经不会出现了。。
阅读全文
服务器上一个web网站可能是程序出了问题, 到网站目录下产生大量的临时文件, 确没有找出什么问题, 看着文件碍眼, 写了一个脚本,把文件给删除了
1, 用if -e 的方法来判断多个文件是会报错的…..
下面直接上方法。。。。
?View Code TEXT1
2
3
4
5
6
#!/bin/bash
filepath=/xxx/xxx/xxx
FILES=$(ls $...
阅读全文
为了防止大量垃圾链接网址被搜索引擎纳入索引,降低了网站的权重。 应该正确建立robots.txt
?View Code TEXT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Website Site...
阅读全文
第 1 页,共 13 页12345»10...最旧 »