麒麟版本, 功能很少, 很旧
其他版本
最新推荐官方网站版本微信linux版本-x86
sudo dpkg -i xxxx.deb
作者文章归档:陈海峰
更新本地时区问题
echo "Asia/Shanghai" > /etc/timezone && apt install -y tzdata && rm -f /etc/localtime && ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
django里面设置
TIME_ZONE = 您可以使用以下列表中的任何一个源镜像只要往您的 /etc/apt/sources.list 文件中像下面这样添加一行:
# 关键
deb http://ftp.de.debian.org/debian sid main
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main con解决下载慢问题
# define an alias for the specific python version used in this file.
FROM python:3.11.3-slim-bullseye as python
# Python build stage
FROM python as python-build-stage
ARG BUILD_ENVIRONMENT=local
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.from typing import Any, List, Optional
from pydantic import BaseModel, Field, Json
class BarModel(BaseModel):
whatever: int
class FooBarModel(BaseModel):
banana: Optional[float] = 1.1
foo: str = Field(serialization_alias='foo_alias')
bar: BarModel
m = Foo



(base) chf@chf:~$ cat /proc/version
Linux version 6.1.0-25-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26)
# 登陆超级管理员
su
xxxxxxdocker pull registry
# docker run -d -p 5000:5000 --restart always --name registry registry
修改docker配置文件
vim /etc/docker/daemon.json
修改内容insecure-registries为
{
"registry-mirrors": [
docker-compose.yml - Dhudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION=true这里的作用的安装ssh插件时不进行csrf认证 - 需要给Local的jenkins_home设置 chown -R 1000 ./jenkins_home
version: '3'
services:
jenkins:
image: jenkins/jenkins
ports: {
"port": "3000",
"adminAccount": "1743309009@qq.com",
"timeout":120000,
"db": {
"servername": "mongo",
"DATABASE": "yapi",
"hroot@debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary ne