首先干掉进程:kill -9 {pid号}
直接rm -f sysupdate会提示类似:
rm: cannot remove 'sysupdate ': Operation not permitted
基于经验,应该是病毒使用了chattr +i的命令。我们只要先执行chattr -i sysupdate,然后就可以正常删除了
find ./cluster-7002 -name "redis.conf" -type f -print -exec sed -i 's/7001/7002/g' {} \;
find ./cluster-7003 -name "redis.conf" -type f -print -exec sed -i 's/7001/7003/g' {} \;
find ./cluster-7004 -name "redis.conf" -type f -print -exec sed -i 's/7001/7004/g' {} \;
find ./cluster-7005 -name "redis.conf" -type f -print -exec sed -i 's/7001/7005/g' {} \;
find ./cluster-7006 -name "redis.conf" -type f -print -exec sed -i 's/7001/7006/g' {} \;
find . -name "redis.conf" -type f -print -exec sed -i 's/daemonize no/daemonize yes/g' {} \;
。