• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






hencehong

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2013年8月12日

JDK,JRE,JVM区别与联系(zz)
摘要: jdk,jre,jvm 阅读全文
posted @ 2013-08-12 01:09 hencehong 阅读(4874) 评论(0) 推荐(2)
 

2013年3月24日

nginx服务器管理
摘要: 启动命令:-c 参数,指定nginx配置文件/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf停止命令/usr/local/nginx/sbin/nginx -s stop重启命令/usr/local/nginx/sbin/nginx -s reload查看nginx其它命令/usr/local/nginx/sbin/nginx -hnginx.conf的具体配置可参考http://wiki.nginx.org以下是一个典型的配置:user nobody nobody;worker_processes 16;wor.. 阅读全文
posted @ 2013-03-24 23:28 hencehong 阅读(2108) 评论(0) 推荐(0)
 
LNMP中nginx和php的安装流程
摘要: L:linux(系统的安装略过,本文不涉及)M: Mysql(本文略过)N: nginxP: PHP首先安装nginx1. 下载源代码:到http://wiki.nginx.org/Install 上下载,放到/usr/src/software/nginx 下。(题外话,wiki.nginx.org 是个好网站,文档很全,没事的时候可多上去看看。)注意,nginx的一些模块依赖于一些第三方软件,例如PCRE, OPENSSL, zlib等等,需要事先安装它们。2. 下载几个相当有用的第三方写的Nginx扩展模块,统一放在/usr/src/nginx/exp(题外话,写Nginx模块挺有意思,有 阅读全文
posted @ 2013-03-24 21:20 hencehong 阅读(2347) 评论(0) 推荐(0)
 

2013年3月21日

一个禁止某个document element对象选中文本的js方法
摘要: // 参数 obj: 要禁止选中文本的元素的jquery对象// 参数 enabled: true, 可选中; false, 不可选中function setSelectable(obj, enabled) { if(enabled) { obj.removeAttr("unselectable").removeAttr("onselectstart").css("-moz-user-select", "").css("-webkit-user-select", ""); } 阅读全文
posted @ 2013-03-21 00:11 hencehong 阅读(811) 评论(0) 推荐(0)
 

2013年3月19日

nginx编译
摘要: 首先下载源文件:http://wiki.nginx.org/Install加压后运行:./configure [各种编译参数]makesudo make install编译完成后,可以使用命令 /prefix/sbin/nginx -V 来查看nginx的版本和编译参数一个较为完善的编译参数,其中还包含一些较为实用的第三方模块,例如lua-nginx-module, ngx_cache_purge./configure --with-http_sub_module --with-http_stub_status_module --with-http_ssl_module --with-http 阅读全文
posted @ 2013-03-19 23:11 hencehong 阅读(274) 评论(0) 推荐(0)
 
mysql用户管理
摘要: mysql_user 阅读全文
posted @ 2013-03-19 21:45 hencehong 阅读(32390) 评论(1) 推荐(2)
 

2012年11月11日

如何在浏览器窗口上添加一个遮罩层
摘要: js,css,html,遮罩层 阅读全文
posted @ 2012-11-11 22:52 hencehong 阅读(19267) 评论(13) 推荐(9)
 

2012年11月7日

Html Document窗口的尺寸和位置
摘要: Html Document窗口的尺寸和位置 阅读全文
posted @ 2012-11-07 00:19 hencehong 阅读(8789) 评论(0) 推荐(4)
 

2012年11月4日

nginx+php-fpm配置文件的组织结构
摘要: 1. nginx的配置文件路径一般来说,安装nginx的时候,配置文件的默认路径是 /usr/local/nginx/conf/nginx.conf。我们可以使用一个链接文件,将conf目录指向一个特定目录,以方便管理。例如,笔者所在的公司喜欢将所有的服务器配置文件集中在/home/server_config中,然后在该目录中新建一个子目录 nginx,再将/usr/local/nginx/conf通过链接文件指向/home/server_config/nginx。2. Virtual host的配置文件路径通常,笔者所在的公司会把每个Virtualhost的配置文件写成一个独立的文件。这些独 阅读全文
posted @ 2012-11-04 21:06 hencehong 阅读(2700) 评论(0) 推荐(0)
 

2012年10月6日

<img>标签的方方面面
摘要: 对Html中的img标签的全面介绍。 阅读全文
posted @ 2012-10-06 11:55 hencehong 阅读(15466) 评论(7) 推荐(7)