rpm包安装的mysql怎样添加多实例
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rpm包安装的mysql怎样添加多实例相关的知识,希望对你有一定的参考价值。
参考技术A rpm包安装的mysql怎样添加多实例1、yum安装mysql:
[root@localhost Desktop]# cat /etc/yum.repos.d/rhel-local.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file://"/media/RHEL_6.1 i386 Disc 1"/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@localhost Desktop]# yum install mysql
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
rhel-source | 4.0 kB 00:00 ...
rhel-source/primary_db | 2.4 MB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i686 0:5.1.52-1.el6_0.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql i686 5.1.52-1.el6_0.1 rhel-source 898 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 898 k
Installed size: 2.3 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : mysql-5.1.52-1.el6_0.1.i686 1/1
duration: 712(ms)
Installed products updated.
Installed:
mysql.i686 0:5.1.52-1.el6_0.1
Complete!
[root@localhost Desktop]#
Manjaro为包管理器pacman和yaourtyay 添加多线程下载
用轻量级的axle代替了默认的wget来下载升级包。
1. paman添加多线程
vim /etc/pacman.conf如果有类似xfercommand的话,注释掉,加上下面这句
XferCommand = /usr/bin/axel -n 15 -o %o %u
以上是关于rpm包安装的mysql怎样添加多实例的主要内容,如果未能解决你的问题,请参考以下文章