关闭数据库开放端口:开放端口存在安全隐患,数据库可能被***e
分类:
数据库 时间:
2020-03-17 22:29:22
阅读次数:
68
使用mysql_secure_installation提高MariaDB安装安全性 安装完mysql-server 会提示可以运行mysql_secure_installation。运行mysql_secure_installation会执行几个设置:--为root用户设置密码 --删除匿名账号 y ...
分类:
数据库 时间:
2020-03-17 10:15:39
阅读次数:
86
1、导入hellodb.sql生成数据库[root@centos7mysql]#mysql</data/hellodb.sql(1)在students表中,查询年龄大于25岁,且为男性的同学的名字和年龄MariaDB[hellodb]>selectname,agefromstudentswhereage>25andgender=‘M‘;+--------------+-----+
分类:
其他好文 时间:
2020-03-16 23:21:06
阅读次数:
50
centos7yum一键安装mysql5.6版本数据库
分类:
数据库 时间:
2020-03-16 23:17:55
阅读次数:
88
Centos7二进制文件安装MySQL5.7.25 1、删除centos系统自带的mariadb数据库防止发生冲突 ?12rpm qa|grep mariadbrpm e mariadb libs nodeps 2、安装libaio库 ?1yum y install libaio 3、下载并解压my ...
分类:
数据库 时间:
2020-03-16 12:38:10
阅读次数:
59
192.168.3.222 nginx+php 略 192.168.3.22 mariadb 略 192.168.3.21 proxy_nginx 21host:安装nginx [root@localhost conf.d]# cat /etc/nginx/proxy_params proxy_se ...
分类:
其他好文 时间:
2020-03-15 20:31:59
阅读次数:
76
lnmp略 /etc/nginx/conf.d/default.conf 中php路径/usr/share/nginx/html/wordpess nginx -t unzip wordpress.zip到/usr/share/nginx/html目录中 修改nginx、php-fpm配置中的操作用 ...
分类:
其他好文 时间:
2020-03-15 13:25:13
阅读次数:
44
树莓派/Debian 构建LAMP Web服务器并搭建WordPress博客(一) 一、前言 学习在您的Raspberry Pi上设置LAMP(Linux,Apache,MariaDB,PHP)堆栈,并将其配置为 Web 服务器。您将下载并安装 WordPress 并设置一个基本网站,您可以在与Pi ...
分类:
Web程序 时间:
2020-03-14 12:40:42
阅读次数:
75
1安装mariadb数据库1.配置阿里云源参考链接:https://developer.aliyun.com/mirror2.使用阿里云源安装mariadbdbf-yinstallmariadb-servermariadb-client1.1.1使用systemctl进行mariadb服务管理systemctlstartmariadb#启动MariaDBsystemctlstopmariadb#停
分类:
其他好文 时间:
2020-03-14 10:40:34
阅读次数:
1031
从零开始说起,先说在Linux安装MySQL再说主从配置,MySQL的版本为5.7 一.mysql安装 1.使用命令 rpm -qa|grep mariadb 查看是否存在mariadb 2. 使用 rpm -e --nodeps mariadb-libs-5.5.56-2.el7.x86_64 命 ...
分类:
数据库 时间:
2020-03-12 23:37:07
阅读次数:
131