摘要:
使用SQL中的update更新多个字段值,set后面的条件要用逗号不能用and set后面的多个条件之间没有关联也不可以有关联,所以就不能用and了;where 条件后面 可以为and 如: update table set sex= '男', name='张三' where id = 1 ; 正确 阅读全文
摘要:
测试后发现,haproxy2.0和之前的版本部署有些许差异,配置文件的写法也是不同的 测试环境:Centos7.3 IP:172.16.1.227 172.16.1.228 部署httpd,页面内容为this is 228 172.16.1.230 部署httpd,页面内容为默认内容 部署步骤: 1 阅读全文
摘要:
备份复制特定以开头的目录下的文件,并查看结果 ls /usr/local/apache-tomcat-*/conf/catalina.properties|xargs -i cp -a {} {}.bak && ll -thr /usr/local/apache-tomcat-*/conf/cata 阅读全文