马杀鸡.md 1.5 KB

服务器账号信息

  • IP: 192.168.110.85
  • 用户名:php
  • 密码:Php.123456

注意事项,:

  • 执行命令时如果报网络错误则需要开启代理:
    • export https_proxy=http://192.168.110.10:7897 http_proxy=http://192.168.110.10:7897 all_proxy=socks5://192.168.110.10:7897
  • 如需关闭代理:
    • export https_proxy= http_proxy= all_proxy=

配置 zsh 等

  1. 配置 zsh

    sudo apt install zsh -y
    
  2. 配置 oh-my-zsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
  3. 配置 zsh-autosuggestions

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    
  4. 配置 zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    
  5. 配置 .zshrc

    vim ~/.zshrc
    # 在文件末尾添加以下内容
    plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
    
  6. 启用 zsh

    # 修改默认zsh
    chsh -s $(which zsh)
    # 启用zsh
    source ~/.zshrc
    # 查看当前shell
    echo $SHELL
    

安装宝塔

# 安装宝塔
wget -O install.sh https://download.bt.cn/install/install_lts.sh && sudo bash install.sh ed8484bec
# 运行bt修改你的信息
bt