<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[啊鹏的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_36511527</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_36511527]]></copyright><item><title><![CDATA[【仅需一步，1分钟极速开服】幻兽帕鲁保姆级教程]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/135980656</link><guid>https://blog.csdn.net/weixin_36511527/article/details/135980656</guid><author>weixin_36511527</author><pubDate>Thu, 01 Feb 2024 19:15:33 +0800</pubDate><description><![CDATA[引子：本教程分为两部分。一、开服教程。二、如何登录游戏（第一次接触游戏，如何玩）]]></description><category></category></item><item><title><![CDATA[【仅需一步，1分钟极速开服】幻兽帕鲁新手保姆级教程]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/135980450</link><guid>https://blog.csdn.net/weixin_36511527/article/details/135980450</guid><author>weixin_36511527</author><pubDate>Thu, 01 Feb 2024 19:04:42 +0800</pubDate><description><![CDATA[本教程分为两部分。一、开服教程。二、如何登录游戏（第一次接触游戏，如何玩）]]></description><category></category></item><item><title><![CDATA[linux监控进程停止后自动启动]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/133028345</link><guid>https://blog.csdn.net/weixin_36511527/article/details/133028345</guid><author>weixin_36511527</author><pubDate>Tue, 19 Sep 2023 14:33:09 +0800</pubDate><description><![CDATA[写到定时任务里，每分钟检测一次。]]></description><category></category></item><item><title><![CDATA[inode磁盘满了清理]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/112796214</link><guid>https://blog.csdn.net/weixin_36511527/article/details/112796214</guid><author>weixin_36511527</author><pubDate>Mon, 18 Jan 2021 22:14:46 +0800</pubDate><description><![CDATA[inode译成中文就是索引节点，每个存储设备（例如硬盘）或存储设备的分区被格式化为文件系统后，应该有两部份，一部份是inode，另一部份是Block，Block是用来存储数据用的。而inode呢，就是用来存储这些数据的信息，这些信息包括文件大小、属主、归属的用户组、读写权限等。inode为每个文件进行信息索引，所以就有了inode的数值。操作系统根据指令，能通过inode值最快的找到相对应的文件。
这台服务器的Block虽然还有剩余，但inode已经用满，因此在创建新目录或文件时，系统提示磁盘空间不足。
排]]></description><category></category></item><item><title><![CDATA[Linux 递归批量删除文件夹或文件的命令]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/108301842</link><guid>https://blog.csdn.net/weixin_36511527/article/details/108301842</guid><author>weixin_36511527</author><pubDate>Sun, 30 Aug 2020 00:24:52 +0800</pubDate><description><![CDATA[递归批量删除文件夹：

   命令： find . -name svn -type d -print -exec rm -rf {} \;

   说明：

  （1）‘.’意思是从当前目录开始递归查找；

  （2） '-name svn' -name 指令是申明根据名称查找，本例中是查找所有以 svn 命名的文件夹；

  （3）‘-type d’ -type 指明查找的类型，本例中 指明查找的类型为目录d；

  （4） '-print' 输出查找到的目录名；
...]]></description><category></category></item><item><title><![CDATA[记一次数据库被删，使用mysql binlog恢复数据库]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106907243</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106907243</guid><author>weixin_36511527</author><pubDate>Mon, 22 Jun 2020 18:25:54 +0800</pubDate><description><![CDATA[前提：客户将服务器权限交给了陌生人，导致数据库被删。

1、进入服务器内找到了昨天的mysql-bin文件，可以看见下面一个已经被删掉后的mysql-bin文件，已经空了



2、执行命令导出文件查看用以恢复


/www/server/mysql/bin/mysqlbinlog /www/server/data/mysql-bin.000005 &gt; /root/1.sql


3、查看这个文件的开头


more /root/1.sql




4、查看文件结尾，这个命令是倒数50行


tai.]]></description><category></category></item><item><title><![CDATA[配置自动启动]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106851241</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106851241</guid><author>weixin_36511527</author><pubDate>Fri, 19 Jun 2020 10:32:03 +0800</pubDate><description><![CDATA[配置自动启动，在服务器上打开文件 vi /etc/rc.d/rc.local 在文件最后添加 /etc/init.d/xxx start 保存退出，在命令行输入 chmod +x /etc/rc.d/rc.local 设置脚本文件可执行权限；
]]></description><category></category></item><item><title><![CDATA[unzip 解压指定的文件或者文件夹命令]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106805795</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106805795</guid><author>weixin_36511527</author><pubDate>Wed, 17 Jun 2020 14:03:37 +0800</pubDate><description><![CDATA[解压文件夹：unzip压缩文件名.zip “*/目录名/*.*” -d 目标文件夹名字

解压指定的文件：unzip 压缩文件名.zip “*/文件名.后缀” -d 目标文件夹名字



亲测解压指定的文件操作：

解压/www/ceshi.zip 里面的/web/a/b/cloud.php 到/www/1目录


[root@izbpifhz ~]# unzip /www/ceshi.zip "*/cloud.php" -d /www/1
Archive: /www/ceshi.zip
 in...]]></description><category></category></item><item><title><![CDATA[修改默认PHP版本(宝塔)]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106802084</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106802084</guid><author>weixin_36511527</author><pubDate>Wed, 17 Jun 2020 10:30:03 +0800</pubDate><description><![CDATA[处理掉以前的


rm -f /usr/bin/php

引用你想要的版本


ln -sf /www/server/php/72/bin/php /usr/bin/php
]]></description><category></category></item><item><title><![CDATA[linux挂载数据盘]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106491723</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106491723</guid><author>weixin_36511527</author><pubDate>Tue, 02 Jun 2020 10:57:29 +0800</pubDate><description><![CDATA[fdisk -l

fdisk /dev/vdb

n

p

1

mkfs.ext4 /dev/vdb1

echo /dev/vdb1 /www ext4 defaults 0 0&gt;&gt; /etc/fstab
]]></description><category></category></item><item><title><![CDATA[Linux命令：查看某个文件指定行信息（前n行，后n行）]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/106109153</link><guid>https://blog.csdn.net/weixin_36511527/article/details/106109153</guid><author>weixin_36511527</author><pubDate>Wed, 13 May 2020 23:07:30 +0800</pubDate><description><![CDATA[查看文件所有内容（如果太长一般只显示后面一部分）cat filename.txt

查看文件前100行cat filename.txt | head -n 100

查看文件后50行cat filename.txt | tail -n 50

从1000行开始显示，也就是显示1000行以后的tail -n +1000

显示1000行到3000行内容cat filename.txt |head -n 3000 | tail -n +1000

从第3000行开始，显示1000行，也...]]></description><category></category></item><item><title><![CDATA[Access denied； you need (at least one of) the SUPER privilege(s) for this operation]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/105064242</link><guid>https://blog.csdn.net/weixin_36511527/article/details/105064242</guid><author>weixin_36511527</author><pubDate>Tue, 24 Mar 2020 09:33:56 +0800</pubDate><description><![CDATA[导入阿里云数据库报错

ERROR 1227 (42000) at line 85511: Access denied; you need (at least one of) the SUPER privilege(s) for this operation

需要root权限，但是阿里云没有，所以需要删除sql文件内的设置

cd至sql文件目录，查询DEFINER


[root@izbp1f...]]></description><category></category></item><item><title><![CDATA[nfs]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/103342810</link><guid>https://blog.csdn.net/weixin_36511527/article/details/103342810</guid><author>weixin_36511527</author><pubDate>Mon, 02 Dec 2019 09:05:15 +0800</pubDate><description><![CDATA[Dec 01 06:19:12 iZ2zef2lpf67qo7tbnrwlaZ systemd[1]: rpcbind.socket failed to listen on sockets: Address family not supported by protocol
Dec 01 06:19:12 iZ2zef2lpf67qo7tbnrwlaZ systemd[1]: Failed to l...]]></description><category></category></item><item><title><![CDATA[一次inodes占用过多问题的解决]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/103246509</link><guid>https://blog.csdn.net/weixin_36511527/article/details/103246509</guid><author>weixin_36511527</author><pubDate>Mon, 25 Nov 2019 21:47:56 +0800</pubDate><description><![CDATA[最近收到某台服务器告警，inodes使用过高，解决过程如下
首先在服务器上执行下面的命令查看哪个目录下inodes使用过高

[root@vm]# df -i
Filesystem       Inodes IUsed   IFree IUse% Mounted on
/dev/mapper/VGSYS-lv_root
            65536...]]></description><category></category></item><item><title><![CDATA[rsync文件同步]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/103034936</link><guid>https://blog.csdn.net/weixin_36511527/article/details/103034936</guid><author>weixin_36511527</author><pubDate>Tue, 12 Nov 2019 17:46:54 +0800</pubDate><description><![CDATA[不同服务器 rsync -av --delete /www/wwwroot/ root@112.124.25.18:/www/wwwroot


-a 归档模式，表示以递归方式传输文件，并保持所有文件属性

-v 详细输出模式

--delete 删除那些接收端还有而发送端已经不存在的文件



同一服务器 限速 ，比如2M rsync -a --delete --bwlimit=...]]></description><category></category></item><item><title><![CDATA[磁盘测速]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/102992370</link><guid>https://blog.csdn.net/weixin_36511527/article/details/102992370</guid><author>weixin_36511527</author><pubDate>Sat, 09 Nov 2019 21:52:16 +0800</pubDate><description><![CDATA[time dd if=/dev/zero of=/www/wwwroot/default/1 bs=8k count=1024

]]></description><category></category></item><item><title><![CDATA[显示文件X行到Y行的内容]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/102658253</link><guid>https://blog.csdn.net/weixin_36511527/article/details/102658253</guid><author>weixin_36511527</author><pubDate>Mon, 21 Oct 2019 10:12:20 +0800</pubDate><description><![CDATA[显示文件X行到Y行的内容：
#sed -n 'x,yp'filename
]]></description><category></category></item><item><title><![CDATA[搜索文件内容]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/101295993</link><guid>https://blog.csdn.net/weixin_36511527/article/details/101295993</guid><author>weixin_36511527</author><pubDate>Tue, 24 Sep 2019 17:19:25 +0800</pubDate><description><![CDATA[grep -rnR "内容" *
]]></description><category></category></item><item><title><![CDATA[lnmp ftp 改密码]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/101288808</link><guid>https://blog.csdn.net/weixin_36511527/article/details/101288808</guid><author>weixin_36511527</author><pubDate>Tue, 24 Sep 2019 15:46:23 +0800</pubDate><description><![CDATA[[root@localhost bin]#  /usr/local/pureftpd/bin/pure-pw passwd test   #修改密码
Password: 
Enter it again: 
[root@localhost bin]# /usr/local/pureftpd/bin/pure-pw mkdb        #生成数据库文件
...]]></description><category></category></item><item><title><![CDATA[wget 保存链接的目录并且批量下载]]></title><link>https://blog.csdn.net/weixin_36511527/article/details/101270153</link><guid>https://blog.csdn.net/weixin_36511527/article/details/101270153</guid><author>weixin_36511527</author><pubDate>Tue, 24 Sep 2019 10:48:12 +0800</pubDate><description><![CDATA[[root@izuf63ecxesxv11lv7d02z 2]# cd/root/2

[root@izuf63ecxesxv11lv7d02z 2]# cat /root/2/download.txt
https://he.oss-cn-shanghai.aliyuncs.com/images/165/2018/10/1.jpg
https://he.oss-cn-shanghai.aliyu...]]></description><category></category></item></channel></rss>