随笔分类 - Linux-Basic
摘要:1、官网 官网http://www.squid-cache.org/linux 2、代理服务器 正向代理:客户端(内网) >squid >服务器centos 反向代理:服务器 >squid >客户端(内网) 3、dockerhub https://hub.docker.com/r/ubuntu/sq
阅读全文
摘要:1、国内各大yum源 阿里源 https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.3e221b11G5ZGvj 2、备份本机yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/y
阅读全文
摘要:1、安装 sudo apt-get install stress sudo apt-get install stress-ng 2、查看cpu,内存,硬盘方法 # 查看cpu个数 cat /proc/cpuinfo # 查看内存大小 cat /proc/meminfo # 查看磁盘大小 df -h
阅读全文
摘要:1、问题 使用netstat报错command not found 2、处理 主要是因为没有安装 yum install net-tools 参考链接: https://blog.csdn.net/huangbaokang/article/details/88417221
阅读全文
摘要:1、安装 sudo apt-get update sudo apt-get install -y linux-tools-$(uname -r) sudo apt-get install stress 2、命令介绍 stress --help `stress' imposes certain typ
阅读全文
摘要:1、官网 https://sonic-cloud.gitee.io/#/Deploy 2、github https://github.com/SonicCloudOrg 3、下载 https://download.sonic-cloud.wiki/sonic/sonic-server/v1.5.0-
阅读全文
摘要:1、 kubeasz https://github.com/easzlab/kubeasz 2、文档 https://github.com/easzlab/kubeasz/tree/master/docs 3、quickstart https://github.com/easzlab/kubeasz
阅读全文
摘要:1、使用ip addr查看ip 2、查看路由 3、设置开机启动 vi /etc/sysconfig/network-scripts/ifcfg-ens33 ONBOOT=yes TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhc
阅读全文
摘要:1、 创建命令空间 kubectl create namespace test 2、编辑 nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx namespace: test labels:
阅读全文
摘要:1、dashboard官网 https://github.com/kubernetes/dashboard/releases 2、安装(k8s-v1.23.1) kubernetes-dashboard.yaml apiVersion: v1 kind: Secret metadata: label
阅读全文
摘要:1、问题 在执行一键安装k8s, ssh到其他节点更新apt源, 我手动执行update的时候,报的这个错 2、处理方法 ps aux|grep apt 找出对应的进程id, 然后kill sudo kill 3374 重新执行更新即可 参考链接: https://blog.csdn.net/ABC
阅读全文
摘要:1、问题 配置静态IP时,报错Failed to restart network.service: Unit network.service not found. 2、解决办法 sudo apt-get install network-manager 参考链接: https://blog.csdn.
阅读全文
摘要:1、设置root密码 使用具有root权限的账户执行 sudo passwd root 2、配置远程ssh访问 sudo apt-get install openssh-server 编辑配置文件 sudo vim /etc/ssh/sshd_config 修改或添加PermitRootLogin
阅读全文
摘要:1、官网 https://kubernetes.io/zh-cn/ 2、github https://github.com/kubernetes/kubernetes 3、文档 Kubernetes Documentation | Kubernetes 二进制下载 Download Kubernet
阅读全文
摘要:1、环境 OSX 12.5 Java8 vscode 2、脚本 JavaCvCameraTest.java import javax.swing.JFrame; import org.bytedeco.ffmpeg.global.avcodec; import org.bytedeco.javacp
阅读全文
摘要:1、环境 python3 OSX 12.5 vscode 2、安装ffmpeg brew install ffmpeg 3、安装cv2 pip install opencv-python # or pip --default-timeout=100 install opencv-python -i
阅读全文
摘要:1、安装ffmpeg brew install ffmpeg 2、查看本机设备 ffmpeg -devices % ffmpeg -devices ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers built with
阅读全文
摘要:参考链接: http://events.jianshu.io/p/2405999c7c88
阅读全文
摘要:1、nginx http://nginx.org/en/ 2、docker-hub https://hub.docker.com/r/alqutami/rtmp-hls https://hub.docker.com/_/nginx 3、github https://github.com/TareqA
阅读全文
摘要:1、docker hub https://hub.docker.com/_/nginx 2、安装 默认配置安装 docker run --name nginx -d nginx 指定端口安装 docker run --name nginx -d -p 8080:80 nginx 文件映射主机安装 #
阅读全文

浙公网安备 33010602011771号