V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
samin
V2EX  ›  程序员

当我拿到一台全新 Linux 服务器我会做什么

  •  
  •   samin · Feb 7, 2023 · 15099 views
    This topic created in 1178 days ago, the information mentioned may be changed or developed.
    1. 修改网卡配置为固定 ip
    2. 安装 openssh-server 并打开 root 远程访问配置
    3. 安装 oh-my-zsh 配置主题,安装自动补全、语法高亮插件
    4. 修改 vim 配置,增加行数显示
    5. 安装 docker 环境,增加 docker-compose 插件

    各位还会干些啥

    via blog

    113 replies    2023-02-08 11:31:36 +08:00
    1  2  
    limbo0
        101
    limbo0  
       Feb 7, 2023
    @nrtEBH #2 alias vim = ‘nvim’
    herozzm
        102
    herozzm  
       Feb 7, 2023
    没业务 就关机吃灰
    ragnaroks
        103
    ragnaroks  
       Feb 7, 2023
    允许 root 用户远程登入,修改 root 密码为 root ,卸载 iptables 、nftables 等,安装 redis 并且不设置密码,安装 PHP 并以 root 用户运行一个允许调用其它方法的在线文本编辑器,最后发 IP 到 reddit 求压力测试
    deorth
        104
    deorth  
       Feb 7, 2023 via Android
    rm -rf /
    spirit1431007
        105
    spirit1431007  
       Feb 8, 2023
    @ragnaroks #103 好家伙,buff 叠满
    kkbblzq
        106
    kkbblzq  
       Feb 8, 2023
    不应该是装个探针 /监控然后放着吃灰吗😜
    windeaker
        107
    windeaker  
       Feb 8, 2023
    vim /etc/apt/sources.list
    wonderblank
        108
    wonderblank  
       Feb 8, 2023
    ansible-playbook -i hosts setup.yml
    metalvest
        109
    metalvest  
       Feb 8, 2023 via Android
    @smilenceX 那 docker 别用了,都是别人预先配好的
    linvaux
        110
    linvaux  
       Feb 8, 2023
    0. apt update && apt upgrade -y
    1. 装 jdk
    2. 装 conda
    dolphintwo
        111
    dolphintwo  
       Feb 8, 2023
    mkdir -p ~/.ssh
    cat << EOF >> ~/.ssh/authorized_keys
    ssh-rsa ***********
    EOF
    HamQ
        112
    HamQ  
       Feb 8, 2023
    装个 Windows
    samin
        113
    samin  
    OP
       Feb 8, 2023
    @javlib 使用场景,我这里应该加个背景,讨论范围为开发、测试环境搭建
    1  2  
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5280 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 80ms · UTC 03:24 · PVG 11:24 · LAX 20:24 · JFK 23:24
    ♥ Do have faith in what you're doing.