<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[公司扫地僧]]></title><description><![CDATA[扫地已成为一种生活态度……]]></description><link>https://blog.csdn.net/laotoumo</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; laotoumo]]></copyright><item><title><![CDATA[新版eclipse创建maven项目步骤]]></title><link>https://blog.csdn.net/laotoumo/article/details/146116348</link><guid>https://blog.csdn.net/laotoumo/article/details/146116348</guid><author>laotoumo</author><pubDate>Sat, 08 Mar 2025 14:44:19 +0800</pubDate><description><![CDATA[2、打开 Window-》preferences-》maven-》user settings-》，可以看到右侧user settings下默认的maven配置文件读取路径，但是该目录下默认是没有settings.xml文件的，需要复制一份到该目录（可以从网上下载或从Windows版maven conf目录下复制），3、项目src-》main-》webapp 下默认没有创建web.xml，右键项目，按下图，操作后webapp下多了WEB-INF和web.xml；10、新窗口按下图，选择-》Next；]]></description><category></category></item><item><title><![CDATA[vmtouch安装]]></title><link>https://blog.csdn.net/laotoumo/article/details/145824968</link><guid>https://blog.csdn.net/laotoumo/article/details/145824968</guid><author>laotoumo</author><pubDate>Mon, 24 Feb 2025 12:02:35 +0800</pubDate><description><![CDATA[在 struct sigaction sa = {0};中添加一层花括号，保存。执行make后遇到如下错误。]]></description><category></category></item><item><title><![CDATA[分片掉线恢复]]></title><link>https://blog.csdn.net/laotoumo/article/details/123173302</link><guid>https://blog.csdn.net/laotoumo/article/details/123173302</guid><author>laotoumo</author><pubDate>Mon, 28 Feb 2022 00:13:51 +0800</pubDate><description><![CDATA[curl -XPOST '192.168.1.101:9200/_cluster/reroute?pretty' -H 'Content-Type: application/json' -d'
{
  "commands" : [
    {
     "allocate_replica" : {
        "index" : "fragment", "shard" : 6,
        "node" : "node-107-0"
   ...]]></description><category></category></item><item><title><![CDATA[Error mounting /dev/sda4 , Metadata kept in Windows cache, refused to mount的解决方法]]></title><link>https://blog.csdn.net/laotoumo/article/details/122954233</link><guid>https://blog.csdn.net/laotoumo/article/details/122954233</guid><author>laotoumo</author><pubDate>Tue, 15 Feb 2022 23:25:12 +0800</pubDate><description><![CDATA[今天尝试mount读取Windows盘上的数据时，遇到了这个错误：


root@pityhero:/# mount -o rw /dev/sda4 /mnt
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe st]]></description><category></category></item><item><title><![CDATA[centos8安装中文字符集]]></title><link>https://blog.csdn.net/laotoumo/article/details/121847895</link><guid>https://blog.csdn.net/laotoumo/article/details/121847895</guid><author>laotoumo</author><pubDate>Fri, 10 Dec 2021 02:43:10 +0800</pubDate><description><![CDATA[yum install glibc-common
 yum install -y langpacks-zh_CN
 vim /etc/locale.conf   # 修改这个文件
    LANG=zh_CN.utf8
 source /etc/locale.conf 
]]></description><category></category></item><item><title><![CDATA[CentOS安装MySQL]]></title><link>https://blog.csdn.net/laotoumo/article/details/119425766</link><guid>https://blog.csdn.net/laotoumo/article/details/119425766</guid><author>laotoumo</author><pubDate>Thu, 05 Aug 2021 19:53:16 +0800</pubDate><description><![CDATA[(34条消息) CentOS7下使用YUM安装MySQL5.6_pengjunlee的博客-CSDN博客_centos7安装mysql5.6


]]></description><category></category></item><item><title><![CDATA[Centos多网卡设置网卡上网的优先级]]></title><link>https://blog.csdn.net/laotoumo/article/details/119381593</link><guid>https://blog.csdn.net/laotoumo/article/details/119381593</guid><author>laotoumo</author><pubDate>Wed, 04 Aug 2021 12:50:45 +0800</pubDate><description><![CDATA[踩坑：

网卡1连内网，网卡2连外网，配置没问题，死活上不了网，后面把网卡1关了，能上网了，初步怀疑是优先级的问题。

在机房割接前，一直口1连的外网，所以也没存在过问题。

解决：

设置路由的优先级。通过“IPV4_ROUTE_METRIC=0” 设置优先级，数值越低优先级越高

cat /etc/sysconfig/network-script/ifcfg-em2


IPADDR=
NETMASK=
GATEWAY=
DNS1=IPV4_ROUTE_METRIC=0
...]]></description><category></category></item><item><title><![CDATA[环境安装]]></title><link>https://blog.csdn.net/laotoumo/article/details/114987324</link><guid>https://blog.csdn.net/laotoumo/article/details/114987324</guid><author>laotoumo</author><pubDate>Thu, 18 Mar 2021 18:21:11 +0800</pubDate><description><![CDATA[https://cloud.tencent.com/document/product/213/38838



为已安装的MySQL8设置不区分大小写

1、停止MySQL

2、删除数据目录，即删除 /var/lib/mysql 目录、

3、在MySQL配置文件（ /etc/my.cnf ）中添加 lower_case_table_names=1

4、启动 MySQL
...]]></description><category></category></item><item><title><![CDATA[最新版本库设计]]></title><link>https://blog.csdn.net/laotoumo/article/details/113918466</link><guid>https://blog.csdn.net/laotoumo/article/details/113918466</guid><author>laotoumo</author><pubDate>Sun, 21 Feb 2021 15:10:13 +0800</pubDate><description><![CDATA[curl -XPUT 127.0.0.1:9200/category?pretty -d '
{
 "settings" : {
 "index" : {
 "number_of_shards" : 1,
 "number_of_replicas" : 0
 }
 },
 "mappings" : {
 "literature" : {
 "properties"...]]></description><category></category></item><item><title><![CDATA[es表设计]]></title><link>https://blog.csdn.net/laotoumo/article/details/102645897</link><guid>https://blog.csdn.net/laotoumo/article/details/102645897</guid><author>laotoumo</author><pubDate>Sun, 20 Oct 2019 09:19:35 +0800</pubDate><description><![CDATA[curl -XPUT 127.0.0.1:9200/l?pretty -d '
{
 "settings" : {
  "index" : {
   "number_of_shards" : 4 ,
   "number_of_replicas" : 0
  },
  "analysis": {
    ...]]></description><category></category></item><item><title><![CDATA[Linux CentOS 7 安装字体库 & 中文字体]]></title><link>https://blog.csdn.net/laotoumo/article/details/96701231</link><guid>https://blog.csdn.net/laotoumo/article/details/96701231</guid><author>laotoumo</author><pubDate>Sun, 21 Jul 2019 10:42:53 +0800</pubDate><description><![CDATA[前言

报表中发现有中文乱码和中文字体不整齐（重叠）的情况，首先考虑的就是操作系统是否有中文字体，在CentOS7中发现输入命令查看字体列表是提示命令无效：
如上图可以看出，不仅没有中文字体，连字体库都没有，那么接下来就记录一下在Linux CentOS 7中如何安装字体库以及中文字体。

 安装字体库

在CentOS 4.x开始用fontconfig来安装字体库，所以输入以下命令即可：
...]]></description><category></category></item><item><title><![CDATA[CentOS 7 为firewalld添加开放端口及相关资料]]></title><link>https://blog.csdn.net/laotoumo/article/details/88036474</link><guid>https://blog.csdn.net/laotoumo/article/details/88036474</guid><author>laotoumo</author><pubDate>Thu, 28 Feb 2019 17:15:01 +0800</pubDate><description><![CDATA[文章来源：https://www.cnblogs.com/hubing/p/6058932.html



1、运行、停止、禁用firewalld

启动：# systemctl start firewalld

查看状态：# systemctl status firewalld或者firewall-cmd --state

停止：# systemctl disable firewalld...]]></description><category></category></item><item><title><![CDATA[firewalld对指定IP开放指定端口的配置]]></title><link>https://blog.csdn.net/laotoumo/article/details/88036400</link><guid>https://blog.csdn.net/laotoumo/article/details/88036400</guid><author>laotoumo</author><pubDate>Thu, 28 Feb 2019 17:09:55 +0800</pubDate><description><![CDATA[文章来源：https://www.centos.bz/2018/08/firewalld%e5%af%b9%e6%8c%87%e5%ae%9aip%e5%bc%80%e6%94%be%e6%8c%87%e5%ae%9a%e7%ab%af%e5%8f%a3%e7%9a%84%e9%85%8d%e7%bd%ae/


1.打开firewalld防火墙


systemctl start firewa...]]></description><category></category></item><item><title><![CDATA[centos7 firewalld基本配置方法，集合和ipset配置]]></title><link>https://blog.csdn.net/laotoumo/article/details/88036325</link><guid>https://blog.csdn.net/laotoumo/article/details/88036325</guid><author>laotoumo</author><pubDate>Thu, 28 Feb 2019 17:07:58 +0800</pubDate><description><![CDATA[文章来源：https://blog.51cto.com/bjdongpengfei/2160221



说明：此规范分为两部分：一是，常规配置方法；二是集合配置方法
常规的配置方法是指对于端口，服务及源地址的限制方法
集合配置方法是针对于源地址和端口组合限制，但源地址是一个IP地址集合，此集合中可以任意添加IP地址及网段

一、常规配置方法：
1、端口限制
1）放开UDP 161/162端口
...]]></description><category></category></item><item><title><![CDATA[centos防火墙firewalld的一些命令（自用）]]></title><link>https://blog.csdn.net/laotoumo/article/details/88036247</link><guid>https://blog.csdn.net/laotoumo/article/details/88036247</guid><author>laotoumo</author><pubDate>Thu, 28 Feb 2019 17:07:05 +0800</pubDate><description><![CDATA[启动： systemctl start firewalld
查看状态： systemctl status firewalld
停止： systemctl disable firewalld
禁用： systemctl stop firewalld

永久开放一个端口
firewall-cmd --zone=public --add-port=80/tcp --permanent
  （--p...]]></description><category></category></item><item><title><![CDATA[自用服务器防火墙配置，代码自己用，对你没用，请忽略]]></title><link>https://blog.csdn.net/laotoumo/article/details/88036060</link><guid>https://blog.csdn.net/laotoumo/article/details/88036060</guid><author>laotoumo</author><pubDate>Thu, 28 Feb 2019 17:04:09 +0800</pubDate><description><![CDATA[放行端口 80，8080，8889（降），8888（本地网络服务器），9999（网络查）
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --zone=public --add-port=8...]]></description><category></category></item><item><title><![CDATA[查看linux物理内存数量及大小]]></title><link>https://blog.csdn.net/laotoumo/article/details/87228670</link><guid>https://blog.csdn.net/laotoumo/article/details/87228670</guid><author>laotoumo</author><pubDate>Thu, 14 Feb 2019 02:42:34 +0800</pubDate><description><![CDATA[dmidecode -t memory | grep Size: | grep -v &quot;No Module Installed&quot;
 ]]></description><category></category></item><item><title><![CDATA[ssh连接慢问题修复]]></title><link>https://blog.csdn.net/laotoumo/article/details/87228640</link><guid>https://blog.csdn.net/laotoumo/article/details/87228640</guid><author>laotoumo</author><pubDate>Thu, 14 Feb 2019 02:42:03 +0800</pubDate><description><![CDATA[修改以下两个参数

vi /etc/ssh/sshd_config


UseDNS no
GSSAPIAuthentication no

重启
systemctl restart sshd]]></description><category></category></item><item><title><![CDATA[centos开机启动文件]]></title><link>https://blog.csdn.net/laotoumo/article/details/83040951</link><guid>https://blog.csdn.net/laotoumo/article/details/83040951</guid><author>laotoumo</author><pubDate>Sat, 13 Oct 2018 18:26:10 +0800</pubDate><description><![CDATA[/etc/rc.d/rc.local

 

 

/etc/init.d/mysqld start
/etc/init.d/nginx start
/etc/init.d/php-fpm start
/etc/init.d/vsftpd start]]></description><category></category></item><item><title><![CDATA[代码自留地：小文件合并成大文件，需要配置BytesZip使用，java]]></title><link>https://blog.csdn.net/laotoumo/article/details/82777756</link><guid>https://blog.csdn.net/laotoumo/article/details/82777756</guid><author>laotoumo</author><pubDate>Wed, 19 Sep 2018 20:28:48 +0800</pubDate><description><![CDATA[
public class FileZip implements Serializable {
	String fileName = null;
	byte [] zipBytes = null;
	
	public FileZip(){
		
	}
	
	public FileZip(String fileName,byte [] zipBytes){
		this.fileName = fil...]]></description><category></category></item></channel></rss>