1、创建系统用户# groupadd -r mysql# useradd -g mysql -r -s /sbin/nologin -M -d /mydata/data mysql# chown -R mysql:mysql /mydata/data2、下载文件包,创建符号链接# cd /usr/s...
分类:
数据库 时间:
2014-12-29 14:54:39
阅读次数:
491
MariaDB是基于二机制包安装的,不需要编译一、数据磁盘准备我们在虚拟机上另外挂一块磁盘,大小自己定,这里的是2G的创建分区查看新加的磁盘位置[root@localhost~]#fdisk-l
Disk/dev/sda:137.4GB,137438953472bytes
255heads,63sectors/track,16709cylinders
Units=cylindersof..
分类:
数据库 时间:
2014-12-29 06:43:44
阅读次数:
309
编译安装mysql目标:在mysqlM上编译安装mariadb,并安装wordpress博客程序。mysqlS暂不配置。操作系统CentOS6.6x32_64使用的mariadb版本本机ip设置情况编译安装mariadb的脚本#!/bin/bash
#
datadir=/mydata/data
etcdir=/etc/mysql
filepath=/usr/local
file=mariadb-5.5.36-li..
分类:
数据库 时间:
2014-12-26 06:18:47
阅读次数:
267
(一)安装相同版本的MariaDB。这里我使用yum安装1)master:rpm--importhttp://yum.mariadb.org/RPM-GPG-KEY-MariaDBecho‘#MariaDB10.0CentOSrepositorylist-created2014-03-1508:00UTC#http://mariadb.org/mariadb/repositories/[mariadb]name=MariaDBbaseurl=http://yum.mariadb..
分类:
数据库 时间:
2014-12-24 06:30:55
阅读次数:
165
http://www.cyberciti.biz/faq/howto-install-linux-apache-mariadb-php-lamp-stack-on-centos7-rhel7/
分类:
其他好文 时间:
2014-12-22 19:45:19
阅读次数:
149
LAMP平台搭建及其原理详解LAMP平台搭建基础概念LAMP:提到LAMP很多人会认为LAMP是Linux,Apache,Mysql,PHP。但是随着技术的不断发展,当今的Lamp,已经不仅仅是这么简单了,这里我们的P除了PHP其实还包括:phython,perl.而M也不仅仅指的是mysql,也包括mariadb.LAMP平台顾名思义..
分类:
其他好文 时间:
2014-12-21 02:02:18
阅读次数:
331
由于MySQL被Oracle收购以后,CentOS默认yum库内置的数据库由原来的MySQL改为了MariaDB。
为了安装MySQL,我们需要将MySQL官方的Repo加到CentOS的repo里面。
访问->MySQL官方的repo列表
找到链接地址:http://repo.mysql.com/mysql-community-release-el7-5.noarc...
分类:
数据库 时间:
2014-12-18 18:51:00
阅读次数:
207
1 mysql安装rhel7以后默认数据库就是mariaDb了,如果要安装mysql必须去mysql官网下载相应的yun安装源rpm包http://dev.mysql.com/downloads/repo/yum/然后yum install mysql mysql-server安装后把mysql加入...
分类:
数据库 时间:
2014-12-18 00:15:33
阅读次数:
402
开发环境:[root@burgess~]#yumgrouplistInstalledGroups:………………….查看安装此两个包组,若没有,则执行如下;yumgroupinstallDevelopmentToolsyumgroupinstallServerPlatformDevelopment下载mariadb网站下载:https://mariadb.org/https://downloads.mariadb.org/mariad..
分类:
数据库 时间:
2014-12-17 06:55:40
阅读次数:
291
从最新版本的linux系统开始,默认的是 Mariadb而不是mysql!
使用系统自带的repos安装很简单:
yum install mariadb mariadb-server
systemctl start mariadb ==> 启动mariadb
systemctl enable mariadb ==> 开机自启动
mysql_secure_installat...
分类:
数据库 时间:
2014-12-17 01:39:34
阅读次数:
179