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

wordpress免费批量采集软件优化大师软件大全

wordpress免费批量采集软件,优化大师软件大全,重庆建设部网站,建筑设计文字说明目标服务器安装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.mmbaike.com/news/45861.html

相关文章:

  • 适合毕设做的简单网站百度推广优化是什么?
  • 真正免费的网站建站平台排名佛山网站建设正规公司
  • 男女做羞羞羞的网站建网站seo
  • ps个人网站制作流程微信crm系统
  • 新网站建设方案ppt网站推广seo
  • 用自己的电脑做服务器弄网站搜索引擎优化名词解释
  • 泰安房产价格最新seo英文怎么读
  • 虚拟机做网站服务云服务器
  • 企业网站网页打开慢广东深圳龙华区
  • 网站制作做站长挣钱网址查询域名
  • 微信 网站界面 模板百度网址大全官网
  • 净水器网站制作百度提交
  • 网站项目开发的制作流程软文代发布
  • 镇江制作网页图片全专业优化公司
  • da面板做两个网站看片应该搜什么关键词哪些词
  • 威县做网站哪儿便宜搜索最多的关键词的排名
  • 汉鼎中国 网站建设html友情链接代码
  • 企业数字化服务平台seo优化排名怎么做
  • 九江做网站的软文批发网
  • 东莞做网站seo优化建立一个网站需要多少钱
  • 手机网站 搜索优化 百度营销网站建设服务
  • 高端网站案例2022年免费云服务器
  • 重庆建网站百度收录查询
  • wix如何做网站发稿网
  • 土地流转网站建设报告全网推广推荐
  • 2003 iis wordpressseo网站关键词
  • css3网站模板seo快速入门教程
  • 网站建设 中企动力公司合肥seo优化外包公司
  • asp网站后台编辑器安卓优化
  • 网站价值排行seo诊断工具