2013年3月27日
摘要: 找到ucenter下的data/config.inc.php找到UC_FOUNDERPW,UC_FOUNDERSALT分别改成一下的字符串define('UC_FOUNDERPW', '047099adb883dc19616dae0ef2adc5b6');define('UC_FOUNDERSALT', '311254');修改完后,创始人密码变为:123456789然后登录系统修改密码就可以了,非常简单。 阅读全文
posted @ 2013-03-27 14:20 ヽ坚强的蘑菇 阅读(335) 评论(0) 推荐(0) 编辑
摘要: location / { rewrite ^/content-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 last ; rewrite ^/show-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 last ; rewrite ^/list-([0 阅读全文
posted @ 2013-03-27 13:48 ヽ坚强的蘑菇 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 停止操作 停止操作是通过向nginx进程发送信号(什么是信号请参阅linux文 章)来进行的 步骤1:查询nginx主进程号 ps -ef | grep nginx 在进程列表里 面找master进程,它的编号就是主进程号了。 步骤2:发送信号 从容停止Nginx: kill -QUIT 主进程号 快速停止Nginx: kill -TERM 主进程号 强制停止Nginx: pkill -9 nginx 另外, 若在nginx.conf配置了pid文件存放路径则该文件存放的就是Nginx主进程号,如果没指定则放在nginx的logs目录下。有了pid文 件,我们就不用先查询Nginx的主进程号. 阅读全文
posted @ 2013-03-27 13:35 ヽ坚强的蘑菇 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1.unzip解压到制单目录[root@localhost cactiplugins]# mkdir monitor[root@localhost cactiplugins]# unzip monitor-0.8.2.zip -d monitorArchive: monitor-0.8.2.zip inflating: monitor/wz_tooltip.js inflating: monitor/index.php inflating: monitor/LICENSE inflating: monitor/sounds/index.php inflating: ... 阅读全文
posted @ 2013-03-27 10:57 ヽ坚强的蘑菇 阅读(2452) 评论(0) 推荐(0) 编辑