删除旧的内核版本
摘要:1、查看当前的内核版本 uname -sr 2、列出系统中所有的内核版本 dpkg -l | grep linux-image | awk '{print$2}' 3、删除不在使用的内核 sudo apt remove --purge linux-image-4.4.0-21-generic第4步会
阅读全文
posted @
2020-04-27 22:43
yeahle
阅读(624)
推荐(0)
zip
摘要:zip -re dest.zip destdir
阅读全文
posted @
2020-04-27 07:12
yeahle
阅读(126)
推荐(0)
linux之find忽略指定目录或者文件的查找方法
摘要:例1,根据文件属性查找: find . -type f -name "*config*" ! -path "./tmp/*" ! -path "./scripts/*" ! -path "./node_modules/*" Explanation: find . - Start find from
阅读全文
posted @
2020-04-19 20:24
yeahle
阅读(5039)
推荐(0)
Failed to enable unit: Refusing to operate on linked unit file mysql.service
摘要:在设置mysql开机启动时,出现了“Failed to enable unit: Refusing to operate on linked unit file mysql.service”,那么需要检测以下mysql是否设置过了开机启动, 方法为: sudo systemctl is-enable
阅读全文
posted @
2020-04-08 07:43
yeahle
阅读(7815)
推荐(0)
linux系统安装Mysql
摘要:需求 在树莓派上 安装Mysql 服务,并开启远程访问 步骤 安装 mysql server $ sudo apt-get install mysql-server 我以为中间会让我提示输入 数据库root的密码,没想到一帆风顺,直接完成,我要疯了,密码到底是什么了。通过搜索发现,可以使用如下命令,
阅读全文
posted @
2020-04-06 17:26
yeahle
阅读(165)
推荐(0)
makefile通用模板
摘要:########################################################### # # MAKEFILE FOR C/C++ PROJECT # Author: swm8023 <swm8023@gmail.com> # Date: 2014/01/30 #
阅读全文
posted @
2020-04-06 09:16
yeahle
阅读(477)
推荐(0)
makefile常用函数
摘要:1、 subst函数 格式:$(subst <from>, <to>, <text>)功能:把字串<text>中的<from>字符串替换成<to>返回:函数返回被替换过后的字符串。 示例: $(subst a,the,There is a big tree) 把“There is a big tre
阅读全文
posted @
2020-04-06 08:06
yeahle
阅读(253)
推荐(0)
mysqlconnector安装
摘要:源码安装 cmake . make sudo make install
阅读全文
posted @
2020-04-05 16:15
yeahle
阅读(1017)
推荐(0)