文章分类 - Linux
摘要:命令 系统基础命令服务管理重要文件 /etc其他语法 系统基础命令 shutdown 关机 默认1分钟后 -c 取消关机 -h n分钟后进行关机 shutdown -h 5# 5分钟后关机 -r reboot 重启 默认1分钟后重启 -r 5 #5分钟后重启 -h now 立刻关机 -r now 立
阅读全文
posted @ 2022-01-26 18:27
Linux_小白
摘要:Linux相关插件 1.Remote-SSH 远程连接插件2.shell-format 代码格式化工具3.shellman 代码语法提示4 Linux_ansible 语法提示5 皮肤设置5.1 Dracula Official5.2.tangming Themes6 Bracket Pair Co
阅读全文
posted @ 2022-01-26 18:27
Linux_小白
摘要:#检查成功登录服务器的IP egrep -o "Accepted password.*[0-9.]{10,20}" /var/log/secure | awk '{print $NF}' | sort | uniq -c | sort -rn #检查失败登录服务器的IP grep -oP "fail
阅读全文
posted @ 2022-01-26 18:27
Linux_小白
摘要:PS1 https://blog.csdn.net/u013024120/article/details/53542234 cat 用法 1 覆盖原有文本 cat > test <<EOF the 1 line the 2 line the 3 line EOF 2 追加的原有文本尾部 cat >>
阅读全文
posted @ 2021-11-05 23:06
Linux_小白
摘要:mysql 二进制 安装 https://blog.csdn.net/u010463613/article/details/87865449 centos 镜像https://mirrors.aliyun.com/centos-vault/?spm=a2c6h.13651104.0.0.2e9912
阅读全文
posted @ 2021-07-22 12:41
Linux_小白
摘要:#PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin PermitRootLogin yesPasswordAuthentication yes hostnamectl set-hostname "修改主机名称:" sys
阅读全文
posted @ 2021-05-14 14:41
Linux_小白
摘要:tomcat 历史版本 https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/ nginx 历史版本 http://nginx.org/download/ java / jdk #清华源 https://mirrors.tuna.tsinghua.ed
阅读全文
posted @ 2021-05-14 13:59
Linux_小白
摘要:历史版本下载 https://vault.centos.org/ https://renwole.com/linux-mirror-download/download-centos-linux-iso-images# https://mirrors.aliyun.com/centos-vault/?
阅读全文
posted @ 2021-05-14 10:23
Linux_小白
摘要:yum install bash-completion -y #命令补全 需要重启生效 PS1="\[\e[01;31m\][\[\e[01;34m\]\u\[\e[01;32m\]@\h \[\e[01;35m\]\W\[\e[01;33m\]]\\$\[\e[0m\]" curl -o /etc
阅读全文
posted @ 2021-05-07 15:01
Linux_小白

浙公网安备 33010602011771号