摘要: 1.jar包发布到私服是不生成小版本号,而是直接覆盖SNAPSHOT版本 mvn clean deploy -DuseUniqueVersions=false 打包后依赖的包全部是以时间戳存在的,这样在做增量包的时候就必须要删除服务器上的原文件,而不能直接覆盖替换,想要打成SNAPSHOT的包需要执 阅读全文
posted @ 2020-09-18 19:01 CoodIceMoon 阅读(320) 评论(0) 推荐(0)
摘要: 一.清除RocketMQ的消息操作步骤 1)关闭RocketMQ进程,ps -ef|grep rocketmq kill -9 PID 2)删除store文件夹 3)重新启动rocketmq nohup sh mqnamesrv & nohup sh mqbroker -c ../conf/brok 阅读全文
posted @ 2020-09-16 10:26 CoodIceMoon 阅读(4994) 评论(0) 推荐(0)
摘要: 1.安装opatch 1)首先跳入到opatch的目录 2)java -jar ./opatch_generic.jar -silent oracle_home=/weblogic/Oracle/Middleware/oracle_home/ 2.安装补丁 1)首先跳入指定目录,/weblogic/ 阅读全文
posted @ 2020-07-28 09:26 CoodIceMoon 阅读(372) 评论(0) 推荐(0)
摘要: 1.Account locked due to failed logins 通过root用户或root权限进行查看与修改 pam_tally2 --user=test #查看错误了几次 pam_tally2 --user=test --reset #重置 2.linux用户查看修改用户密码过期时间 阅读全文
posted @ 2020-07-23 12:23 CoodIceMoon 阅读(3500) 评论(0) 推荐(0)
摘要: 查看已删除但是未释放空间的文件:lsof | grep deleted 删除已删除但是未释放空间的文件:lsof | grep deleted | awk '{print $2}' | xargs -I {} kill -9 {} 阅读全文
posted @ 2020-07-23 12:13 CoodIceMoon 阅读(164) 评论(0) 推荐(0)
摘要: 1) cp /etc/skel/.bashrc ~ 2) cp /etc/skel/.bash_profile ~ 阅读全文
posted @ 2020-07-23 12:10 CoodIceMoon 阅读(362) 评论(0) 推荐(0)
摘要: 一.安装部署zookeeper 2.zookeeper服务管理命令 启动ZK服务: zkServer.sh start 查看ZK状态: zkServer.sh status 停止ZK服务: zkServer.sh stop 重启ZK服务: zkServer.sh restart 阅读全文
posted @ 2020-06-29 22:00 CoodIceMoon 阅读(258) 评论(0) 推荐(0)
摘要: 1.MySQL 和 SQLserver 数据库:查看表结构:select * from information_schema.columns where table_name='表名' 修改字段长度:ALTER TABLE 表名 ALTER COLUMN 字段名 字段类型(字段长度) Oracle 阅读全文
posted @ 2020-06-23 18:27 CoodIceMoon 阅读(229) 评论(0) 推荐(0)
摘要: 1.linux文件中,把包含指定的内容的行,输出到新文件中 grep 'CCB' topic.txt > topic_ccb.txt; 2.如何截取日志中某一时间段的日志 linux登录控制台写错以后不能删除^H stty erase ^H stty erase ^? SecureCRT的标题自动修 阅读全文
posted @ 2020-06-12 17:58 CoodIceMoon 阅读(144) 评论(0) 推荐(0)
摘要: sed -i 's#10.18.14.230#10.18.14.226#g' *.properties 阅读全文
posted @ 2020-06-10 21:08 CoodIceMoon 阅读(154) 评论(0) 推荐(0)