摘要:
# 创建索引,优化查询速度 # 查看索引 > db.enter_room.getIndexes() [ { "v" : 2, "key" : { "_id" : 1 }, "name" : "_id_", "ns" : "room.enter_room" } ] # 创建索引 > db.enter_ 阅读全文
posted @ 2021-07-30 14:35
LiShiChao
阅读(447)
评论(0)
推荐(0)
摘要:
#!/bin/bash username=$1 # 创建用户 ansible all -m shell -a "useradd $username" # 设置密码 ansible all -m shell -a "echo '123456'|passwd --stdin $username" # 推 阅读全文
posted @ 2021-07-30 11:17
LiShiChao
阅读(63)
评论(0)
推荐(0)

浙公网安备 33010602011771号