There are many ways to install MongoDB. you can install MongoDB in source code or in CentOS using yum source. Because MongoDB is updated fast, I prefer the yum source installation method. The installation steps for 64-bit Centos are as follows:
1. Preparations
Run the yum co
There are a number of ways to install MongoDB, which can be installed in source code, and can be installed using Yum sources in CentOS. Because MongoDB update faster, I prefer to use the Yum source installation method. The installation steps under 64-bit CentOS are as follows:
1. Preparation work
Run the Yum command
There are many ways to install MongoDB, you can install the source code, and you can use the Yum source installation method in CentOS. Since MongoDB is updated more quickly, I prefer to use the Yum source installation method. The installation steps under 64-bit CentOS are as follows:1. Preparatory workRun the
# Check and Uninstall
The code is as follows
Copy Code
Rpm-qa|grep httpdRPM-E httpdRpm-qa|grep MySQLRPM-E MySQLRpm-qa|grep PHPRpm-e PHP
# Delete the default Apache
The code is as follows
Copy Code
Yum-y Remove httpd
# Find the fastest source
The code is as follows
Copy Code
Yum-y
The following describes how to install the software package in linux:
Rpm and yum Installation
First, I will introduce the rpm installation method and command
Rpm is a software package management method developed by RedHat. With rpm, we can easily install, query, uninstall, and upgrade software. However, the dependency between rpm packages is often cumbersome, es
ISO is used as the yum source to install the rpm package, yumrpm
1. Create a mount directory
Mkdir/media/centos
2. mount a dvd Disc
Mount-t auto/dev/cdrom/media/CentOS
3. Modify the yum repo configuration file
Ls-l/etc/yum. repos. d/
Backing up two files except the CentOS-Media.repo,
Modify CentOS-Media.repo files
Chan
CentOS6.2 use yum to install LAMP and phpMyadmin. This section describes how to use YUM configuration to install the LAMP environment under CentOs6.2. some brothers also like to use the compiled installation method. I personally think that if you do not customize the server, how to
Yum source for installing and configuring MySQL
# install MySQL yum source, below is the RHEL6 series mysql5.6 download Address:
wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
Below is the download address for the RHEL6 series mysql5.7:
wget http://repo.mysql.com//mysql57-community-release-el6-8.noarch.rpm
CentOS 6.51.yum Installation and source code compilation in the use of the time no difference, but the installation process is very different, yum only need 3 commands to complete, the source code needs 13 packages, but also have to compress the compilation, the steps are cumbersome, and as sometimes error, source code compiled installation takes about 2 hours, The advantage is that you can configure your o
CentOS is a common operating system for servers, but it is rarely used as a desktop environment because of the need for stability and no very fashionable updates. It is usually not necessary to install a desktop environment on the server, and to install CentOS (i.e. minimal CentOS) with minimal installation. However, it is also very convenient to install the desk
RedHatEnterpriseLinux5.2 the reason for installing yum is mainly because the previous configuration of cacti server is depressing about the dependency between the rpm installation package. Yum can also be installed based on ftp and local files, which is basically the same. If time is limited, it will not be installed. Requirements Server: yum-3.2.8-9.el5yum-rhn-p
About using Yum "The Program Package-cleanup is... when using yum, there is always a prompt: The program package-cleanup is found in the Yum-utils package. www.2cto.com or prompt: There are unfinished transactions remaining. you might consider running Yum-complete-transaction first to finish them. the program
Tags: install tomcat restrict DAP install Tomcat user Management Add httpd password(summary) CentOS 6.x uses Yum to quickly install Apache+php+tomcat (JSP) +mysqlPS: This is lazy yum quick-install method for development and test e
Label:Installation:There is no normal installation of MySQL Mysql-sever files in the CentOS 7 yum source, which needs to be downloaded from the official website ( by installing MySQL's yum container and installing MySQL via Yum)Note: Before installing, you need to uninstall all MARIADB software (fully compatible with MySQL's other database, written by MySQL creat
Use the yum command provided by CentOS Linux to install and upgrade the library.
1. change yum source to NetEase source to increase speed
Vi/etc/yum. repos. d/CentOS-Base.repoThe changes are as follows:
# CentOS-Base.repo
#
# This file uses a new release list system developed by Lance Davis for CentOS.
# The mirro
Install MongoDB 3.4 on yum in CentOS 7
Install MongoDB 3.4 on yum in CentOS 7.
Step 1 check whether the yum source is configured for Mongodb
Switch to the yum directory cd/etc/yum. repo
System Environment: Windows 7 SP1
Ruby version: 1.9.2-P0
Devkit version: 4.5?
When you install eventmachine in this environment, errors are always reported.
Building native extensions. This cocould take a while...Error: Error installing eventmachine:Error: failed to build gem native extension.
This prompt keeps going, and there is still one more difficult error, which is the c compilation error.
The default version is too low, manual installation has some trouble, want to use Yum install the following scenarios can be used:1. Check the currently installed PHP package Yum List installed |grep php If there are PHP packages installed, first remove them yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd
Typically, you use Yum to install a dependency package relationship, and if one server is unable to connect to the extranet or the Yum source is not set up, you want to download the RPM packages from another server and then install them. So how do you use the Yum tool to dow
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.