标签:tar

为WDCP APACHE添加mod_expires扩展

蓝鹰 | WDCP | 2014-11-21
  wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz tar zxvf  lanmp_laster.tar.gz cd /root/lanmp/   tar zxvf httpd-2.2.24.tar.gz cd httpd-2.2.24/modules/metadata /www/wdlinux/apache/bin/apxs -i -c -a mod_expires.c 执行成功就提示已安装成功了 vim /www/wdlinux/httpd-2.2.22/conf/httpd.conf 在后面加上一段 <IfModule... [阅读全文]
ė5 浏览数 6为WDCP APACHE添加mod_expires扩展已关闭评论 0, , , , , , , ,

架设 squid 代理(高度匿名代理设置)

蓝鹰 | CentOS | 2014-11-19
基础代理设置 sudo apt-get install squid3 #安装squid squid3 #服务直接启动 高度匿名代理需要在配置文件(sudo vi /etc/squid3/squid.cof)中添加如下: Squid 2.x header_access Via deny all header_access X-Forwarded-For deny all Squid 3.0 reply_header_access Via deny all reply_header_access X-Forwarded-For deny all Squid 3.1 via off ... [阅读全文]
ė3 浏览数 6架设 squid 代理(高度匿名代理设置)已关闭评论 0, , , , , ,

bash: scp: command not found 解决办法

蓝鹰 | CentOS | 2014-11-14
在内网,从一台服务器传mysql的源码安装包到另外一台服务器时,发生如下的错误: [root@localhost ~]# scp mysql-5.1.55.tar.gz root@192.168.3.22:. root@192.168.3.22's password: bash: scp: command not found lost connection 在server端和本地都执行 安装上scp的依赖包 yum install openssh-clients* 安装好之后,重新传输文件 [阅读全文]
ė1 浏览数 6bash: scp: command not found 解决办法已关闭评论 0, , , , ,

解决在make xcache时出现的错误

蓝鹰 | CentOS | 2014-11-13
上午在给php安装xcache插件时碰到的错误: /usr/include/php/ext/date/lib/timelib_structs.h:24:28: error: timelib_config.h: No such file or directory /root/xcache-1.3.0/xcache.c:2959: warning: initialization discards qualifiers from pointer target type make: *** [xcache.lo] Error 1 从错误的表面上看,仿佛是找不到timelib_config.h... [阅读全文]
ė3 浏览数 6解决在make xcache时出现的错误已关闭评论 0, , , ,

centOS 开机自启动配置方法

蓝鹰 | CentOS | 2014-09-23
centOS 配置开机自启动两种方式: 1.vi /etc/rc.d/rc.local 在此文件中加入启动的脚本 2.chkconfig 增加自己的脚本 –add –list –del 步骤: 1.自己定义脚本格式如下: 必须添加的 #!/bin/sh #chkconfig: 2345 80 80 #description: auto start web server 第一句:必须的 声明sh 第二句:必须的 2345 表示linux 有 0-6种状态 在2345下... [阅读全文]
ė2 浏览数 6centOS 开机自启动配置方法已关闭评论 0, ,

修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题

蓝鹰 | CentOS | 2014-07-20
1、在64系统里执行32位程序如果出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory,安装下glic即可 yum install glibc.i686 2、error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory yum install zlib.i686 [阅读全文]
ė94 浏览数 6修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题已关闭评论 0, , ,

linux下防止ssh暴力破解的方法

蓝鹰 | CentOS | 2014-06-07
今天在盛大云看到一个不错的防止ssh暴力破解的帖子,转过来和大家分享下,主要是依靠denyhost软件。稳重所讲的是下载安装包安装,实际上可以从直接使用yum或者apt安装,找到相应的源就可以。下边是帖子原文: DenyHosts官方网站为:http://denyhosts.sourceforge.net 1. 安装 # tar -zxvf DenyHosts-2.6.tar.gz # cd DenyHosts-2.6 # python setup.py i... [阅读全文]
ė126 浏览数 6linux下防止ssh暴力破解的方法已关闭评论 0, , , , , ,

Mcafee8.5i 安装使用设置详解[图文]

蓝鹰 | WIN系统教程 | 2014-06-06
Mcafee(麦咖啡)与Norton(诺顿)、Kaspersky(卡巴斯基)并称为世界三大杀毒软件,是一款非常优秀的杀软。其监控能力和保护规则相当强大,是同类软件中最好的。是我非常推崇的一款杀软。 Mcafee的精髓就在于规则设置。只要访问保护规则设置得好,几乎可以说是能够做倒百毒不侵。但它却是所有杀软中设置最为复杂,软件界面也不太符合我们的使用习惯的... [阅读全文]
ė73 浏览数 6Mcafee8.5i 安装使用设置详解[图文]已关闭评论 0, , , , , , , , , , , ,

php版爱站关键词采集器

蓝鹰 | 杂类其它 | 2014-06-05
<?php header("Content-type: text/html; charset=utf-8"); $word=$_GET['word']; $username = "****@163.com";//你的爱站账户 $passwd = "***";//你的爱站密码 $login_url = "http://www.aizhan.com/login.php"; $user_agent = "Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20100101 Firefox/17.0"; //获取sessionid $session_header =... [阅读全文]
ė75 浏览数 6php版爱站关键词采集器已关闭评论 0, , , ,

php_screw加密安装教程

蓝鹰 | 杂类其它 | 2014-06-05
下载:http://pan.baidu.com/share/link?shareid=180128&uk=704879932 安装 1.用tar解压缩 tar -zxvf php_screw-1.5.tar.gz 2.进入php_screw-1.5目录开始安装 cd php_screw-1.5 phpize 关于phpize ,它在php5-dev扩展模块中 只要安装php5-dev模块就行了。 ./confiugre 3.设置自己用来加密的密码 vi my_screw.h – Please change the encryption... [阅读全文]
ė64 浏览数 6php_screw加密安装教程已关闭评论 0, , , , , , , , , , , ,
Ɣ回顶部