2016年10月24日
摘要: 1、查看当前的密码测试 2、各项值说明 validate_password_policy:密码安全策略,默认MEDIUM策略 validate_password_dictionary_file:密码策略文件,策略为STRONG才需要 validate_password_length:密码最少长度 v 阅读全文
posted @ 2016-10-24 20:59 玄同太子 阅读(18860) 评论(1) 推荐(0) 编辑
摘要: 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、安装 阅读全文
posted @ 2016-10-24 20:30 玄同太子 阅读(7694) 评论(0) 推荐(0) 编辑
摘要: systemctl命令是系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起。 chkconfig --level 3 httpd on 来自: http://man.linuxde.net/systemctl systemctl status httpd.s 阅读全文
posted @ 2016-10-24 14:58 玄同太子 阅读(663) 评论(0) 推荐(0) 编辑
  2016年10月21日
摘要: 问题描述: 1、先解决联网问题,详情查看:http://www.cnblogs.com/zhi-leaf/p/5983470.html。 2、执行net-tools,执行命令 3、使用ifconfig命令 阅读全文
posted @ 2016-10-21 10:48 玄同太子 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2016-10-21 10:11 玄同太子 阅读(82504) 评论(7) 推荐(5) 编辑
摘要: 1、进入目录/etc/sysconfig/network-scripts/ 2、找到编辑ifcfg-enoxxxx文件,后面的数字不同机器上可能会不一样 3、执行vi ifcfg-eno16777736命令编辑该文件。将ONBOOT=no改为ONBOOT=yes 4、保存退出,重启网络服务即可。 阅读全文
posted @ 2016-10-21 09:50 玄同太子 阅读(4235) 评论(0) 推荐(1) 编辑
  2016年10月8日
摘要: ${project.basedir}:表示项目根目录 阅读全文
posted @ 2016-10-08 16:27 玄同太子 阅读(357) 评论(0) 推荐(0) 编辑
  2016年10月7日
摘要: 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 阅读全文
posted @ 2016-10-07 14:19 玄同太子 阅读(2523) 评论(0) 推荐(0) 编辑
摘要: chkconfig --list #列出系统所有的服务启动情况chkconfig --add xxx #增加xxx服务chkconfig --del xxx #删除xxx服务chkconfig xxx on #设定xxx在定义文件中的等级为on chkconfig等级: 0:表示关机 1:单用户模式 阅读全文
posted @ 2016-10-07 10:54 玄同太子 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 在#!/bin/sh后面必须有:# chkconfig和# description。 如: # chkconfig: 345 63 37# description: activemq servlet container. 阅读全文
posted @ 2016-10-07 10:03 玄同太子 阅读(279) 评论(0) 推荐(0) 编辑