02 2022 档案

摘要:Cockpit是一个开源的Linux服务器的web管理工具。 官方项目地址为:https://cockpit-project.org/ 安装 yum install cockpit 简单配置和访问 启用cockpit.socket服务,用于运行web服务器,并设置为开机启动 systemctl st 阅读全文
posted @ 2022-02-22 18:39 荒野游侠 阅读(2648) 评论(0) 推荐(1) 编辑
摘要:# -*- coding:utf-8 -*- import threading import time class Producer(threading.Thread): # 生产者函数,重写run()方法 def run(self): global count while True: if con 阅读全文
posted @ 2022-02-10 14:32 荒野游侠 阅读(135) 评论(0) 推荐(0) 编辑
摘要:代码段1: 1 # -*-coding:utf-8 -*- 2 from threading import Thread, BoundedSemaphore 3 from datetime import datetime 4 import time 5 6 # 定义一个函数 7 def showti 阅读全文
posted @ 2022-02-06 00:36 荒野游侠 阅读(59) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示