随笔 - 221
文章 - 0
评论 - 57
阅读 -
162万
10 2016 档案
CentOS7下zip解压和unzip压缩文件
摘要:1、安装zip、unzip应用。 2、压缩和解压文件 以下命令均在/home目录下操作 cd /home #进入/home目录 a、把/home目录下面的mydata目录压缩为mydata.zip zip -r mydata.zip mydata #压缩mydata目录 b、把/home目录下面的m
阅读全文
通过Maven插件发布JaveEE项目到tomcat下
摘要:1、修改tomcat\conf\tomcat-users.xml文件,在文件中增加 2、在pom.xml文件中引入tomcat7-maven-plugin插件 url:tomcat发布地址 urername:步骤1中添加的用户名 password:步骤1中添加的用户密码 3、启动tomcat。 4、
阅读全文
MYSQL5.7版本sql_mode=only_full_group_by问题
摘要:具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' w
阅读全文
CentOS下安装Tomcat
摘要:CentOS版本:CentOS-7-x86_64-Minimal-1810 1、安装JDK 详情查看:CentOS下安装JDK-rpm文件、CentOS安装JDK-tar.gz文件 2、下载tomcat。 测试tomcat版本为:apache-tomcat-9.0.24.tar.gz。下载地址:ht
阅读全文
CentOS下安装JDK-rpm文件
摘要:1、下载JDK,下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html。 测试版本为:jdk-8u112-linux-x64.rpm 2、通过FTP工具上传了CentOS主机上。
阅读全文
MYSQL57密码策略修改
摘要:1、查看当前的密码测试 2、各项值说明 validate_password_policy:密码安全策略,默认MEDIUM策略 validate_password_dictionary_file:密码策略文件,策略为STRONG才需要 validate_password_length:密码最少长度 v
阅读全文
CentOS下安装mysql5.7和mysql8.x
摘要:5.7和8.15版本亲测。centos版本为:CentOS-7-x86_64-Minimal-1810。 1、下载mysql57-community-release-el7-9.noarch.rpm。下载地址:http://dev.mysql.com/downloads/repo/yum/ 2、安装
阅读全文
Linux下使用systemctl命令
摘要:systemctl命令是系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起。 chkconfig --level 3 httpd on 来自: http://man.linuxde.net/systemctl systemctl status httpd.s
阅读全文
CentOS最小安装无法使用ifconfig命令
摘要:问题描述: 1、先解决联网问题,详情查看:http://www.cnblogs.com/zhi-leaf/p/5983470.html。 2、执行net-tools,执行命令 3、使用ifconfig命令
阅读全文
CentOS7下安装FTP服务
摘要:1、安装vsftp 1.1、安装vsftp,测试安装的vsftpd的版本是:vsftpd.x86_64 0:3.0.2-11.el7_2 1.2、修改配置文件 保证下面3项为YES anonymous_enable=YES anon_upload_enable=YES anon_mkdir_writ
阅读全文
解决Centos7安装后无法联网的问题
摘要:1、进入目录/etc/sysconfig/network-scripts/ 2、找到编辑ifcfg-enoxxxx文件,后面的数字不同机器上可能会不一样 3、执行vi ifcfg-eno16777736命令编辑该文件。将ONBOOT=no改为ONBOOT=yes 4、保存退出,重启网络服务即可。
阅读全文
Maven引入本地jar包
摘要:${project.basedir}:表示项目根目录
阅读全文
Tomcat下安装solr6.x
摘要:1、官网上下载solr(http://lucene.apache.org/solr/)和tomcat(http://tomcat.apache.org/) 测试用到的版本:solr-6.2.1、apache-tomcat-8.0.36 2、安装JDK,版本必须为1.8,测试用到的的版本为jdk1.8
阅读全文
chkconfig命令
摘要:chkconfig --list #列出系统所有的服务启动情况chkconfig --add xxx #增加xxx服务chkconfig --del xxx #删除xxx服务chkconfig xxx on #设定xxx在定义文件中的等级为on chkconfig等级: 0:表示关机 1:单用户模式
阅读全文
service xxx does not support chkconfig
摘要:在#!/bin/sh后面必须有:# chkconfig和# description。 如: # chkconfig: 345 63 37# description: activemq servlet container.
阅读全文
CentOS7安装ActiveMQ
摘要:1、下载activemq,下载地址:http://archive.apache.org/dist/activemq。测试版本为apache-activemq-5.14.1。 2、在/ursr/local/目录下新建activemq文件夹,并进入该文件夹,执行如下命令解压文件。 3、在/etc/ini
阅读全文