logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

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

到底了