简体   繁体   English

在Windows Azure中运行CentOS Linux的虚拟机上安装MongoDB

[英]Install MongoDB on a virtual machine running CentOS Linux in Windows Azure

Primary Content Reference: " http://www.windowsazure.com/en-us/documentation/articles/store-mongodb-virtual-machines-linux-install-centos/ " 主要内容参考:“ http://www.windowsazure.com/en-us/documentation/articles/store-mongodb-virtual-machines-linux-install-centos/

Beginner at linux cmd and MongoDB on Virtual Machines here. 此处是Linux cmd和Virtual Machines上的MongoDB的初学者。

The Tutorial: Install MongoDB on a virtual machine running CentOS Linux in Windows Azure 教程:在Windows Azure中运行CentOS Linux的虚拟机上安装MongoDB

Is an easy follow until you reach 轻松跟踪,直到您到达

The Section: Install and run MongoDB on the virtual machine 本节:在虚拟机上安装和运行MongoDB

As someone use to using a x64 Win8 OS I am completely lost on how I am suppose to bypass the permission denial that won't allow me to touch 10gen.repo or sudo yum install mongo-10gen mongo-10gen-server . 当有人习惯使用x64 Win8 OS时,我完全迷失了如何绕过不允许我touch 10gen.reposudo yum install mongo-10gen mongo-10gen-server的权限拒绝。 Can someone please respond with a ELI5 format? 有人可以用ELI5格式回复吗?

Related Resources: " https://unix.stackexchange.com/questions/104916/how-do-you-configure-package-management-system-yum-for-mongodb " 相关资源:“ https://unix.stackexchange.com/questions/104916/how-do-you-configure-package-management-system-yum-for-mongodb

You need to create the repository file with sudo as well. 您还需要使用sudo创建存储库文件。

Try this: 尝试这个:

$ echo "[MongoDB]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
enabled=1" | sudo tee -a /etc/yum.repos.d/10gen.repo

$ sudo yum update

And then: 接着:

sudo yum install mongo-10gen mongo-10gen-server

Hope it helps 希望能帮助到你

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows Server上以Azure虚拟机运行的Linux容器 - Linux Container on Windows Server Running as Azure Virtual Machine 在Windows上运行Linux虚拟机的建议 - Advice for running Linux Virtual Machine on Windows 如何在Azure中连接到在Linux虚拟机上运行的mysql服务器 - how to connect to a mysql server running on a linux virtual machine in azure 为Azure云服务启用HTTPS(运行Linux Server的虚拟机) - Enable HTTPS for Azure cloud service (Virtual Machine running Linux Server) 无法在Windows Hyper-V的Linux Redhat 6虚拟机上安装linux ic - Cannot install linux ic on Linux redhat 6 virtual machine on windows hyper-v 如何将 Jupyter notebook 安装到 Linux 虚拟机中 - How to install Jupyter notebook into a linux virtual machine 在 Windows 机器上运行 Linux Docker 容器是否有先决条件? - Is there a prerequisite to running a Linux Docker container on a Windows machine? 在windows azure中设置对Windows虚拟机的ssh或命令行访问 - Setting ssh or commandline access to windows virtual machine in windows azure Kurento-WebRTC在Linux虚拟机Azure服务器上不起作用 - Kurento - WebRTC does not work on linux virtual machine azure server Azure上的Linux虚拟机 - 如何应用IP限制 - Linux Virtual Machine at Azure - how to apply IP restriction
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM