In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to install MariaDB offline under Linux", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn how to install MariaDB offline under Linux "this article.
MariaDB database management system is a branch of MySQL and is mainly maintained by the open source community. The purpose of licensing MariaDB with GPL is to be fully compatible with MySQL, including API and the command line, making it an easy replacement for MySQL.
Install MariaDB offline under Linux step 1 download rpm package: http://yum.mariadb.org/5.5.47/centos7-amd64/rpms/
You can download these four, or you can choose to download client and server. Generally, you can download two of them yourself.
Step 2 check whether the mariadb component is installed: rpm-qa | grep-I mariadb
Step 3 delete the component rpm-ev component name
The fourth step is to get the root permission, go to the folder of the rpm package, and execute the following two commands: rpm-ivh MariaDB-5.5.47-centos7-x86_64-server.rpmrpm-ivh MariaDB-5.5.47-centos7-x86_64-client.rpm
Step 5: log in to mariadbmysql-u-p
There is no need to enter a user name and password here because there is no user name and password at the beginning of initialization.
Error:Failed dependencies solution encountered when installing rpm package: if an error occurs during installation that indicates that you need to rely on the package, you can add one or two parameters to the installation process. Rpm-ivh MariaDB-5.5.47-centos7-x86_64-server.rpm-- nodepsrpm-ivh MariaDB-5.5.47-centos7-x86_64-client.rpm-- nodeps or rpm-ivh MariaDB-5.5.47-centos7-x86_64-server.rpm-nodeps-forcerpm-ivh MariaDB-5.5.47-centos7-x86_64-client.rpm-nodeps-- force
Note: "-" is the English state of the two horizontal bars, due to display problems, here is a Chinese horizontal bar, do not copy!
The significance of adding those two parameters is that if you install directly without analyzing the dependencies between packages, you will no longer prompt error: Failed dependencies: such an error.
In general, just add a parameter.
The above is all the contents of the article "how to install MariaDB offline under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.