朱宏亮
  • 首页
  • 说明

分类: <span>linux</span>

nginx日志按天自动分割备份

2019年12月4日 朱宏亮 linux, nginx 自动分割日志, 自动备份日志

#!/bin/bash #按天分割nginx日志 #主要需要注意的就是,nginx日志日期的格式,我这个地方a […]

Read more

nginx日志分析,找出指定时间段内访问次数最多的ip并排序,发送到指定的邮箱

2019年12月2日 朱宏亮 linux, nginx, 未分类 nginx, nginx日志分析, 获取nginx指定时间段的日志, 访问量最大的ip

nginx日志格式: 36.102.228.97 – – [01/Dec/2019:0 […]

Read more

linux下git,maven自动编译部署springboot项目

2019年9月12日 朱宏亮 git, jar, java, linux, Spring git, maven, springboot, 自动化部署, 自动打包

首先安装git和maven,设置好git的账号密码保证可以pull代码。 创建文件: touch test.s […]

Read more

centos7安装maven

2019年9月12日 朱宏亮 linux linux, maven

首先在官网下载:http://maven.apache.org/download.cgi apache-mav […]

Read more

nginx4层遇到问题error日志:connect() to 192.168.145.133:8080 failed (13: Permission denied) while connecting to upstream

2019年9月10日 朱宏亮 linux, nginx 13: Permission denied, 4层, nginx, upstream

错误日志: 2019/09/10 00:43:52 [crit] 1688#1688: *53 connect […]

Read more

SSH登录虚拟机慢的问题(等待很久才提示输入密码)

2019年9月2日 朱宏亮 linux linux, ssh, ssh密码等待, ssh登录慢

网上查了一些方案,我的实际情况是单一的改一个设置没用,得同时修改两个配置 1、在server上/etc/hos […]

Read more

linux创建新用户给同事用,权限设置

2019年8月16日 朱宏亮 linux linux, 新建用户, 权限设置

1.创建用户 adduser zhl 2.设置密码 passwd zhl 输入密码 3.切换到zhl账户,看看 […]

Read more

linux定时备份mysql,并清除多余备份

2019年8月16日 朱宏亮 linux, MySql linux定时任务, mysql备份, 删除备份, 定时备份mysql, 定时清理文件, 自动备份mysql

1.创建备份目录 mkdir /data/backup/a mkdir /data/backup/b 2.创建 […]

Read more

用ant的javac编译java报错:Perhaps JAVA_HOME does not point to the JDK

2018年5月31日 朱宏亮 java, linux ant, java, javac, JAVA_HOME

ant的linux.xml 里有个javac编译命令: <target name=”compile” d […]

Read more

linux系统安装opencv在tomcat使用

2018年4月28日 朱宏亮 java, linux centos7, java, linux, opencv, tomcat

我的系统是centos7,打算再tomcat中的项目里使用opencv对图片进行处理 下面是安装步骤:  1) […]

Read more

新手CentOS7安装zookeeper大坑,解决

2018年3月22日 朱宏亮 linux zookeeper

这两天做了三个Centos7的虚拟机做集群。安装zookeeper3.4.11 启动之后使用。./zkServ […]

Read more

tomcat不能启动this user has been blocked

2018年3月7日 朱宏亮 java, linux, Tomcat this user has been blocked, tomcat不能启动, tomcat启动权限

昨晚一个人在公司,往服务器上提交了新的代码,重启服务器。居然没有启动成功,报错如下: java.lang.Er […]

Read more

ubantu安装redis,客户端连不上(取消保护模式)

2017年12月19日 朱宏亮 java, linux, Redis Redis, redis保护模式, 连不上redis

在服务器上打开redis客户端,然后使用telnet命令访问redis服务端口:telnet 192.168. […]

Read more

CentOS7安装lamp详解,mysql 启动不了2002解决方案

2017年8月21日 朱宏亮 apache, linux, MySql 2002, apache, CentOS, lamp, linux, mariadb, mysql, php, 安装

1.更新yum源 2.安装Apahce, PHP, MySQL以及php连接mysql库组件。 #yum -y […]

Read more

Nginx1.12.1 反向代理、负载均衡、页面缓存 【配置nginx.conf】

2017年8月11日 朱宏亮 linux, nginx, 缓存 linux, nginx, Nginx1.12.1, 代理, 反向代理, 负载均衡, 页面缓存

一、环境 操作系统:CentOS7 nginx版本:nginx-1.12.1 二、反向代理 修改nginx.c […]

Read more

service nginx start|stop|reload 报错:Failed to reload nginx.service: Unit not found.【解决方案】

2017年8月9日 朱宏亮 linux, nginx linux, nginx, service nginx start, Unit not found 1

在执行service nginx start|stop|reload 的时候报错:Failed to relo […]

Read more

Nginx-1.12.1安装步骤详解CentOS7

2017年8月9日 朱宏亮 linux, nginx linux, nginx, nginx-1.12.1, nginx安装, 安装

操作系统CentOS7,安装Nginx-1.12.1,步骤详解   一. gcc 安装 安装 ngi […]

Read more

apache多域名绑定,httpd.conf配置

2016年12月28日 朱宏亮 apache, linux apache, httpd.conf, linux, 域名, 多域名, 绑定

目的:同一个服务器下,让不同的域名绑定不同的目录   如下,只需要在httpd.conf中加入如下代 […]

Read more

分类目录

标签

ActiveMQ (4) annotation (4) apache (4) Eclipse (3) elasticsearch (6) elasticsearch-rest-high-level-client (3) feign (2) git (4) ik中文分词 (3) IntelliJ (2) java (18) java使用redis (2) jdbc (6) jedis-2.9.0.jar (2) jsp (2) kafka (4) kafka_2.11-1.0.0 (2) linux (9) maven (3) Mybatis (8) mysql (9) mysql5.7 (2) nginx (6) php (3) Redis (3) redis-4.0.6 (2) Spring (13) spring-data-commons-2.0.1.jar (2) spring-data-redis-1.8.3.jar (2) spring-kafka (2) spring4.3.13 (3) springboot (16) springcloud (2) Springmvc (3) spring整合redis (2) tomcat (3) zookeeper (2) 反向代理 (2) 启动报错 (2) 安装 (3) 控制反转 (4) 数据注入 (3) 注解 (3) 缓存 (2) 项目路径 (2)

近期评论

  • 朱宏亮发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • zero发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 朱宏亮发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 张云飞发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • truman发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 1发表在《service nginx start|stop|reload 报错:Failed to reload nginx.service: Unit not found.【解决方案】》
  • 朱宏亮发表在《使用git上传项目,第一次只需要八个命令》
  • 阿汇发表在《使用git上传项目,第一次只需要八个命令》

功能

  • 登录
  • 条目feed
  • 评论feed
  • WordPress.org

分类目录

标签

ActiveMQ (4) annotation (4) apache (4) Eclipse (3) elasticsearch (6) elasticsearch-rest-high-level-client (3) feign (2) git (4) ik中文分词 (3) IntelliJ (2) java (18) java使用redis (2) jdbc (6) jedis-2.9.0.jar (2) jsp (2) kafka (4) kafka_2.11-1.0.0 (2) linux (9) maven (3) Mybatis (8) mysql (9) mysql5.7 (2) nginx (6) php (3) Redis (3) redis-4.0.6 (2) Spring (13) spring-data-commons-2.0.1.jar (2) spring-data-redis-1.8.3.jar (2) spring-kafka (2) spring4.3.13 (3) springboot (16) springcloud (2) Springmvc (3) spring整合redis (2) tomcat (3) zookeeper (2) 反向代理 (2) 启动报错 (2) 安装 (3) 控制反转 (4) 数据注入 (3) 注解 (3) 缓存 (2) 项目路径 (2)

近期评论

  • 朱宏亮发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • zero发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 朱宏亮发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 张云飞发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • truman发表在《kafka启动报错:另一个程序正在使用此文件,进程无法访问。》
  • 1发表在《service nginx start|stop|reload 报错:Failed to reload nginx.service: Unit not found.【解决方案】》
  • 朱宏亮发表在《使用git上传项目,第一次只需要八个命令》
  • 阿汇发表在《使用git上传项目,第一次只需要八个命令》

功能

  • 登录
  • 条目feed
  • 评论feed
  • WordPress.org
All rights reserved | Draco theme by Webpsilon