logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Failed to connect to API Server “192.168.31.197:6443“: Get https://192.168.31.197:6443/api/v1/namesp

node加入的时候出现这个错误Failed to connect to API Server "192.168.31.197:6443": Get https://192.168.31.197:6443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s: dial tcp 192.168.31.197:6443: c

#kubernetes
树莓派连接手机热点,电脑连接手机热点,电脑通过ssh连接树莓派的方法

今天折腾了一上午,终于搞定了。其实难度就是在于如何从手机上找到连入设备的IP地址。电脑的好说,你可以先用别的手机连接你的现有手的热点,查出你热点手机的IP地址了,然后你在用你的电脑去ipconfig/all,看看和你手机的前三个段是一样的ip就是你连接你手机WiFi以后分分配的ip地址了,然后树莓派的ip地址,可以这样看,就是先用网线和路由,然后通过VNC进入图形界面,然后点击那个WiFi的

#ssh
openstack user list: Missing value auth-url required for auth plugin password

$ openstack user listMissing value auth-url required for auth plugin password出现这个错误,主要是因为环境变量的问题。你只需要进入到/opt/stack/devstack/accrc/admin下。然后source 一下 admin这个文件即可:source admin#或者 .admin这里主要是说一下source的作用

#openstack
docker容器中不能上网的一种解决方法

After A LOT of time trying to solve this issue I think I finallyfound a solution in an ebook I found on the internet.Here's the steps I took to solve the issue:$ sudo service docker stop$ sudo nano /e

ubuntu删除内核,安装内核方法

删除内核:1.dpkg --get-selections | grep linux #查看自己已经安装的内核有那些比如我想卸载linux-headers-4.15.0-128-lowlatency,那么接下来用这个命令卸载:2.sudo apt-get purge linux-headers-4.15.0-128-lowlatency linux-image-4.15.0-128-lowlaten

#ubuntu
利用python上传下载ftp服务器中的数据

下载:#!/usr/bin/env python# coding=utf-8from ftplib import FTPlocalhost = "your_ip_address"port = 21ftp = FTP()ftp.set_debuglevel(2)ftp.connect(localhost,port)ftp.login("ftp_username","ftp_pswd")ftp.cwd

EnvironmentError: mysql_config not found

if meet the error when you :pip install mysql-pythonthen you can use this to solve your problem:sudo apt-get install libmysqlclient-dev

到底了