Resin 管理员默认账号登陆密码

要登录Resin管理员页面,需访问http://127.0.0.1:8080/resin-admin/index.php。注册账号如jack后,需将生成的admin-users.xml.generated文件改名为admin-users.xml,或手动将XML内容添加到该文件中。默认仅允许本地访问,若需外部访问,需在resin.xml中设置<resin:set var="resin_admin_external" value="true"/>。完成设置后刷新浏览器使用新创建的账号登录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

进入管理员登陆页面:

http://127.0.0.1:8080/resin-admin/index.php

注册一个管理员账号,如jack,会出现如下提示:

A login configuration file has been written under the name admin-users.xml.generated in the same directory as your resin.xml file. Simply rename this file to admin-users.xml to install your login.

Or cut and paste the following into the admin-users.xml

  <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"

                            xmlns:resin="urn:java:com.caucho.resin">

      <user name="jack" password="NNZXjZAbba/nmoAB0fiIfQ=="/>

  </resin:AdminAuthenticator>

By default, access to the administration application is limited to the localhost. The default behaviour can be changed in the resin.xml file. To enable access to clients other than localhost:

  <resin:set var="resin_admin_external" value="true"/>

Once the file has been saved, you can continue to the administration area. This will trigger a server restart, so just refresh your browser until you see the login page again.

When prompted, use the username and password you provided.

 

仔细看这段文字就会明白,这段话是说:

在conf目录下生成一个文件admin-users.xml.generated,文件名改为admin-users.xml,就可以了。

或是将下面这个Xml片段插入admin-users.xml文件中也行

  <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"

                            xmlns:resin="urn:java:com.caucho.resin">

      <user name="jack" password="NNZXjZAbba/nmoAB0fiIfQ=="/>

  </resin:AdminAuthenticator>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值