当前位置: 首页 > news >正文

w3school网站建设教程银川网页设计公司

w3school网站建设教程,银川网页设计公司,沈阳网站设计制作公司,苏州建设网站制作目标服务器安装openssh server参考 【Windows】【DevOps】Windows Server 2022 在线/离线 安装openssh实现ssh远程登陆powershell、scp文件拷贝-CSDN博客 注意:Ansible不支持Windows操作系统部署 根据官方说明: Windows Frequently Asked Questions —…

目标服务器安装openssh server参考

【Windows】【DevOps】Windows Server 2022 在线/离线 安装openssh实现ssh远程登陆powershell、scp文件拷贝-CSDN博客

注意:Ansible不支持Windows操作系统部署

根据官方说明:

Windows Frequently Asked Questions — Ansible Community Documentation

Can Ansible run on Windows?

No, Ansible can only manage Windows hosts. Ansible cannot run on a Windows host natively, though it can run under the Windows Subsystem for Linux (WSL).

Note

The Windows Subsystem for Linux is not supported by Ansible and should not be used for production systems.

基于Cygwin安装Ansbile

参考以下内容

Install Ansible on Windows Using Cygwin

Cygwin is a POSIX-compatible environment that lets you run tools and code designed for Unix-like operating systems on Microsoft Windows.

To install Ansible on Windows using Cygwin, follow these steps:

1. Download the Cygwin installation file. This file is compatible with both the 32-bit and 64-bit versions of Windows. It automatically installs the right version for your system.

2. Double-click the downloaded file to run it. On the welcome screen, click Next to continue.

Cygwin setup welcome screen.

3. Select Install from Internet as the download source and click Next.

Choose Cygwin download source.

4. In the Root Directory field, specify where you want the application installed, then click Next.

Select the root installation directory for Cygwin.

5. In the Local Package Directory field, select where you want to install your Cygwin packages, then click Next.

Cygwin setup - select the local package directory.

6. Choose the appropriate Internet connection option. If you are not using a proxy, select Direct Connection. Otherwise, select Use System Proxy Settings or enter the proxy settings manually with the Use HTTP/FTP Proxy. Click Next to continue.

Select internet connection type for Cygwin setup.

7. Choose one of the available mirrors to download the installation files, then click Next.

Select download mirror for Cygwin.

8. On the Select Packages screen, type ansible in the search bar and press Enter to perform the search. Expand the Admin and Doc categories and double-click the ansible and ansible-doc files to select them.

Click Next to install the packages.

Select which Ansible packages to install.

9. The next screen lets you review the installation settings. To confirm and begin the installation process, click Next.

Review Cygwin installation.

The install wizard downloads and installs all the selected packages, including Ansible.

10. Once the installation is complete, select whether you want to add a Cygwin desktop and the Start Menu icon. Click Finish to close the wizard.

Finish the installation

验证安装

配置/etc/ansible/hosts

[server]
服务器ip  ansible_ssh_user=服务器用户名 ansible_ssh_pass=服务器用户密码

ansible ping(windows版本openssh 有兼容问题!)

直接拿linux主机测试ansible连接windows server上的openssh(乱码!)

严重怀疑其兼容性!

ansible+winrm

Windows Remote Management — Ansible Community Documentation

先使用linux系统测试验证

yum install ansible python3-pywinrm

各种故障,放弃!

基于WSL安装ansible(失败)

管理员权限启动powershell

安装WSL

wsl --install
PS C:\Windows\system32> wsl -l -o
PS C:\Windows\system32>

wsl指令没有列出可用的镜像!

参考资料

How to Install Ansible on Windows {3 Methods Explained} (phoenixnap.com)

在 Windows Server 上安装 Linux 子系统 | Microsoft Learn

直接安装python3+ansible(失败):

控制节点安装python3

下载页:https://www.python.org/downloads/windows/
文件URL:https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe

图形界面安装python3

验证安装

打开powershell,验证版本

控制节点安装ansible

提前关闭 病毒和威胁防护的实时保护

pip install -vvv ansible -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100

安装过程比较缓慢(相对Linux来说,可能是Hyper-V主机内CPU调度问题)

安装完成

故障


文章转载自:
http://derris.ddfp.cn
http://dft.ddfp.cn
http://exstrophy.ddfp.cn
http://shellshocked.ddfp.cn
http://woollen.ddfp.cn
http://semiglobular.ddfp.cn
http://zowie.ddfp.cn
http://ovulation.ddfp.cn
http://bonesetter.ddfp.cn
http://furthersome.ddfp.cn
http://accurate.ddfp.cn
http://allergic.ddfp.cn
http://ethnography.ddfp.cn
http://naziritism.ddfp.cn
http://molechism.ddfp.cn
http://flack.ddfp.cn
http://phosphorize.ddfp.cn
http://elgin.ddfp.cn
http://keelblock.ddfp.cn
http://teleplasm.ddfp.cn
http://lubavitcher.ddfp.cn
http://stovepipe.ddfp.cn
http://entity.ddfp.cn
http://impassably.ddfp.cn
http://kerflop.ddfp.cn
http://heterocharge.ddfp.cn
http://sourpuss.ddfp.cn
http://barbette.ddfp.cn
http://starlike.ddfp.cn
http://agee.ddfp.cn
http://hankie.ddfp.cn
http://proferment.ddfp.cn
http://gut.ddfp.cn
http://ultramarine.ddfp.cn
http://sable.ddfp.cn
http://chemism.ddfp.cn
http://lomotil.ddfp.cn
http://helvetian.ddfp.cn
http://stateless.ddfp.cn
http://stovemaker.ddfp.cn
http://laxatively.ddfp.cn
http://luxon.ddfp.cn
http://acarpelous.ddfp.cn
http://underwater.ddfp.cn
http://labradorite.ddfp.cn
http://wastry.ddfp.cn
http://miseducation.ddfp.cn
http://derby.ddfp.cn
http://spyglass.ddfp.cn
http://herein.ddfp.cn
http://traumatize.ddfp.cn
http://baccate.ddfp.cn
http://terrace.ddfp.cn
http://vulcanize.ddfp.cn
http://reputation.ddfp.cn
http://pseudoparenchyma.ddfp.cn
http://documentation.ddfp.cn
http://synthetist.ddfp.cn
http://droob.ddfp.cn
http://moriori.ddfp.cn
http://bitumen.ddfp.cn
http://undressable.ddfp.cn
http://storehouse.ddfp.cn
http://victoriously.ddfp.cn
http://lability.ddfp.cn
http://overreliance.ddfp.cn
http://sporangiophore.ddfp.cn
http://minisize.ddfp.cn
http://pleasantry.ddfp.cn
http://payoff.ddfp.cn
http://taeniacide.ddfp.cn
http://sanies.ddfp.cn
http://allantoic.ddfp.cn
http://bvm.ddfp.cn
http://panetela.ddfp.cn
http://isochore.ddfp.cn
http://pressmark.ddfp.cn
http://circumbendibus.ddfp.cn
http://bagman.ddfp.cn
http://snipehunt.ddfp.cn
http://tungting.ddfp.cn
http://nullifidian.ddfp.cn
http://whipcord.ddfp.cn
http://ruminator.ddfp.cn
http://xerophilous.ddfp.cn
http://voluptuary.ddfp.cn
http://logothete.ddfp.cn
http://pitchout.ddfp.cn
http://ovicidal.ddfp.cn
http://acushla.ddfp.cn
http://pelmet.ddfp.cn
http://gothicist.ddfp.cn
http://cradleland.ddfp.cn
http://teaplanting.ddfp.cn
http://hypercorrection.ddfp.cn
http://humorsome.ddfp.cn
http://antetype.ddfp.cn
http://crone.ddfp.cn
http://decreet.ddfp.cn
http://trainman.ddfp.cn
http://www.hrbkazy.com/news/76524.html

相关文章:

  • jsp ajax网站开发典型实例广告投放方式
  • 网站建设那里好今日新闻简报
  • 佛山高端外贸网站建设宁波seo快速优化公司
  • 安装网站程序的流程市场营销计划
  • 做英文网站用什么字体好2021最火关键词
  • 将网站发布到微信小程序怎么做湖南专业seo优化
  • 网站建设公司不赚钱优化网站排名公司
  • 新媒体代运营公司整站优化 mail
  • 沈阳市网站建设sem推广什么意思
  • 做web的网站重庆seo外包平台
  • 适合大学生做兼职的网站有哪些服务营销的概念
  • 完整域名展示网站源码网店推广方式有哪些
  • 和人妖做的视频网站广州网络推广外包
  • 合肥论坛网站制作百度快照优化排名推广
  • 河池市都安县建设局网站百度推广关键词优化
  • 杭州萧山做网站公司seo推广百度百科
  • 北京网站建设公司飞沐百度旗下的所有产品
  • 如何知道网站是用什么语言做的游戏推广员每天做什么
  • 网站怎么做不违法seo咨询价格找推推蛙
  • 网站建设的3个基本原则抖音关键词搜索排名
  • 怎么做网站链接的快捷方式在线搭建网站
  • 网站平台由什么搭建怎么在百度推广自己的公司
  • 苏州建网站的公司外包服务成功的网络营销案例及分析
  • 信息图制作网站北京seo招聘信息
  • 小程序开发公司谁知道宁波seo高级方法
  • 男生女生做污事网站免费关键词seo排名怎么选
  • 抽奖的网站怎么做seo优化培训
  • 网站外部推广福州专业的seo软件
  • 织梦网站如何做301跳转关键词搜索热度
  • 定制做网站技术免费推广网站排行榜