<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[SeaLong_的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/SeaLong_</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; SeaLong_]]></copyright><item><title><![CDATA[Linux 安装elasticSearch及其插件]]></title><link>https://blog.csdn.net/SeaLong_/article/details/114277410</link><guid>https://blog.csdn.net/SeaLong_/article/details/114277410</guid><author>SeaLong_</author><pubDate>Tue, 02 Mar 2021 11:46:25 +0800</pubDate><description><![CDATA[1.下载elasticSearch

下载地址：https://www.elastic.co/cn/downloads/past-releases#elasticsearch

2.上传到linux机器上

可以使用winSCP进行上传

winSCP下载地址：https://winscp.net/eng/download.php

3.解压elasticSearch文件并放到指定位置

tar -zxvf elasticsearch-6.8.4.tar.gz -C /usr/local/

4.修改ela]]></description><category></category></item><item><title><![CDATA[Linux安装RabbitMQ]]></title><link>https://blog.csdn.net/SeaLong_/article/details/111562762</link><guid>https://blog.csdn.net/SeaLong_/article/details/111562762</guid><author>SeaLong_</author><pubDate>Tue, 22 Dec 2020 18:12:39 +0800</pubDate><description><![CDATA[Linux安装RabbitMQ
准备一台Linux虚拟机，Linux7（CentOS 7）；配置最好再2G内存以上.
1. 首先在Linux上进行一些软件的准备工作，yum下来一些基础的软件包
yum install build-essential openssl openssl-devel unixODBC unixODBC-devel make gcc gcc-c++ kernel-devel
2. 下载RabbitMQ所需软件包（这里使用的是 RabbitMQ3.6.5 稳定版本）
wget www.]]></description><category></category></item><item><title><![CDATA[如何实现文件目录自动生成（Windows操作系统）]]></title><link>https://blog.csdn.net/SeaLong_/article/details/108995079</link><guid>https://blog.csdn.net/SeaLong_/article/details/108995079</guid><author>SeaLong_</author><pubDate>Sat, 10 Oct 2020 13:13:05 +0800</pubDate><description><![CDATA[首先介绍一下我的这个工具，是一个Excel文件，可以通过打开电脑目录的方式直接读取出该目录下的所有子目录和文件。

目录生成效果如下：


]]></description><category></category></item><item><title><![CDATA[shell32 获取音视频文件详细信息]]></title><link>https://blog.csdn.net/SeaLong_/article/details/108170976</link><guid>https://blog.csdn.net/SeaLong_/article/details/108170976</guid><author>SeaLong_</author><pubDate>Sat, 22 Aug 2020 16:59:41 +0800</pubDate><description><![CDATA[Function GetFileDuration(FolderSpec As String) As Date
'ÇëÔÚVBE/¹¤¾ß/ÒýÓÃÖÐ¹´Ñ¡¶ÔÓÚMICROSOFT SHELL CONTROLS AND AUTOMATION
  Dim SHL As New Shell32.Shell
  Dim SHFD As Shell32.Folder
  Dim F As Object
  Set SHFD = SHL.Namespace(FolderSpec)
  For...]]></description><category></category></item><item><title><![CDATA[将本地打包好的java 项目打包上传linux服务器并运行服务脚本]]></title><link>https://blog.csdn.net/SeaLong_/article/details/103858099</link><guid>https://blog.csdn.net/SeaLong_/article/details/103858099</guid><author>SeaLong_</author><pubDate>Mon, 06 Jan 2020 15:17:47 +0800</pubDate><description><![CDATA[#!/bin/bash
set -e

echo "step 0: make target artifact..."
#mvn install

lib_path=./target/kbsapi-0.0.1.jar
dest_libname=kbsapi-0.0.1.jar

echo "step 1: copy artifact to dest machine..."
scp "$lib_pat...]]></description><category></category></item><item><title><![CDATA[使用live-server踩过的坑]]></title><link>https://blog.csdn.net/SeaLong_/article/details/103402107</link><guid>https://blog.csdn.net/SeaLong_/article/details/103402107</guid><author>SeaLong_</author><pubDate>Thu, 05 Dec 2019 13:30:17 +0800</pubDate><description><![CDATA[首先要使用live-server这个工具必须先安装node和npm，这2个工具的安装方式请自行查找资料

1.安装live-server

在命令行中输入：npm install -g live-server

npm WARN deprecated opn@6.0.0: The package has been renamed to `open`
C:\Users\Administrator\A...]]></description><category></category></item><item><title><![CDATA[Linux 安装git 以及安装过程中所遇到的问题和解决方案]]></title><link>https://blog.csdn.net/SeaLong_/article/details/103399502</link><guid>https://blog.csdn.net/SeaLong_/article/details/103399502</guid><author>SeaLong_</author><pubDate>Thu, 05 Dec 2019 11:40:20 +0800</pubDate><description><![CDATA[1.安装依赖

# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel 

# yum install gcc perl-ExtUtils-MakeMaker

2.下载git

# cd /usr/src 

# wget https://github.com/git/git/archive/...]]></description><category></category></item><item><title><![CDATA[Linux系统下安装Java环境（centos）]]></title><link>https://blog.csdn.net/SeaLong_/article/details/103260335</link><guid>https://blog.csdn.net/SeaLong_/article/details/103260335</guid><author>SeaLong_</author><pubDate>Tue, 26 Nov 2019 17:22:13 +0800</pubDate><description><![CDATA[1.准备工作

    Linux系统版本：CentOS 7 64位

    文件传输工具：WinSCP

    jdk：jdk-8u221-linux-x64.tar.gz

2.使用WinSCP将jdk至目标电脑的/usr/local目录下，如图所示



3.解压jdk

使用命令：tar -zxvf jdk-8u221-linux-x64.tar.gz


...]]></description><category></category></item><item><title><![CDATA[Cors配置文件，解决跨域问题]]></title><link>https://blog.csdn.net/SeaLong_/article/details/103005010</link><guid>https://blog.csdn.net/SeaLong_/article/details/103005010</guid><author>SeaLong_</author><pubDate>Mon, 11 Nov 2019 09:24:08 +0800</pubDate><description><![CDATA[@Configuration
public class GlobalCorsConfig {
    @Bean
    public CorsFilter corsFilter() {
        //1、 添加Cors配置信息
        CorsConfiguration config = new CorsConfiguration();
        //1)、允许的域，不要写...]]></description><category></category></item><item><title><![CDATA[SpringBoot 创建自定义异常]]></title><link>https://blog.csdn.net/SeaLong_/article/details/102794418</link><guid>https://blog.csdn.net/SeaLong_/article/details/102794418</guid><author>SeaLong_</author><pubDate>Tue, 29 Oct 2019 11:41:39 +0800</pubDate><description><![CDATA[-----------------------------------------自定义异常类------------------------------------------
// 自定义异常类
@NoArgsConstructor
@AllArgsConstructor
@Getter
public class MyException extends RuntimeException {
...]]></description><category></category></item><item><title><![CDATA[linux 自动启动nginx服务脚本文件]]></title><link>https://blog.csdn.net/SeaLong_/article/details/94402630</link><guid>https://blog.csdn.net/SeaLong_/article/details/94402630</guid><author>SeaLong_</author><pubDate>Mon, 01 Jul 2019 18:29:05 +0800</pubDate><description><![CDATA[#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig:  - 85 15
# description: NGINX is an HTTP(S) server, HTTP(S) reverse \
#        proxy and IMAP/POP3 proxy se...]]></description><category></category></item><item><title><![CDATA[用VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法]]></title><link>https://blog.csdn.net/SeaLong_/article/details/94390664</link><guid>https://blog.csdn.net/SeaLong_/article/details/94390664</guid><author>SeaLong_</author><pubDate>Mon, 01 Jul 2019 14:34:02 +0800</pubDate><description><![CDATA[在虚拟机centos7上安装nginx之后虚拟机内能访问，真机不能访问，此时需要打开虚拟机的80端口，开放端口的方法如下：



firewall-cmd --zone=public --add-port=80/tcp --permanent



命令含义：

–zone #作用域

–add-port=80/tcp #添加端口，格式为：端口/通讯协议

–permanent #永久生效，没...]]></description><category></category></item><item><title><![CDATA[mybatis的动态查询]]></title><link>https://blog.csdn.net/SeaLong_/article/details/93195076</link><guid>https://blog.csdn.net/SeaLong_/article/details/93195076</guid><author>SeaLong_</author><pubDate>Fri, 21 Jun 2019 15:14:42 +0800</pubDate><description><![CDATA[1.if 语句的使用
&lt;select id="findPagedMedicines" resultType="Medicine"&gt;
    select *
    from vw_medicine where 1=1
    &lt;!--药名--&gt;
    &lt;if test="type=='1'.toString()"&gt;
        and medicine...]]></description><category></category></item><item><title><![CDATA[阿里云发送短信实例]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90786754</link><guid>https://blog.csdn.net/SeaLong_/article/details/90786754</guid><author>SeaLong_</author><pubDate>Tue, 04 Jun 2019 17:35:09 +0800</pubDate><description><![CDATA[package com.leyou.demo;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsRequest;
import com.aliyuncs.dysmsapi.model....]]></description><category></category></item><item><title><![CDATA[nginx服务转发配置的主要内容]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90761077</link><guid>https://blog.csdn.net/SeaLong_/article/details/90761077</guid><author>SeaLong_</author><pubDate>Mon, 03 Jun 2019 23:40:24 +0800</pubDate><description><![CDATA[server {
    listen    80;# 监听80端口
    server_name manage.leyou.com; #转发manage.leyou.com

    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host...]]></description><category></category></item><item><title><![CDATA[引用了lombok.Data包，但是不起效，这是为什么？]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90724937</link><guid>https://blog.csdn.net/SeaLong_/article/details/90724937</guid><author>SeaLong_</author><pubDate>Sat, 01 Jun 2019 00:36:05 +0800</pubDate><description><![CDATA[我明明是引用了lombok.Data，但是为什么还是不起效，没有getter和setter方法



原因在于我的intell Idea没有安装lombok的插件，安装步骤：

ctrl + alt + S 打开设置界面，可以看到，我的IDE中是没有安装该插件的，因为没有搜索到，点击Search in repositories



输入lombok，选择如下图所示的版本，点击Install...]]></description><category></category></item><item><title><![CDATA[Linux服务器上搭建svn服务器]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90667407</link><guid>https://blog.csdn.net/SeaLong_/article/details/90667407</guid><author>SeaLong_</author><pubDate>Wed, 29 May 2019 12:03:13 +0800</pubDate><description><![CDATA[1. 使用yum安装svn

使用yum安装svn，命令如下：


yum -y install subversion

安装完成之后，验证安装结果





2. 新建仓库目录

在/opt目录下面创建一个svn目录，用来作为svn存储目录，命令如下：


mkdir  /opt/svn

3. 创建一个仓库

执行如下命令，创建一个仓库：


svnadmin create /opt/svn...]]></description><category></category></item><item><title><![CDATA[JDBC链接]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90576635</link><guid>https://blog.csdn.net/SeaLong_/article/details/90576635</guid><author>SeaLong_</author><pubDate>Sun, 26 May 2019 15:35:31 +0800</pubDate><description><![CDATA[public static void main(String[] args) throws Exception {
    //连接JDBC的步骤
    //1.注册驱动
    DriverManager.registerDriver(new com.mysql.jdbc.Driver());
    //2.获取连接
    Connection connection = DriverMa...]]></description><category></category></item><item><title><![CDATA[mybatis 注解开发之（多表查询的一对一及一对多查询）]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90546837</link><guid>https://blog.csdn.net/SeaLong_/article/details/90546837</guid><author>SeaLong_</author><pubDate>Sat, 25 May 2019 15:36:25 +0800</pubDate><description><![CDATA[---------------主表Account所对应的dao文件--------------------




package com.sealong.dao;

import com.sealong.domain.Account;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.FetchT...]]></description><category></category></item><item><title><![CDATA[mybatis 注解开发]]></title><link>https://blog.csdn.net/SeaLong_/article/details/90517647</link><guid>https://blog.csdn.net/SeaLong_/article/details/90517647</guid><author>SeaLong_</author><pubDate>Fri, 24 May 2019 16:26:49 +0800</pubDate><description><![CDATA[---------------mybatis configuration 配置文件------------------


&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;!DOCTYPE configuration
        PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
        "http...]]></description><category></category></item></channel></rss>