<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[xiaochende02的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/xiaochende02</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; xiaochende02]]></copyright><item><title><![CDATA[CenterOS下安装docker]]></title><link>https://blog.youkuaiyun.com/xiaochende02/article/details/102541467</link><guid>https://blog.youkuaiyun.com/xiaochende02/article/details/102541467</guid><author>xiaochende02</author><pubDate>Mon, 14 Oct 2019 09:21:21 +0800</pubDate><description><![CDATA[1.检查服务当前内核

内核需要大于3.10才行


命令： uname -r

2.使用 sudo 或 root 权限的用户登入终端



3.确保yum是最新的


命令： yum update

4.添加docker yum 仓库


命令： 
tee /etc/yum.repos.d/docker.repo &lt;&lt;-'EOF'
[dockerrepo]
name=Docker ...]]></description><category></category></item><item><title><![CDATA[Linux下Jar和tomcat进程关闭自动重启脚本设置]]></title><link>https://blog.youkuaiyun.com/xiaochende02/article/details/95860136</link><guid>https://blog.youkuaiyun.com/xiaochende02/article/details/95860136</guid><author>xiaochende02</author><pubDate>Sun, 14 Jul 2019 10:25:21 +0800</pubDate><description><![CDATA[在linux上部署的时候，有时候程序异常了，会导致jar或者tomcat进程自定关闭了，这时候想要它自动重启怎么办。

1.启动jar的shell脚本


#!/bin/bash 
#判断查看进程中8080端口是否存在
if [ "$(netstat -tlnp|grep 8080|grep -v grep|wc -l)" == 0 ] 
then
 #输出
 echo "Sta...]]></description><category></category></item></channel></rss>