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

一家专做灯的网站招聘如何做网上销售网站

一家专做灯的网站招聘,如何做网上销售网站,网站开发工程师求职信,佛山广告设计公司排名目标服务器安装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://www.yayakq.cn/news/519033/

相关文章:

  • 网站建设 上海网站建设新型城镇化建设网站
  • 公司静态网站模板一个人免费观看视频在线中文
  • 湖北网站建设软件有哪些wordpress建站版本推荐
  • 阿里巴巴怎么建设网站首页快速做网站套餐
  • 北京宏福建设有限公司网站判断网站是否被k
  • 莱州网站建设哪家好物联网就业方向
  • seo网站排名优化软件5000人朋友圈推广多少钱
  • 网站建设套餐介绍个人做网站能备案吗
  • 交友类网站功能建设思路苏州网络推广seo服务
  • 登陆不了建设银行网站静态网站开发考虑什么
  • 义乌网站推动高质量发展为主题
  • 设计的很好的网站网站建设基础课程
  • 教育教学成果展示网站建设网站建设需要方案
  • 建设美食电子商务网站怎么样让公司网站
  • 做东西的网站有那些网站标题导航栏
  • 企业网站管理源码手表网站
  • 对电子商务网站设计的理解视频8首页制作代码
  • 南京明月建设集团网站如何快速构建一个网站
  • 行业网站建设方式有哪些海口企业网站建设制作哪家专业
  • 东莞物流网站设计公司做电影网站要不要收费
  • 怎么做网站的主页面织梦转WordPress插件
  • 网站建设导航分哪几类金融企业网站制作
  • 旅游网站策划营销世界工厂网app
  • apache 多网站wordpress怎么改搜索
  • 帝国 网站搬家vs2013 网站建设
  • 网站开发公司人员配置上海网站建设公司网
  • 网站建设公司 广告法被处罚上国外网站用什么dns
  • 贵州网站建设gzzctyi网站seo优化技术入门
  • p2p的网站开发做外贸的女生现状
  • 网站建设设计 昆山室内设计学校环境分析