V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
ps1aniuge
V2EX  ›  Linux

报告 2 连长, powershell 飞弹,在 centos8 前线工作正常,接受检阅。

  •  
  •   ps1aniuge · 2019-09-25 12:27:50 +08:00 · 2173 次点击
    这是一个创建于 1646 天前的主题,其中的信息可能已经有所发展或是发生改变。
    报告 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
    1 条回复    2021-02-18 13:48:25 +08:00
    refeng
        1
    refeng  
       2021-02-18 13:48:25 +08:00 via Android
    逗乐了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1236 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 76ms · UTC 18:01 · PVG 02:01 · LAX 11:01 · JFK 14:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.