摘要:
CentOS基于NTP的时间同步(How) 1、安装ntp: yum install ntp 2、修改/etc/ntp.conf # Use public servers from the pool.ntp.org project. # Please consider joining the poo 阅读全文
随笔档案-2023年08月
Python3多线程并发写入数据到MongoDB
2023-08-22 14:34 by ndzj, 18 阅读, 收藏, 编辑
摘要:
!/usr/bin/python ! * coding:utf-8 * from pymongo import MongoClient import threading import time 连接单机 single mongo c = MongoClient(host="192.168.89.15 阅读全文