{"id":10325,"date":"2025-04-18T17:58:07","date_gmt":"2025-04-18T09:58:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/10325.html"},"modified":"2025-04-18T17:58:07","modified_gmt":"2025-04-18T09:58:07","slug":"%e4%b8%80%e6%96%87%e8%bd%bb%e6%9d%be%e8%ae%a9%e4%bd%a0%e6%90%ad%e5%bb%ba%e4%b8%80%e4%b8%aaradius%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/10325.html","title":{"rendered":"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668"},"content":{"rendered":"<h2>1. \u7cfb\u7edf\u73af\u5883<\/h2>\n<h3>1.1.\u64cd\u4f5c\u7cfb\u7edf<\/h3>\n<ul>\n<li>Ubuntu-20.04.1 &#xff08;kernel: 5.15.0-58-generic&#xff09;<\/li>\n<\/ul>\n<h3>1.2.\u6240\u9700\u8f6f\u4ef6<\/h3>\n<ul>\n<li>FreeRADIUS<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"24\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d11990.png\" width=\"554\" \/><\/p>\n<ul>\n<li>MariaDB<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"15\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d1cf71.png\" width=\"554\" \/><\/p>\n<h3>1.3.\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\u672c\u6587\u63d0\u5230\u7684\u6240\u6709\u64cd\u4f5c&#xff0c;\u90fd\u662f\u4ee5root \u8eab\u4efd\u6267\u884c&#xff1b;<\/li>\n<\/ul>\n<h2>2. FreeRADIUS\u7684\u5b89\u88c5<\/h2>\n<h3>2.1. \u5b89\u88c5FreeRADIUS\u670d\u52a1\u5668\u7a0b\u5e8f<\/h3>\n<p>\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>apt install freeradius<\/li>\n<\/ul>\n<p>\u5b89\u88c5FreeRADIUS\u5de5\u5177\u5305&#xff0c;\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>apt install freeradius-utils\n<ul>\n<li>\u6ce8&#xff1a;\u8be5\u5de5\u5177\u5305\u7528\u4e8e\u6d4b\u8bd5freeradius\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>2.2 \u4fee\u6539\u7528\u6237\u7ba1\u7406\u914d\u7f6e\u6587\u4ef6<\/h3>\n<h4>2.2.1 FreeRADIUS\u7684\u6d4b\u8bd5<\/h4>\n<p>\u6253\u5f00\/etc\/freeradius\/3.0\/users\u6587\u4ef6&#xff0c;\u67e5\u627e&#034;steve\u00a0\u00a0\u00a0 Cleartext-Password :&#061; &#034;testing&#034;&#xff08;73-81&#xff09;&#034;&#xff0c; \u53d6\u6d88\u8be5\u6bb5\u5185\u5bb9\u7684\u6ce8\u91ca\u3002<\/p>\n<h4>2.2.2 \u4fee\u6539\u9632\u706b\u5899\u914d\u7f6e<\/h4>\n<p>\u4fee\u6539\u9632\u706b\u5899\u914d\u7f6e&#xff0c;\u5141\u8bb8freeradius\u6240\u4f7f\u7528\u7684\u7aef\u53e31812\u548c1813\u3002\u547d\u4ee4\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<ul>\n<li>iptables -A INPUT -p udp &#8211;dport 1812 -j ACCEPT<\/li>\n<li>iptables -A INPUT -p udp &#8211;dport 1813 -j ACCEPT<\/li>\n<\/ul>\n<h3>2.3 \u4ee5\u8c03\u8bd5\u65b9\u5f0f\u542f\u52a8freeradius<\/h3>\n<p>\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>freeradius -X<\/li>\n<\/ul>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u7ec8\u7aef\u4f1a\u8f93\u51fa\u5982\u4e0b\u4fe1\u606f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"469\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d25d72.png\" width=\"744\" \/><\/p>\n<h3>2.4.\u4f7f\u7528\u6d4b\u8bd5\u5de5\u5177\u6d4b\u8bd5<\/h3>\n<p>\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef&#xff0c;\u4ee5root \u8eab\u4efd\u767b\u5f55&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>radtest steve testing localhost 0 testing123<\/li>\n<\/ul>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u7ec8\u7aef\u4f1a\u8f93\u51fa\u5982\u4e0b\u4fe1\u606f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"237\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d3d96d.png\" width=\"537\" \/><\/p>\n<p>\u8f93\u51fa&#034;Access-Accept&#034;\u8868\u793a\u6210\u529f&#xff0c;&#034;Access-Reject&#034;\u8868\u793a\u5931\u8d25\u3002<\/p>\n<h2>3. MariaDB\u7684\u5b89\u88c5<\/h2>\n<h3>3.1. \u5b89\u88c5MariaDB\u670d\u52a1\u5668\u7a0b\u5e8f<\/h3>\n<p>\u4ee5root \u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>apt install mariadb-server<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u6210\u529f\u540e&#xff0c;\u4f7f\u7528systemctl\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u5230mariadb\u670d\u52a1\u662f\u5426\u5df2\u7ecf\u5f00\u542f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"82\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d4cf67.png\" width=\"592\" \/><\/p>\n<h3>3.2. \u5b89\u88c5MariaDB\u5ba2\u6237\u7aef\u7a0b\u5e8f<\/h3>\n<p>\u4ee5root \u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>apt-get installmariadb-client<\/li>\n<\/ul>\n<h3>3.3 MariaDB\u7684\u6d4b\u8bd5<\/h3>\n<h4>3.3.1 \u521b\u5efa\u6570\u636e\u5e93<\/h4>\n<p>\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>mysql -u root -p<\/li>\n<\/ul>\n<p>\u8981\u6c42\u8f93\u5165\u5bc6\u7801\u65f6&#xff0c;\u76f4\u63a5\u56de\u8f66\u5373\u53ef\u3002<\/p>\n<p>mysql&gt; create databaseradius;<\/p>\n<p>mysql&gt; grant all on radius.* to radius&#064;localhost identified by\u201cradpass\u201d;\u00a0<\/p>\n<p>mysql&gt; exit;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"342\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d59400.png\" width=\"515\" \/><\/p>\n<h4>3.3.2 \u5bfc\u5165\u8868\u7ed3\u6784<\/h4>\n<p>\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>mysql -u root radius &lt; \/etc\/freeradius\/3.0\/mods-config\/sql\/main\/mysql\/schema.sql<\/li>\n<\/ul>\n<p>\u4e0a\u9762\u7684\u6307\u4ee4&#xff0c;\u5171\u5bfc\u51658\u4e2a\u8868&#xff0c;\u5206\u522b\u662f&#xff1a;<\/p>\n<ul>\n<li>nas&#xff0c;\u7f51\u7edc\u8bbe\u5907\u8868<\/li>\n<li>radacct&#xff0c;\u8ba1\u8d39\u60c5\u51b5\u8868<\/li>\n<li>radcheck&#xff0c;\u7528\u6237\u68c0\u67e5\u4fe1\u606f\u8868<\/li>\n<li>radgroupcheck&#xff0c;\u7528\u6237\u7ec4\u68c0\u67e5\u4fe1\u606f\u8868<\/li>\n<li>radgroupreply&#xff0c;\u7528\u6237\u7ec4\u56de\u590d\u4fe1\u606f\u8868<\/li>\n<li>radpostautch&#xff0c;\u8ba4\u8bc1\u540e\u5904\u7406\u4fe1\u606f&#xff0c;\u53ef\u4ee5\u5305\u62ec\u8ba4\u8bc1\u8bf7\u6c42\u6210\u529f\u548c\u62d2\u7edd\u7684\u8bb0\u5f55radreply \u7528\u6237\u56de\u590d\u4fe1\u606f\u8868<\/li>\n<li>radusergroup&#xff0c;\u7528\u6237\u548c\u7ec4\u5173\u7cfb\u8868<\/li>\n<\/ul>\n<p>\u53ef\u4ee5\u8fdb\u5165radius \u6570\u636e\u5e93&#xff0c;\u67e5\u770b\u5bfc\u5165\u7684\u8868\u7ed3\u6784&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>mysql -u root radius<\/p>\n<p>mysql&gt; show tables;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"300\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d6a2d2.png\" width=\"466\" \/><\/p>\n<h4>3.3.3 \u5efa\u7acb\u7ec4\u4fe1\u606f\u548c\u7528\u6237\u4fe1\u606f<\/h4>\n<p>\u5728\u7ec8\u7aef\u8f93\u5165\u201dmysql -u root radius\u201c&#xff0c;\u6253\u5f00\u6570\u636e\u5e93&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>1. \u65b0\u5efa&#039;user&#039;\u7ec4<\/p>\n<p>mysql&gt; insert into radgroupcheck (groupname,attribute,op,value) values\u00a0\u00a0(&#039;usr&#039;,&#039;Auth- Type&#039;,&#039;:&#061;&#039;,&#039;Local&#039;);<\/p>\n<p>mysql&gt; insert into radgroupcheck (groupname,attribute,op,value) values (&#039;usr&#039;,&#039;Service-Type&#039;,&#039;:&#061;&#039;,&#039;Framed-User&#039;);<\/p>\n<p>mysql&gt; insert into radgroupcheck (groupname,attribute,op,value) values (&#039;usr&#039;,&#039;Framed-IP-Address&#039;,&#039;:&#061;&#039;,&#039;255.255.255.255&#039;);<\/p>\n<p>mysql&gt; insert into radgroupcheck (groupname,attribute,op,value) values (&#039;usr&#039;,&#039;Framed-IP-Netmask&#039;,&#039;:&#061;&#039;,&#039;255.255.255.0&#039;);<\/p>\n<p>2. \u67e5\u770b\u65b0\u5efa\u7ec4<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"143\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d7908a.png\" width=\"427\" \/><\/p>\n<p>3. \u65b0\u5efa&#039;test&#039;\u7528\u6237<\/p>\n<p>mysql&gt; insert into radcheck (username,attribute,op,value) values (&#039;test&#039;,&#039;CleartextPassword&#039;,&#039;:&#061;&#039;,&#039;testpwd&#039;);<\/p>\n<p>4. \u67e5\u770b\u65b0\u5efa\u7528\u6237<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"122\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d85267.png\" width=\"433\" \/><\/p>\n<p>5. \u5c06\u7528\u6237\u52a0\u5165\u7ec4\u4e2d<\/p>\n<p>mysql&gt; insert into radusergroup (username,groupname) values (&#039;test&#039;,&#039;user&#039;);<\/p>\n<p>6. \u67e5\u770b\u7528\u6237\u548c\u7ec4\u4fe1\u606f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"118\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d90eab.png\" width=\"364\" \/><\/p>\n<h2>4. FreeRADIUS\u4e0eMariaDB\u7684\u5bf9\u63a5<\/h2>\n<h3>4.1 \u5b89\u88c5freeradius-mysql\u7ec4\u4ef6<\/h3>\n<p>\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>apt installfreeradius-mysql<\/li>\n<\/ul>\n<h3>4.2. \u91cd\u542fMariaDB\u670d\u52a1<\/h3>\n<p>\u4ee5root\u8eab\u4efd\u767b\u5f55\u5230\u7ec8\u7aef&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>systemctl restart mariadb<\/li>\n<\/ul>\n<h3>4.3 \u4f7f\u80fdFreeRADIUS\u4e2d\u7684mysql\u8ba4\u8bc1\u914d\u7f6e<\/h3>\n<p>\u9ed8\u8ba4mods-enabled\u76ee\u5f55\u4e0b\u6ca1\u6709\u8be5\u914d\u7f6e&#xff0c;\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u8f6f\u94fe\u63a5\u5230mods-available\u76ee\u5f55\u4e0b\u7684sql\u6587\u4ef6&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>cd \/etc\/freeradius\/3.0\/mods-enabled<\/li>\n<li>ln -s ..\/mods-available\/sql<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"133\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d9cce0.png\" width=\"624\" \/><\/p>\n<h3>4.4. \u4fee\u6539FreeRADIUS\u4e2d\u7684mysql\u8ba4\u8bc1\u914d\u7f6e<\/h3>\n<p>\u76f4\u63a5\u4fee\u6539\/etc\/freeradius\/3.0\/mods-available\/sql\u6587\u4ef6&#xff0c;\u5c06dialect &#061; &#034;sqlite&#034;\u8fd9\u4e00\u884c&#xff0c;\u4fee\u6539\u4e3adialect &#061; &#034;mysql&#034;\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"281\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222da9f45.png\" width=\"375\" \/><\/p>\n<p>\u5c06driver &#061; &#034;rlm_sql_null&#034;\u8fd9\u4e00\u884c&#xff0c;\u4fee\u6539\u4e3adriver &#061; &#034;rlm_sql_mysql&#034;\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"204\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222dbd180.png\" width=\"379\" \/><\/p>\n<p>\u5c06tsl\u76f8\u5173\u7684\u5185\u5bb9\u5c4f\u853d&#xff0c;\u5177\u4f53\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"285\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222dd1060.png\" width=\"573\" \/><\/p>\n<p>\u540c\u65f6\u9700\u8981\u53d6\u6d88&#034;Connection info&#034;\u90e8\u5206\u6ce8\u91ca&#xff0c;\u5177\u4f53\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"133\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222de633a.png\" width=\"290\" \/><\/p>\n<h3>4.5. \u6d4b\u8bd5\u901a\u8fc7\u6570\u636e\u5e93\u505a\u7528\u6237\u8ba4\u8bc1<\/h3>\n<p>1. \u91cd\u65b0\u4ee5\u8c03\u8bd5\u65b9\u5f0f\u8fd0\u884cfreeradius&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>systemctl stop freeradius<\/li>\n<li>freeradius -X<\/li>\n<\/ul>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u7ec8\u7aef\u4f1a\u8f93\u51fa\u5982\u4e0b\u4fe1\u606f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"240\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222df2ffa.png\" width=\"683\" \/><\/p>\n<p>2. \u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef&#xff0c;\u4ee5root \u8eab\u4efd\u767b\u5f55&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>radtest test testpwd localhost 1812 testing123<\/li>\n<\/ul>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff0c;\u7ec8\u7aef\u4f1a\u8f93\u51fa\u5982\u4e0b\u4fe1\u606f&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"139\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095806-6802222e11941.png\" width=\"527\" \/><\/p>\n<h2>5. \u5e38\u89c1\u9519\u8bef<\/h2>\n<p>1. Failed binding to auth address * port 1812 bound to serverdefault: Address already in use \/usr\/local\/etc\/raddb\/sites-enabled\/default[59]:Error binding to port for 0.0.0.0 port 1812<\/p>\n<p>\u539f\u56e0&#xff1a;\u5df2\u7ecf\u6709\u4e00\u4e2aFreeRADIUS \u5b9e\u4f8b\u5728\u8fd0\u884c\u4e86<\/p>\n<p>\u89e3\u51b3&#xff1a;systemctl stop freeradius.service<\/p>\n<p>2. \u5b89\u88c5mariadb-server \u62a5\u9519<\/p>\n<p>Job for mariadb.service failed because thecontrol process exited with error code.<\/p>\n<p>See &#034;systemctl status mariadb.service&#034;and &#034;journalctl -xe&#034; for details.<\/p>\n<p>\u539f\u56e0&#xff1a;\u67e5\u770b\/var\/log\/mysql\/error.log \u6587\u4ef6&#xff0c;\u63d0\u793a&#xff1a;<\/p>\n<p>[ERROR] Unknown\/unsupported storage engine: InnoDB<\/p>\n<p>\u89e3\u51b3&#xff1a;sudo apt remove &#8211;purgemysql-server mysql-client sudo rm -rf \/var\/run\/mysql*<\/p>\n<p>sudo apt autoremovesudo apt autoclean<\/p>\n<p>3. \u5b89\u88c5mariadb-server\u62a5\u9519<\/p>\n<p>Job for mariadb.service failed because atimeout was exceeded.<\/p>\n<p>See &#034;systemctl status mariadb.service&#034; and&#034;journalctl -xe&#034; for details.<\/p>\n<p>\u539f\u56e0&#xff1a;\u7cfb\u7edf\u4e4b\u524d\u5b89\u88c5\u4e86mysql&#xff0c;\u5b83\u4f1a\u6fc0\u6d3b\u4e00\u4e2a\u4e0emariadb\u4e0d\u517c\u5bb9\u7684apparmor\u914d\u7f6e\u6587\u4ef6&#xff0c;apt\u00a0 remove \u2013purge\u64cd\u4f5c\u53ea\u80fd\u5220\u9664\u914d\u7f6e\u6587\u4ef6&#xff0c;\u4f46\u4e0d\u4f1a\u505c\u7528\/\u5378\u8f7d\u5b83\u3002\u53ea\u6709\u624b\u52a8\u5378\u8f7d\u5b83&#xff0c;mariadb\u624d\u80fd\u4e0d\u53d7apparmor\u7684\u963b\u788d&#xff0c;\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>\u89e3\u51b3&#xff1a;echo &#034;\/usr\/sbin\/mysqld{ }&#034; &gt;&gt; \/etc\/apparmor.d\/usr.sbin.mysqld<\/p>\n<p>apparmor_parser -v -R\/etc\/apparmor.d\/usr.sbin.mysqld<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf36\u6b21\u3002WLAN RADIUS_radius\u8ba4\u8bc1\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":10308,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[436,435],"topic":[],"class_list":["post-10325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-wi-fi","tag-wi-fi-bluetooth-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/10325.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf36\u6b21\u3002WLAN RADIUS_radius\u8ba4\u8bc1\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/10325.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T09:58:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d11990.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/10325.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/10325.html\",\"name\":\"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T09:58:07+00:00\",\"dateModified\":\"2025-04-18T09:58:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/10325.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/10325.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/10325.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/10325.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1w\u6b21\uff0c\u70b9\u8d5e38\u6b21\uff0c\u6536\u85cf36\u6b21\u3002WLAN RADIUS_radius\u8ba4\u8bc1\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/10325.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T09:58:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095805-6802222d11990.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/10325.html","url":"https:\/\/www.wsisp.com\/helps\/10325.html","name":"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T09:58:07+00:00","dateModified":"2025-04-18T09:58:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/10325.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/10325.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/10325.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u6587\u8f7b\u677e\u8ba9\u4f60\u642d\u5efa\u4e00\u4e2aRADIUS\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/10325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=10325"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/10325\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/10308"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=10325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=10325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=10325"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=10325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}