AI助手支持GPT4.0
This package provides API for downloading the application log file, and dumping and downloading the database.
此软件包提供用于下载应用程序日志文件以及转储和下载数据库的API。
It ships with authentication middleware which protects the API routes.
它附带了用于保护API路由的身份验证中间件。 p>
Centinel API is designed to work in combination with Centinel – centralized application management system for off
Centinel API旨在与 Centinel strong> 结合使用–用于关闭的集中式应用程序管理系统
-site database backups and application log checks.
站点数据库备份和应用程序日志检查。 p>
ul>
It’s highly recommended to use this plugin only on websites that use HTTPS!
强烈建议仅在使用HTTPS的网站上使用此插件! strong> p>After installing the plugin, go to Settings > Centinel API Settings in your WordPress Admin zone.安装插件后,转到WordPress管理区域中的设置> Centinel API设置 code>。From there, copy privateKey, encryptionKey and routePrefix to 从那里,将 privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups. Centinel strong> ,您就可以安排应用程序日志检查和数据库备份了。 p>Settings设置 h3>Private Key – random string, used for authentication 私钥 code> –随机字符串,用于身份验证 li>Encryption Key – random string, used for additional security layer 加密密钥 code> –随机字符串,用于附加安全层 li>Route Prefix – random string, prefixing the API routes Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li> ul>All MySQL settings are optional.所有MySQL设置都是可选的。If you're developing on Windows (WAMP, for example), you may want to set your Dump Binary Path to something like 'C:\Progra~1\wamp\bin\mysql\如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.mysql5.7.18 \ bin' code>。 p>Some MySQL settings will be ignored for PHP 5.6. PHP 5.6将忽略某些MySQL设置。For more details check Spatie DB Dumper v1.5.1有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>For details on how to use the dump options check the installed version of the package.有关如何使用转储选项的详细信息,请检查软件包的已安装版本。For PHP 7 that will be Spatie DB Dumper v2.9对于PHP 7,它将是 Spatie DB Dumper v2.9 p >>API Routes API路由 h3>[POST] /{routePrefix}/create-log [POST] / {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li> ul>For more details check /app/Controllers/CentinelApiApiController.php controller.有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
After installing the plugin, go to Settings > Centinel API Settings in your WordPress Admin zone.
Settings > Centinel API Settings
安装插件后,转到WordPress管理区域中的设置> Centinel API设置 code>。From there, copy privateKey, encryptionKey and routePrefix to 从那里,将 privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups. Centinel strong> ,您就可以安排应用程序日志检查和数据库备份了。 p>Settings设置 h3>Private Key – random string, used for authentication 私钥 code> –随机字符串,用于身份验证 li>Encryption Key – random string, used for additional security layer 加密密钥 code> –随机字符串,用于附加安全层 li>Route Prefix – random string, prefixing the API routes Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li> ul>All MySQL settings are optional.所有MySQL设置都是可选的。If you're developing on Windows (WAMP, for example), you may want to set your Dump Binary Path to something like 'C:\Progra~1\wamp\bin\mysql\如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.mysql5.7.18 \ bin' code>。 p>Some MySQL settings will be ignored for PHP 5.6. PHP 5.6将忽略某些MySQL设置。For more details check Spatie DB Dumper v1.5.1有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>For details on how to use the dump options check the installed version of the package.有关如何使用转储选项的详细信息,请检查软件包的已安装版本。For PHP 7 that will be Spatie DB Dumper v2.9对于PHP 7,它将是 Spatie DB Dumper v2.9 p >>API Routes API路由 h3>[POST] /{routePrefix}/create-log [POST] / {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li> ul>For more details check /app/Controllers/CentinelApiApiController.php controller.有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
设置> Centinel API设置 code>。From there, copy privateKey, encryptionKey and routePrefix to 从那里,将 privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups. Centinel strong> ,您就可以安排应用程序日志检查和数据库备份了。 p>Settings设置 h3>Private Key – random string, used for authentication 私钥 code> –随机字符串,用于身份验证 li>Encryption Key – random string, used for additional security layer 加密密钥 code> –随机字符串,用于附加安全层 li>Route Prefix – random string, prefixing the API routes Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li> ul>All MySQL settings are optional.所有MySQL设置都是可选的。If you're developing on Windows (WAMP, for example), you may want to set your Dump Binary Path to something like 'C:\Progra~1\wamp\bin\mysql\如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.mysql5.7.18 \ bin' code>。 p>Some MySQL settings will be ignored for PHP 5.6. PHP 5.6将忽略某些MySQL设置。For more details check Spatie DB Dumper v1.5.1有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>For details on how to use the dump options check the installed version of the package.有关如何使用转储选项的详细信息,请检查软件包的已安装版本。For PHP 7 that will be Spatie DB Dumper v2.9对于PHP 7,它将是 Spatie DB Dumper v2.9 p >>API Routes API路由 h3>[POST] /{routePrefix}/create-log [POST] / {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li> ul>For more details check /app/Controllers/CentinelApiApiController.php controller.有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
From there, copy privateKey, encryptionKey and routePrefix to 从那里,将 privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups. Centinel strong> ,您就可以安排应用程序日志检查和数据库备份了。 p>
privateKey
encryptionKey
routePrefix
从那里,将 privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups.
privateKey code>, encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups.
encryptionKey code>和 routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups.
routePrefix code>复制到 Centinel, and you're ready to schedule your application log checks and database backups.
Centinel
Centinel strong>
Private Key
私钥 code> –随机字符串,用于身份验证 li>Encryption Key – random string, used for additional security layer 加密密钥 code> –随机字符串,用于附加安全层 li>Route Prefix – random string, prefixing the API routes Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Encryption Key
加密密钥 code> –随机字符串,用于附加安全层 li>Route Prefix – random string, prefixing the API routes Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Route Prefix
Route Prefix code> –随机字符串,以API路由为前缀 li>Log Routes Enabled – disable if you do not wish to send logs to Centinel 启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Log Routes Enabled
启用日志路由 code> –如果您不希望将日志发送到Centinel,请禁用 li>Database Routes Enabled – disable if you do not wish to send database dumps to Centinel 已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Database Routes Enabled
已启用数据库路由 code> –如果您不希望将数据库转储发送到Centinel,请禁用 li>Disable Time Based Authorization – check this option in case of your server's and Centinel's datetime being out of sync which results in Request time mismatch or Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Disable Time Based Authorization
Request time mismatch
Too many API 禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error通话 code>错误 li>Zip Password – password used when zipping the database dump. Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
禁用基于时间的授权 code> –如果服务器和Centinel的日期时间不同步,导致请求时间不匹配 code>或 API过多,请选中此选项calls error
请求时间不匹配 code>或 API过多,请选中此选项calls error
API过多,请选中此选项calls
calls
通话 code>错误 li>
Zip Password
Zip密码 code> –压缩数据库转储时使用的密码。 Make sure to save the Zip Password so you can restore your database in case of server crash
Make sure to save the Zip Password so you can restore your database in case of server crash
请确保保存邮政编码,以便在服务器崩溃的情况下恢复数据库 strong> li>Dump Folder – folder where the database dumps are going to be created. 转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>MySQL Settings – various database dump options MySQL设置 code> –各种数据库转储选项 li>
Dump Folder
转储文件夹 code> –将在其中创建数据库转储的文件夹。All database dumps, along with this folder, are always deleted after being sent to Centinel.
All database dumps, along with this folder, are always deleted after being sent to Centinel.
所有数据库转储以及此文件夹在发送到Centinel后始终会被删除。 li>
MySQL Settings
MySQL设置 code> –各种数据库转储选项 li>
All MySQL settings are optional.
所有MySQL设置都是可选的。
If you're developing on Windows (WAMP, for example), you may want to set your Dump Binary Path to something like 'C:\Progra~1\wamp\bin\mysql\如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.mysql5.7.18 \ bin' code>。 p>Some MySQL settings will be ignored for PHP 5.6. PHP 5.6将忽略某些MySQL设置。For more details check Spatie DB Dumper v1.5.1有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>For details on how to use the dump options check the installed version of the package.有关如何使用转储选项的详细信息,请检查软件包的已安装版本。For PHP 7 that will be Spatie DB Dumper v2.9对于PHP 7,它将是 Spatie DB Dumper v2.9 p >>API Routes API路由 h3>[POST] /{routePrefix}/create-log [POST] / {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li> ul>For more details check /app/Controllers/CentinelApiApiController.php controller.有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
Dump Binary Path
'C:\Progra~1\wamp\bin\mysql\如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.mysql5.7.18 \ bin' code>。 p>Some MySQL settings will be ignored for PHP 5.6. PHP 5.6将忽略某些MySQL设置。For more details check Spatie DB Dumper v1.5.1有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>For details on how to use the dump options check the installed version of the package.有关如何使用转储选项的详细信息,请检查软件包的已安装版本。For PHP 7 that will be Spatie DB Dumper v2.9对于PHP 7,它将是 Spatie DB Dumper v2.9 p >>API Routes API路由 h3>[POST] /{routePrefix}/create-log [POST] / {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li> ul>For more details check /app/Controllers/CentinelApiApiController.php controller.有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
如果您正在Windows上进行开发(例如WAMP),则可能需要将 Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.
Dump Binary Path code>设置为类似'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'.
'C:\ Progra〜1 \ wamp \ bin \ mysql \ mysql5.7.18\bin'
mysql5.7.18\bin'
mysql5.7.18 \ bin' code>。 p>
Some MySQL settings will be ignored for PHP 5.6.
PHP 5.6将忽略某些MySQL设置。
For more details check Spatie DB Dumper v1.5.1
有关更多详细信息,请检查 Spatie DB Dumper v1.5.1 p>
For details on how to use the dump options check the installed version of the package.
有关如何使用转储选项的详细信息,请检查软件包的已安装版本。
For PHP 7 that will be Spatie DB Dumper v2.9
对于PHP 7,它将是 Spatie DB Dumper v2.9 p
>
/{routePrefix}/create-log
/ {routePrefix} / create-log code> li>[POST] /{routePrefix}/download-log [POST] / {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li>
/{routePrefix}/download-log
/ {routePrefix} / download-log code> li>[POST] /{routePrefix}/dump-database [POST] / {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li>
/{routePrefix}/dump-database
/ {routePrefix} / dump-database code> li>[POST] /{routePrefix}/download-database [POST] / {routePrefix} / download-database code> li>
/{routePrefix}/download-database
/ {routePrefix} / download-database code> li>
For more details check /app/Controllers/CentinelApiApiController.php controller.
/app/Controllers/CentinelApiApiController.php
有关更多详细信息,请检查 /app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
/app/Controllers/CentinelApiApiController.php code>控制器。 p>Application Logs应用程序日志 h3>By default, WordPress does not write any errors to the log file.默认情况下,WordPress不会将任何错误写入日志文件。To change this, you can open up wp-config.php and set the following options: 要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
By default, WordPress does not write any errors to the log file.
默认情况下,WordPress不会将任何错误写入日志文件。
To change this, you can open up wp-config.php and set the following options:
wp-config.php
要更改此设置,您可以打开 wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
wp-config.php code>并设置以下选项: define(‘WP_DEBUG’, true); define('WP_DEBUG',true); define(‘WP_DEBUG_LOG’, true); define('WP_DEBUG_LOG',true); define(‘WP_DEBUG_DISPLAY’, false);define('WP_DEBUG_DISPLAY',false); p>You can read more about these options in WordPress documentation您可以在 WordPress文档 strong> p中详细了解这些选项。 >>Database Backups数据库备份 h3>Spatie DB Dumper is used to make database dumps. Spatie DB Dumper 用于进行数据库转储。 MySQL is supported, and requires mysqldump utility. MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
define(‘WP_DEBUG’, true);
define('WP_DEBUG',true);
define(‘WP_DEBUG_LOG’, true);
define('WP_DEBUG_LOG',true);
define(‘WP_DEBUG_DISPLAY’, false);
define('WP_DEBUG_DISPLAY',false); p>
You can read more about these options in WordPress documentation
您可以在 WordPress文档 strong> p中详细了解这些选项。
Spatie DB Dumper is used to make database dumps.
Spatie DB Dumper 用于进行数据库转储。
MySQL is supported, and requires mysqldump utility.
mysqldump
MySQL strong>受支持,并且需要 mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
mysqldump code>实用程序。 p>Centinel API will try to zip and password protect database dumps before sending them to Centinel. Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
Centinel API will try to zip and password protect database dumps before sending them to Centinel.
Centinel API在将数据库转储发送到Centinel之前,将尝试使用zip和密码保护数据库转储。
In case you’re using PHP 7.2+, it will use PHP’s native ZipArchive class to zip and encrypt the database.
ZipArchive
如果您使用的是PHP 7.2或更高版本,它将使用PHP的本机 ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
ZipArchive code>类对数据库进行压缩和加密。Otherwise, it will look for 7-Zip and Zip libraries to do so.否则,它将寻找7-Zip和Zip库来这样做。If no option is available, dumps will be sent without being zipped and password protected.如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>Run Check Zip Availability in Centinel API Settings to see which library is available on your server.在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
Otherwise, it will look for 7-Zip and Zip libraries to do so.
否则,它将寻找7-Zip和Zip库来这样做。
If no option is available, dumps will be sent without being zipped and password protected.
如果没有可用的选项,则转储文件将被发送而不会被压缩并且没有密码保护。 p>
Run Check Zip Availability in Centinel API Settings to see which library is available on your server.
Check Zip Availability
在Centinel API设置中运行检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
检查Zip可用性 code>以查看服务器上可用的库。Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。Ultimately it is up to you to decide which level of security is satisfactory.最终由您决定哪个安全级别令人满意。You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
Note that Zip encryption algorithm is much less secure than that of ZipArchive and 7-Zip.
请注意,Zip加密算法的安全性远低于ZipArchive和7-Zip。
Ultimately it is up to you to decide which level of security is satisfactory.
最终由您决定哪个安全级别令人满意。
You can always opt out of backing up your database by disabling database backups in Centinel, and additionally, unchecking Database Routes Enabled in the settings.
您始终可以通过在Centinel中禁用数据库备份来选择不备份数据库,并且在设置中取消选中 Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
Database Routes Enabled code> Enabled(启用数据库路由) p>。 p>Authentication身份验证 h3>For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
For details check /app/Middleware/CentinelApiAuthorizeRequest.php middleware.
/app/Middleware/CentinelApiAuthorizeRequest.php
有关详细信息,请检查 /app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
/app/Middleware/CentinelApiAuthorizeRequest.php code>中间件。 p>License许可证 h3>WordPress Centinel API is open-sourced software licensed under the MIT license. WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
WordPress Centinel API is open-sourced software licensed under the MIT license.
WordPress Centinel API是根据 MIT许可许可的开源软件。 p>
/wp-content/plugins/centinel-api
/ wp-content / plugins / centinel-api code>目录,或直接通过WordPress插件屏幕安装插件 li>activate the plugin through the ‘Plugins’ screen in WordPress通过WordPress中的“插件”屏幕激活插件 li>
原文出处:http://www.sanshu.cn/a/6792.html
群主管理都是支付大佬