01 2023 档案
摘要:#启动 systemctl start mariadb #开机自启 systemctl enable mariadb #查看是否运行 systemctl status mariadb #设置密码 [root@localhost ~]# mysql -uroot MariaDB [(none)]> u
阅读全文
摘要:启动 shell> systemctl start firewalld 停止 shell> systemctl stop firewalld 重启 shell> systemctl restart firewalld 允许开机自启 shell> systemctl enable firewalld
阅读全文
摘要:我这里选择一台虚拟机启动三个redis服务,在/usr/myredis下创建三份配置文件 每份的配置只有端口不一样 redis.conf是从redis的安装目录复制过来的 启动服务 [root@localhost myredis]# /usr/local/redis-6.2.8/src/redis-
阅读全文
摘要:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 当我输入root登录输入密码就会出现这种错误,不输入密码就可以登录,不输入密码里面只有information_scheme和test
阅读全文
摘要:在学习谷粒学院要用阿里云发送短信验证码,无法申请到短信,于是便用邮箱发送验证码。 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId>
阅读全文