摘要: git clone xxxx.git 1,查看分支: git branch 2,切换分支: git checkout dev3,查看文件修改情况: git status4,添加上传的文件:git add productservice/*5,备注信息:git commit -m 'test' 上传:g 阅读全文
posted @ 2023-08-24 18:09 等待1248 阅读(15) 评论(0) 推荐(0)
摘要: web 服务的探测。 #!/bin/bash port=`netstat -lnp | grep 80` if [ -z "port" ]; then echo "not start service."; exit; fi web_server=`echo $port | awk -F'/' '{p 阅读全文
posted @ 2023-08-24 18:08 等待1248 阅读(19) 评论(0) 推荐(0)
摘要: 1,删除特殊的账户和账户组。2,关闭系统不需要的服务。可以选择关闭: anacron、auditd、autofs、avahi-daemon、avahi-dnsconfd、bluetooth、cpuspeed、firstboot、gpm、haldaemon、hidd、ip6tables、ipsec、i 阅读全文
posted @ 2023-08-24 18:07 等待1248 阅读(111) 评论(0) 推荐(0)