![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
A股慈善家
金融鬼才
展开
-
nginx+keepalived 主备搭建记录
nginx安装 1.软件安装 nginx version: nginx/1.16.1 nginx安装的服务器: 192.168.4.201/192.168.4.202 yum install -y nginx 2.软件启动 systemctl start nginx 3.查看nginx.conf位置 [root@localhost bin]# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx:原创 2020-07-13 16:51:06 · 196 阅读 · 0 评论 -
linux系统安装seata-server步骤记录
服务端安装seata-server 下载seata-server cd /home/install wget https://github.com/seata/seata/releases/download/v1.2.0/seata-server-1.2.0.tar.gz tar -zxvf seata-server-1.2.0.tar.gz 修改seata-server的配置文件 cd home/install/seata/conf 修改file.conf vim file.conf file.原创 2020-07-13 16:43:18 · 2712 阅读 · 1 评论 -
linux永久关闭防火墙
环境是centos71、检查防火墙当前的状态 service iptables status2、永久关闭实验机的防火墙 chkconfig iptables off3、打开防火墙 chkconfig iptables on4、设置后不会立即生效,需要重启系统 reboot原创 2017-12-31 08:10:53 · 8144 阅读 · 0 评论 -
linux不解压日志压缩包直接搜索里面的内容
gzip -dc 文件名 | grep “搜索条件” 可以做到不解压日志压缩包直接搜索里面的内容原创 2018-01-09 17:42:40 · 9330 阅读 · 0 评论