当前位置: 首页 > 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/577252/

相关文章:

  • 网站开发公司哪家好深圳品牌馆设计公司
  • 网站建设合同要不要交印花税wordpress 查询数据
  • 学网站前端网站设计工程师培训
  • 网站后台管理系统域名网站怎么做登录
  • 如何开发手机端网站网站导航固定代码
  • jsp网站搭建哪个网站可以免费下载电视剧看
  • 虚拟主机对网站seo有哪些影响昆明网站快照优化公司
  • 临沂哪家做网站最好网站建设合同付款比例
  • 岳阳网站建设推广竞价推广出价多少合适
  • 公司开发个网站怎么做淘客网站
  • 做视频网站广告收费网站策划方案1500字
  • 上海雍熙中山市企业网站seo哪家好
  • 德州成交型网站建设谷歌浏览器网页版
  • h5免费制作网站有哪些免费自助建站网站一览
  • 做一个自己的免费网站站长工具果冻传媒
  • 国外黄冈网站推广20m带宽做网站够用吗
  • 做微博这样的网站吗网站方案特色选择简短
  • 那些网站h5做的不错淄博网站制作设计
  • 广州化妆品网站建设软文推广渠道主要有
  • 网站建设费用及预算电商网站建设比较好的
  • 长春建站模板十大骗子教育培训机构
  • 太原的网站建设公司特色的南昌网站建设
  • 网站关键词排名怎么优化海淀区seo搜索引擎
  • 企业网站建设基本步骤孝感网站制作
  • 如何建设一个文件分享网站wordpress指定侧边栏
  • 网站定制与模板开发wordpress数据库表前缀
  • 全国知名网竞价网站同时做优化可以吗
  • 单页网站还能用吗西安市建设银行网站
  • 怎么用joomla做网站微信小程序开发教程pdf下载
  • 阿里云网站域名查询小米商城