b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

python installation aborted_advanced installation_updating a(2)

电脑杂谈  发布时间:2017-05-28 00:07:45  来源:网络整理

安装Ansible配置Ansible在命令行中使用Ansible获取帮助

如果你想使用Ansible来管理现有的设备和设施,你可以使用操作系统的安装包管理软件来安装他,这样你就可以在操作系统更新的时候更新Ansible版本。但是,通常操作系统的软件版本都比较旧,使用其他的方法可以获取到更新的Ansible版本,这也意味这你使用的版本是稳定版本,而不是测试或者开发版本。

如果要获取最新版本,可以使用python的pip包安装工具,当Ansible的版本更新的时候,他就会发布到pip上面,所以,如果你的pip及时更新,那么你总是能获取到最新版本的Ansible版本。

如果你想开发大量的Ansible模块来回馈Ansible,你可以下载check-out版本。

大部分时下的linux发行版都有自己的安装包管理工具,这让安装Ansible变的非常简单,通常只需要一个命令就可以了,而且软件还可以随操作系统的更新而更新,虽然版本可能会落后1-2个。下面是一些操作系统和安装命令,如果你使用的是不同的操作系统,你可以查看一下你自己操作系统的用户指南中关于发行包列表方面的内容。

Fedora, RHEL, CentOS, 以及他们的衍生版本:yum install ansible
Ubuntu, Debian, 以及他们的衍生版本: $ apt-get install ansible
Installing from pip
Pip, like a distribution's package manager, will handle finding, installing, and
updating the packages you ask for and its dependencies. This makes installing
Ansible via pip as easy as installing from your package manager. It should be noted,
however, that it will not be updated with your operating system. Additionally,
updating your operating system may break your Ansible installation; however,
this is unlikely. The following is the command to install Ansible via pip:
$ pip install ansible
Installing from the source code
Installing from the source code is a great way to get the latest version, but it may not
be tested as correctly as released versions. You also will need to take care of updating
to newer versions yourself and making sure that Ansible will continue to work with
your operating system updates. To clone the git repository and install it, run the
following commands. You may need root access to your system to do this:
$ git clone git://github.com/ansible/ansible.git
$ cd ansible
$ sudo make install
从pip安装Ansible


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/shouji/article-49614-2.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...