fedora23上安装和运行MySQL server (MySQL 已经被MariaDB取代)
- [root@localhost kemin]# dnf install mysql-server
- Fedora 23 - x86_64 - Updates 1.4 MB/s | 15 MB 00:11
- Last metadata expiration check performed 0:00:04 ago on Fri Dec 25 18:36:32 2015.
- Dependencies resolved.
- ==============================================================================================================================================
- Package Arch Version Repository Size
- ==============================================================================================================================================
- Installing:
- mariadb-errmsg x86_64 1:10.0.21-1.fc23 updates 199 k
- mariadb-libs x86_64 1:10.0.21-1.fc23 updates 637 k
- mariadb-server x86_64 1:10.0.21-1.fc23 updates 18 M
- perl-DBD-MySQL x86_64 4.033-1.fc23 updates 153 k
- perl-DBI x86_64 1.633-6.fc23 fedora 727 k
- perl-Math-BigInt noarch 1.9997-350.fc23 updates 188 k
- Transaction Summary
- ==============================================================================================================================================
- Install 6 Packages
- Total download size: 20 M
- Installed size: 94 M
- Is this ok [y/N]: y
- Downloading Packages:
- (1/6): mariadb-errmsg-10.0.21-1.fc23.x86_64.rpm 134 kB/s | 199 kB 00:01
- (2/6): perl-DBD-MySQL-4.033-1.fc23.x86_64.rpm 145 kB/s | 153 kB 00:01
- (3/6): perl-DBI-1.633-6.fc23.x86_64.rpm 212 kB/s | 727 kB 00:03
- [MIRROR] perl-Math-BigInt-1.9997-350.fc23.noarch.rpm: Curl error (28): Timeout was reached for ftp://mirrors.ustc.edu.cn/fedora/linux/updates/23/x86_64/p/perl-Math-BigInt-1.9997-350.fc23.noarch.rpm []
- (4/6): mariadb-libs-10.0.21-1.fc23.x86_64.rpm 438 kB/s | 637 kB 00:01
- (5/6): perl-Math-BigInt-1.9997-350.fc23.noarch.rpm 243 kB/s | 188 kB 00:00
- (6/6): mariadb-server-10.0.21-1.fc23.x86_64.rpm 1.3 MB/s | 18 MB 00:14
- ----------------------------------------------------------------------------------------------------------------------------------------------
- Total 1.2 MB/s | 20 MB 00:17
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Installing : perl-Math-BigInt-1.9997-350.fc23.noarch 1/6
- Installing : perl-DBI-1.633-6.fc23.x86_64 2/6
- Installing : mariadb-libs-1:10.0.21-1.fc23.x86_64 3/6
- Installing : perl-DBD-MySQL-4.033-1.fc23.x86_64 4/6
- Installing : mariadb-errmsg-1:10.0.21-1.fc23.x86_64 5/6
- Installing : mariadb-server-1:10.0.21-1.fc23.x86_64 6/6
- Verifying : mariadb-server-1:10.0.21-1.fc23.x86_64 1/6
- Verifying : perl-DBI-1.633-6.fc23.x86_64 2/6
- Verifying : mariadb-errmsg-1:10.0.21-1.fc23.x86_64 3/6
- Verifying : perl-DBD-MySQL-4.033-1.fc23.x86_64 4/6
- Verifying : mariadb-libs-1:10.0.21-1.fc23.x86_64 5/6
- Verifying : perl-Math-BigInt-1.9997-350.fc23.noarch 6/6
- Installed:
- mariadb-errmsg.x86_64 1:10.0.21-1.fc23 mariadb-libs.x86_64 1:10.0.21-1.fc23 mariadb-server.x86_64 1:10.0.21-1.fc23
- perl-DBD-MySQL.x86_64 4.033-1.fc23 perl-DBI.x86_64 1.633-6.fc23 perl-Math-BigInt.noarch 1.9997-350.fc23
- Complete!
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- [root@localhost kemin]# systemctl start mariadb.service
- [root@localhost kemin]# systemctl enable mariadb.service
- Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
- [root@localhost kemin]# mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- Set root password? [Y/n] Y
- New password:
- Re-enter new password:
- Password updated successfully!
- Reloading privilege tables..
- ... Success!
- By default, a MariaDB installation has an anonymous user, allowing anyone
- to log into MariaDB without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] y
- ... Success!
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] y
- ... Success!
- By default, MariaDB comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] y
- - Dropping test database...
- ... Success!
- - Removing privileges on test database...
- ... Success!
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n] y
- ... Success!
- Cleaning up...
- All done! If you've completed all of the above steps, your MariaDB
- installation should now be secure.
- Thanks for using MariaDB!
- [root@localhost kemin]#
fedora23上安装和运行MySQL server (MySQL 已经被MariaDB取代)的更多相关文章
- 在 Linux 实例上自动安装并运行 VNC Server
原文网址:https://help.aliyun.com/knowledge_detail/41181.html?spm=5176.8208715.110.11.4c184ae8mlC7Yy 您可以使 ...
- centos6.5上安装5.7版本的mysql
centos6.5上安装5.7版本的mysql https://www.cnblogs.com/lzj0218/p/5724446.html 设置root可以在本机以外的机器访问 mysql -uro ...
- (转载)WindowsXP上安装和运行神器SqlMap的步骤
在Windows XP上安装和运行SqlMap的步骤…… 1.首先下载SqlMap 点击下载. https://codeload.github.com/sqlmapproject/sqlmap/leg ...
- DB 查询分析器 6.03 在Windows 8 上安装与运行演示
DB 查询分析器 6.03 在Windows 8 上安装与运行演示 马根峰 ( 广东联合电子服务股份有限公司, 广州 510300) 摘要 ...
- Mac上安装PHP、Apache、MySQL
Mac自带php5.6版本,要升级到php7.3 步骤如下 1,brew 安装php ,如果没有安装,访问https://brew.sh/index_zh-cn安装在终端输入以下内容,不用指定安装ph ...
- 解决Navicat 出错:1130-host . is not allowed to connect to this MySql server,MySQL
1. 改表法. 可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要在localhost的那台电脑,登入MySQL后,更改 "mysql" 数据库里的 " ...
- HOSt ip is not allowed to connect to this MySql server, MYSQL添加远程用户或允许远程访问三种方法
HOSt ip is not allowed to connect to this MySql server 报错:1130-host ... is not allowed to connect to ...
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法
1. 改表法. 可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 " ...
- Android 手机上安装并运行 Ubuntu 12.04
ubuntu.sh脚本的原地址变动了,导致下载不了,现在更新了网盘地址.小技巧:遇到一些下载失效的时候可以试一试p2p下载工具(如 easyMule.迅雷等)试一试,说不定有人分享过~* —————— ...
随机推荐
- clickhouse高可用-节点宕机数据一致性方案-热扩容
1. 集群节点及服务分配 说明: 1.1. 在每个节点上启动两个clickhouse服务(后面会详细介绍如何操作这一步),一个数据分片,一个数据备份,为了确保宕机数据一致性,数据分片和数据备份不能同一 ...
- bzoj1047题解
[解题思路] (p.s.:刚看的时候一脸懵逼..没看见N已经给定了,还以为要用某些高明的方法..果然还是太naive了..) 两遍预处理,第一遍处理出f[i][j][0/1]表示第i行从j-n+1~j ...
- Vue源码思维导图------------Vue选项的合并之$options
本节将看下初始化中的$options: Vue.prototype._init = function (options?: Object) { const vm: Component = this / ...
- 学习android文档 -- Adding the Action Bar
1. Setting Up the Action Bar:users-sdk version 11以上可以使用holo主题:如果不使用holo主题,或者sdk版本较低,则需要在manifest文件的& ...
- (转)Linux 多线程编程---pthread_testcancel()等讲解
1. 所谓线程就是“一个进程内部的一个控制序列”.也就是一个进程内部的并行的基础! 2. Linux进程可以看成只有一个控制线程: 一个进程在同一时刻只做一件事情.有了多个控制线程 ...
- 基于VMWare配置VxWorks开发环境
常规VxWorks的开发环境都是基于目标开发板或目标机来构建的,但并非所有人都具备这样的条件,所以本文主要介绍如何基于vmware来构建VxWorks开发环境. Step 1. 安装vmware ...
- sea.js模块加载工具
seajs的使用 seajs是一个jS模块加载器,由淘宝前端架构师玉伯开发,它可以解决命名空间污染,文件依赖的问题.可以在一个js文件中引入另外一个js.require('a.js') 1.安装 np ...
- Vue 学习笔记之 —— 表单输入绑定
Vue 中文文档 https://cn.vuejs.org/ 不多说,直接上干货. v-model 指定,用来在input textarea 等表单元素上创建双向数据绑定,负责监听用户的输入事件,以及 ...
- CSS中复选框单选框与常用12px文字不对齐问题(转载)
原文 http://www.cnblogs.com/aobingyan/p/3823556.html,有删改 目前中文网站上面的文字,绝大多数网站的主流文字大小为12px,因为在目前高分辨率显示器屏 ...
- keepalived 参数中文说明
GLOBAL CONFIGURATION Global definitions global_defs { notification_email { admin@example.com } notif ...