摘要:
一,报错: {"index":{"_index":"my_office","_id":"48","status":400 ,"error":{"type":"document_parsing_exception","reason":"[1:1123] failed to parse field [p 阅读全文
posted @ 2024-08-06 16:34
刘宏缔的架构森林
阅读(282)
评论(0)
推荐(0)
摘要:
一,使用-u参数指定用户: 1,添加编辑命令时指定用户 # -e : 编辑 # -u : 指定用户名 root@lhdpc:/data/api# crontab -e -u www-data crontab: installing new crontab 2,查看cron中命令时指定用户: # -l 阅读全文
posted @ 2024-08-06 15:29
刘宏缔的架构森林
阅读(1082)
评论(0)
推荐(1)
摘要:
一,真实用户id和有效用户id的区别: 1, 真实用户 ID (RUID) 是启动进程的用户的 ID 2,有效用户 ID (EUID) 是当前执行进程的用户 ID 即:进程启动时的用户id是真实用户 ID (RUID), 但实际执行时为了控制权限会切换为:有效用户 ID 二,代码:切换用户和组的有效 阅读全文
posted @ 2024-08-06 15:05
刘宏缔的架构森林
阅读(99)
评论(0)
推荐(0)
摘要:
一,代码: <?php namespace App\Console\Commands; use Illuminate\Console\Command; class IndexAllCommand extends Command { /** * The name and signature of th 阅读全文
posted @ 2024-08-06 10:18
刘宏缔的架构森林
阅读(27)
评论(0)
推荐(0)
摘要:
一,创建command 1,执行命令 liuhongdi@lhdpc:/data/api$ php artisan make:command IndexAllCommand 2,查看创建的文件: <?php namespace App\Console\Commands; use Illuminate 阅读全文
posted @ 2024-08-06 09:57
刘宏缔的架构森林
阅读(261)
评论(0)
推荐(0)
浙公网安备 33010602011771号