2017年2月21日
摘要: 1.搭建lamp环境,lamp指的是: Linux+Apache+Mysql/MariaDB+Perl/PHP/Python (我们安装的是Linux+apache2+postgresql+php) (还需要安装php5-pgsql模块:sudo apt-get install php5-pgsql 阅读全文
posted @ 2017-02-21 16:34 斜月三星一太阳 阅读(589) 评论(0) 推荐(0)
摘要: 1.下载新版本的GeSHi(http://qbnz.com/highlighter) 2.解压,复制geshi目录到mediawiki的扩展目录(extensions)下(建议删除contrib和docs两个目录及内容) 3.在mediawiki的扩展目录(ectensions)下,新建GeSHiH 阅读全文
posted @ 2017-02-21 13:42 斜月三星一太阳 阅读(2117) 评论(0) 推荐(0)
  2017年2月20日
摘要: packer – javascript 压缩工具 http://dean.edwards.name/packer/ Javascript Beautifier 可以恢复某些压缩工具压缩的js代码 网页版:http://jsbeautifier.org 阅读全文
posted @ 2017-02-20 12:19 斜月三星一太阳 阅读(1366) 评论(0) 推荐(0)
  2017年2月9日
摘要: 1.generate key use java key tool 2.sign certificate 3.modify server.xml test it: https://ip:8443 阅读全文
posted @ 2017-02-09 18:03 斜月三星一太阳 阅读(259) 评论(0) 推荐(0)
摘要: 1. enable the module ssl by: 2.after you have enabled module ssl , you will have to restart the web server for the change to be recognized: now ,the w 阅读全文
posted @ 2017-02-09 17:41 斜月三星一太阳 阅读(241) 评论(0) 推荐(0)
摘要: ubuntu下使用sudo apt-get install apache2方法安装时,配置文件主要在/etc/apache2/目录下。主要有: apache2.conf : 主配置文件,会通过include的方式包含其他的配置文件 ports.cong : 可以配置你需要启用的端口号 mods-av 阅读全文
posted @ 2017-02-09 14:20 斜月三星一太阳 阅读(620) 评论(0) 推荐(0)
  2017年2月6日
摘要: sudo apt-get install Terminator 阅读全文
posted @ 2017-02-06 18:47 斜月三星一太阳 阅读(397) 评论(0) 推荐(0)
摘要: 1.进行apache官网->Download->Files for Microsoft Windows->ApacheHaus,然后选择合适的版本下载 2.将下载下来的压缩包解压到合适的目录 3.找到Apache\conf\httpd.conf文件,打开,修改:a) Define SRVROOT为当 阅读全文
posted @ 2017-02-06 11:25 斜月三星一太阳 阅读(161) 评论(0) 推荐(0)
摘要: 开始->所有程序->附件->命令提示符->右键,以管理员身份运行(win10可以直接搜索cmd,右键,以管理员身份运行) 阅读全文
posted @ 2017-02-06 10:39 斜月三星一太阳 阅读(267) 评论(0) 推荐(0)
  2017年1月25日
摘要: rename 's/\.JPG/.jpg/' *.JPG 把JPG后缀改为jpg 参考url http://blog.csdn.net/whuslei/article/details/6724900 阅读全文
posted @ 2017-01-25 10:35 斜月三星一太阳 阅读(235) 评论(0) 推荐(0)