logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Shell—PXE手动一键部署

#/bin/bash#安装依赖yum install -yxinetd tftp-server vsftpd syslinux system-config-kickstart &> /dev/nullsystemctl stop firewalldsetenforce 0#TFTP配置tftpconf="/etc/xinetd.d/tftp"sed -i "/[\t]di/s/yes

#linux#centos
docker容器拉取文件夹/文件到本地

docker ps | grep ×docker cp 容器号:/路径 /本地路径

#linux#centos#docker +2
mysql8—三主集群

mysql8—三主集群

#mysql
mysql报错3009_ERROR 3009 (HY000)未升级数据结构

问题:mysql> grant all privileges on *.* to 'lvhanzhi'@'%' identified by 'Bgx123.com';ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50560, now runn

#mysql#数据结构#数据库
VM虚拟机添加第二块网卡设置连接

一般在vmware安装虚拟机只是默认的一块网卡,不过实验需要双网卡,添加后配置文件没有,这个可以复制,问题是添加的网卡uuid不知道,这里我写上解决的步骤:cd /etc/sysconfig/network-scriptscp ifcfg-eth0 ifcfg-eth1把eth1的uuid,MAC这两行删了,这个是ifcfg-eth0的配置DEVICE=eth0HWADDR=00:0C:29:76

kubectl安装

1)使用以下命令下载最新版本:curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"2)验证二进制文件(可选)下载 kubectl 校验和文件:curl -LO "https://dl.k8s.io/$(curl -L -s htt

#服务器#linux#运维
到底了