Authpuppy安装配置文档.doc
文本预览下载声明
Authpuppy安装配置文档
Authpuppy安装:首先在/authpuppy 下载authpuppy的源码,这是一个php源码包,部署到apche下,我用的是wamp集成了php+mysql。把解压包放在wamp安装目录 wamp/www/下。配置apche 的 http.conf,我的wamp安装在c盘DocumentRoot c:/wamp/wwwDirectory c:/wamp/www # # Possible values for the Options directive are None, All, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that MultiViews must be named *explicitly* Options All # doesnt give it to you. # # The Options directive is both complicated and important. Please see # /docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. ## Require all granted# onlineoffline tag - dont remove Order Deny,Allow Allow from *# Allow from # Allow from ::1# Allow from localhost/Directory
Authpuppy在wamp配置完毕后,启动wamp服务.在wampService上找phpmyadmin创建数据库,http://localhost/
Phpmyadmin创建数据库,数据库名随意,在数据库权限下添加一个管理用户,用来管理authpuppy,这个账号就是后面登陆到authpuppy的管理账号
运行http://localhost/authpuppy/web/或者是你的http:ip/authpuppy/web/,(默认80端口)进入管理页面
以管理员帐号登录。
登录后可见菜单如图:就可以做一些基本的Authpuppy配置了,虽然配置顺序没有要求,建议先配置Manage plugins配置了4个插件,
apAuthLocalUserPlugin的配置如图:
配置后 save。主要和密码认证user相关,配置此插件后才能增加、删除、修改用户。
apAuthSplashOnlyPlugin 插件的主要应用场景是,当你想不认证又保留protalpage时,配置这个插件,并且配置插件apNodeCustomPlugin
勾选上面两项即可。
apExternalCMSPlugin的配置如图:
次此插件的主要配置是,认证后的跳转。
配置manage nodes news创建一个nodes 如图:
主要配置要点为 gwid 此处的gwid 必须和路由器端的gwid一致。
User 主要功能是管理管理员帐号。
Server Configure 配置如图:
配置关键是 main url就是认证服务器的地址 如:21/authpuppy/web
其他几个看需要选择。
Manage local users 主要管理WiFi的认证账号。 增加、删除、修改等操作。如图:
至此完成Authpuppy的安装及基本配置。
Authpuppy登录方式
authpuppy根据基本配置可
显示全部