技术解析

报告 2 连长, powershell 飞弹,在 centos8 前线工作正常,接受检阅。
0
2021-06-18 18:25:23
idczone
报告 2 连长,powershell 飞弹在,centos8 最小安装中,工作正常。测试完毕,接受检阅。

powershell 飞弹在 centos8 中的工作参数,和 centos7 相同,为:

centos7,centos8,安装 powershell:
curl -o /etc/yum.repos.d/microsoft.repo https://packages.microsoft.com/config/rhel/7/prod.repo
sudo yum remove -y powershell #删除旧版
sudo yum install -y powershell
pwsh -c 'mkdir -p "$env:HOME/.config/powershell" '
pwsh -c 'Add-Content -Value "Set-PSReadlineOption -EditMode Windows" -LiteralPath $profile '
pwsh -c 'Add-Content -Value "`nSubsystem powershell /usr/bin/pwsh -sshs -NoLogo -NoProfile" -LiteralPath /etc/ssh/sshd_config '

一键安装,并炸掉鬼子尻之按钮:
curl -L https://github.com/chuanjiao10/kasini3000_agent_linux/raw/master/centos7_install_powershell.bash | /usr/bin/bash

win,linux powershell 交流群分享 QQ 群号=183173532
逗乐了

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服