分类「教程」下的文章

教程

新浪sae url rewrite(伪静态、重定向)详解

sae全程Sina App Engine,真是一个好东西,他有很多优秀的特性,简单来说SAE就是一个简单高效的分布式Web服务开发、运行平台。 支持现在常用的 php+mysql环境,在开发中难免会碰到项目需要做url rewrite(伪静态),然而sae不支持 apache 下的.htaccess 。不过不要难过,sae提供了自己的rewrite方式,本文我们就对sae的rewrite做个介绍,希望需要的同志能快速根据自己需求写想要的规则

修改ssh端口方法:

[root@linux ~]# vi /etc/ssh/sshd_config# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options change a # default value. Port 8181 //以前这个前面是有 # 号的,而且默认是 22 ,修改成你喜欢的就ok了 #Protocol 2,1 #ListenAddress 0.0.0.0 #ListenAddress :: # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key

nginx+php5+mysql一键安装脚本&一键反代+替换脚本

获取一键包:wget http://lnmp.jybb.me/lnmp.sh #下载脚本 sh lnmp.sh

VPS一键安装包

首先是改密码 lsb_release -a看看是啥版本的

Typecho详细搬家教程(解决500错误)

这篇教程主要介绍Typecho完整搬家换主机换域名,以及解决中间出现的500错误。废话不多说,马上开始。DA面板的请看这里,非DA面板或无面板请看这里。 DA面板操作 1.进入DA面板,点击“恢复/备份”

论坛自动签名方法

找了一个chrome可用的。http://userscripts.org/scripts/show/133769 右键Install下载保存,拖到chrome扩展列表页面,即可安装。

phpstudy本地论坛测试开启伪静态的方法

打开配置文件-httpd-conf, 查找 将其下面的AllowOverride None 改为:AllowOverride All 然后查找:Options FileInfo AuthConfig Limit 将其下面的AllowOverride None也改为AllowOverride All 保存后,重启Apache 然后在自己本地论坛的根目录下,添加.htacces文件,在里面添加Rewrite的伪静态规则。然后再次重启Apache,再打开论坛看看,已经完美支持伪静态了

OpenShift redhat红帽PaaS 云计算应用平台申请使用 绑米 论坛安装 解压

OpenShift免费空间注册申请: 1、打开OpenShift官方网站:https://openshift.redhat.com/app/,点击“Sign Up”,注册一个新账号。

typecho文章倒序排列

修改typecho源文件一个 /var/Widget/Archive.php中第1260行$select->order('table.contents.created', Typecho_Db::SORT_DESC)修改为$select->order('table.contents.created', Typecho_Db::SORT_ASC)