resin3 resin-admin管理后台的配置

作者: 2hei 发表于2008年12月 4日 20:37
版权声明: 可以转载, 转载时务必以超链形式标明文章原始出处和作者信息及版权声明
http://www.2hei.net/mt/2008/12/resin3-resinadmin.html
resin3自带caucho-status页面,不过页面显示内容不是很详细,其提供的admin页面更能够详细的记录resin的运行状况。
在resin.conf中添加如下配置:

  <management path="/home/resin3/php/admin">
    <user name="admin" password=""/>
  </management>

另外添加  
    <web-app id="/resin-admin" root-directory="/home/resin3/php/admin">
     <prologue>
        <resin:set var="resin_admin_user" value="admin"/>  
        <resin:set var="resin_admin_password" value=""/>  
        <resin:set var="resin_admin_external" value="true"/>  

     </prologue>
  </web-app>
注意<resin:set var="resin_admin_external" value="true"/>  的设置是允许外部进行管理,可以添加ip访问限制,否则可能存在安全隐患。
配置好以后使用 https://ip/resin-admin/login.php登陆
2008-12-04_140732.png
  






















这里可以输入用户名、密码来生成你需要的md5加密后的口令,然后添加到resin.conf中。
2008-12-04_140836.png













登陆以后的页面如下:
2008-12-04_140443.png















可以看到summary、config、threads等,可惜的是heap、cache、cluster等功能都是professional版本才可以。
2008-12-04_140530.png















可以看到数据库连接池、TCP连接数及使用的内存等数据,还是比较直观的一个工具哟!

| | Comments (0) | TrackBacks (0)

发表一个评论

关于这篇文章

这篇文章由2hei2008年12月 4日 20:37发布.

上一篇:python ip格式转化为long型

下一篇:试试明年的运气如何?

回到首页 或者查看归档文章

  • Powered by FeedBurner
  • Add to Google Reader or Homepage
  • Add to My AOL
  • Subscribe in NewsGator Online
  • del.icio.us/2heidel.icio.us/2hei
  • Subscribe to feed feeds