05 2021 档案

摘要:1.首先,需要为tomcat配置pid。 bin/catalina.sh # Copy CATALINA_BASE from CATALINA_HOME if not already set [ -z "$CATALINA_BASE" ] && CATALINA_BASE="$CATALINA_HO 阅读全文
posted @ 2021-05-25 14:05 Linux_小白
摘要:①:systemctl status mysqld.service 命令,通过这个我们能很快定位到出错的进程。 ②:journalctl -xe 命令,作为上一步的补充能够进一步佐证我们的判断。 ③:查看mysql的日志,这个是最重要的。 cat /etc/my.cnf tail -n500 /va 阅读全文
posted @ 2021-05-24 10:24 Linux_小白
摘要:安装rsync服务 [root@backup ~]# yum -y install rsync —- 创建一个用来运行rsync服务的用户身份 #1) 创建rsync账户,不允许登录不创建家目录 [root@backup ~]# useradd -M -s /sbin/nologin rsync # 阅读全文
posted @ 2021-05-21 13:52 Linux_小白
摘要:#查看日志 journalctl -xe #问题关键句 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option 阅读全文
posted @ 2021-05-15 11:36 Linux_小白
摘要:#查询日志 journalctl -xe #关键句定位 /usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or direc 阅读全文
posted @ 2021-05-15 11:27 Linux_小白
摘要:查看系统日志 journalctl -xe 发现mysql启动错误日志关键句 [ERROR] --initialize specified but the data directory has files in it. Aborting. [错误] -初始化指定,但数据目录中有文件。中止 错误解释: 阅读全文
posted @ 2021-05-15 11:18 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_小白