centos7.4二进制安装mysql

1:下载二进制安装包(安装时确保没有mysql数据库服务器端): mariadb-10.2.12-linux-x86_64.tar.gz、 mariadb-10.2.12.tar.gz。
2:创建系统账号指定shell类型(默认自动创建同名的组)
3:解包并创建软连接(在/usr/local下):
centos7.4二进制安装mysql
4:给文件加上所有者所属组
centos7.4二进制安装mysql
5:把二进制程序路径放到PATH变量中去
centos7.4二进制安装mysql
6:制作一个逻辑卷
centos7.4二进制安装mysql
centos7.4二进制安装mysql
centos7.4二进制安装mysql
centos7.4二进制安装mysql
centos7.4二进制安装mysql
centos7.4二进制安装mysql
centos7.4二进制安装mysql
7:修改/data/mysqldb/目录的所有者、所属组并修改权限
centos7.4二进制安装mysql
8:安装数据库:(注意路径)
centos7.4二进制安装mysql
9:修改配置文件
centos7.4二进制安装mysql
centos7.4二进制安装mysql
10:复制服务脚本并改名,最后启动服务:
centos7.4二进制安装mysql
centos7.4二进制安装mysql
11:安装完成后可以直接连接不安全,所以执行初始化脚本设置密码
centos7.4二进制安装mysql

转载于:https://blog.51cto.com/13487744/2064372

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/391364.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

批梯度下降 随机梯度下降_梯度下降及其变体快速指南

批梯度下降 随机梯度下降In this article, I am going to discuss the Gradient Descent algorithm. The next article will be in continuation of this article where I will discuss optimizers in neural networks. For understanding those optimizers it’s important to…

java作业 2.6

//程序猿:孔宏旭 2017.X.XX /**功能:在键盘输入一个三位数,求它们的各数位之和。 *1、使用Scanner关键字来实现从键盘输入的方法。 *2、使用取余的方法将各个数位提取出来。 *3、最后将得到的各个数位相加。 */ import java.util.Scanner; p…

ubuntu 16.04 挂载新硬盘

2、挂载数据盘 mkdir /datausrubuntu:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 465.8G 0 disk sda1 8:1 0 512M 0 part /boot/efisda2 8:2 0 464.3G 0 part /sda3 8:3 0 976…

Go语言实战 : API服务器 (2) 运行流程

1.API服务器的总流程 分为两步: 启动API服务器API服务器对HTTP请求进行处理 2.API服务器启动流程 解析配置文件,利用配置文件完成对服务器的初始化配置初始化logger,开启日志记录与数据库建立连接设置http连接(例如设置响应头…

Linux 命令 之查看程序占用内存

2019独角兽企业重金招聘Python工程师标准>>> 查看PID ps aux | grep nginx root 3531 0.0 0.0 18404 832 ? Ss 15:29 0:00 nginx: master process ./nginx 查看占用资源情况 pmap -d 3531 top -p 3531 转载于:https://my.oschina.net/mengzha…

逻辑回归 自由度_回归自由度的官方定义

逻辑回归 自由度Back in middle and high school you likely learned to calculate the mean and standard deviation of a dataset. And your teacher probably told you that there are two kinds of standard deviation: population and sample. The formulas for the two a…

动画电影的幕后英雄怎么说好_幕后编码面试-好与坏

动画电影的幕后英雄怎么说好Interviewing is a skill in and of itself. You can be the best developer in the world but you may still screw up an interview.面试本身就是一种技能。 您可以成为世界上最好的开发人员,但您仍可能会搞砸面试。 How many times h…

数据库之DML

1、表的有关操作: 1.1、表的创建格式: CREATE TABLE IF NOT EXISTS 表名(属性1 类型,属性2 类型,....,属性n 类型);# 标记部分表示可以省略 1.2、表的修改格式:ALTER table 表名 ADD…

网络对抗技术作业一 201421410031

姓名:李冠华 学号:201421410031 指导教师:高见 1、虚拟机安装与调试 安装windows和linux(kali)两个虚拟机,均采用NAT网络模式,查看主机与两个虚拟机器的IP地址,并确保其连通性。同时…

生存分析简介:Kaplan-Meier估计器

In my previous article, I described the potential use-cases of survival analysis and introduced all the building blocks required to understand the techniques used for analyzing the time-to-event data.在我的上一篇文章中 ,我描述了生存分析的潜在用例…

强密码检测

#!/usr/bin/env python # -*- coding: utf-8 -*- #1. 密码长度应该大于或等于8位 #2. 密码必须包含数字、字母及特殊字符三种组合 nums 0123456789 chars1 abcdefghijklmnopqrstuvwxyz chars2 ABCDEFGHIJKLMNOPQRSTUVWXYZ symbols r!#$%^&*()_-/*{}[]\|";:/?…

OD Linux发行版本

题目描述: Linux操作系统有多个发行版,distrowatch.com提供了各个发行版的资料。这些发行版互相存在关联,例如Ubuntu基于Debian开发,而Mint又基于Ubuntu开发,那么我们认为Mint同Debian也存在关联。 发行版集是一个或多…

Go语言实战 : API服务器 (3) 服务器雏形

简单API服务器功能 实现外部请求对API 服务器健康检查和状态查询,返回响应结果 1.API服务器的状态监测 以内存状态检测为例,获取当前服务器的健康状况、服务器硬盘、CPU 和内存使用量 func RAMCheck(c *gin.Context) {u, _ : mem.VirtualMemory()//获…

TCP/IP协议-1

转载资源,链接地址https://www.cnblogs.com/evablogs/p/6709707.html 转载于:https://www.cnblogs.com/Chris-01/p/11474915.html

http://nancyfx.org + ASPNETCORE

商务产品servicestack: https://servicestack.net/ http://nancyfx.org ASPNETCORE http://nancyfx.org Drapper ORM精简框架 https://github.com/StackExchange/Dapper Nancy 是一个轻量级用于构建基于 HTTP 的 Web 服务,基于 .NET 和 Mono 平…

使用r语言做garch模型_使用GARCH估计货币波动率

使用r语言做garch模型Asset prices have a high degree of stochastic trends inherent in the time series. In other words, price fluctuations are subject to a large degree of randomness, and therefore it is very difficult to forecast asset prices using traditio…

ARC下的内存泄漏

##ARC下的内存泄漏 ARC全称叫 ARC(Automatic Reference Counting)。在编译期间,编译器会判断对象的使用情况,并适当的加上retain和release,使得对象的内存被合理的管理。所以,从本质上说ARC和MRC在本质上是一样的,都是…

python:校验邮箱格式

# coding:utf-8import redef validateEmail(email):if re.match("^.\\(\\[?)[a-zA-Z0-9\\-\\.]\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$", email) ! None:# if re.match("/^\w[a-z0-9]\.[a-z]{2,4}$/", email) ! None:print okreturn okelse:print failret…

cad2019字体_这些是2019年最有效的简历字体

cad2019字体When it comes to crafting the perfect resume to land your dream job, you probably think of just about everything but the font. But font is a key part of your first impression to recruiters and employers.当制作一份完美的简历来实现理想的工作时&…

Go语言实战 : API服务器 (4) 配置文件读取及连接数据库

读取配置文件 1. 主函数中增加配置初始化入口 先导入viper包 import (..."github.com/spf13/pflag""github.com/spf13/viper""log")在 main 函数中增加了 config.Init(*cfg) 调用,用来初始化配置,cfg 变量值从命令行 f…