跳过正文
  1. 博客/

Linux系统配置常用链接列表

·413 字·1 分钟· ·
资料汇总 linux 工具
目录

Ubuntu
#

CentOS
#

Download (centos.org)

镜像仓库
#

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #最好还是先备份一下,真的~

sudo vi /etc/apt/sources.list

ubuntu | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

上海交通大学 Linux 用户组 软件源镜像服务 (sjtu.edu.cn)

常用软件:tmux;ssh;build-essential;

python和pip
#

docker
#

代理
#

Releases · trojan-gfw/trojan (github.com)

zsh相关
#

ohmyzsh没有代理安装起来总是失败,可以换用下面的方法:

wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh
chmod +x install.sh
vim install.sh
# 修改git仓库为gitee,找到下面两行并进行修改
REPO=${REPO:-ohmyzsh/ohmyzsh}
REMOTE=${REMOTE:-https://github.com/${REPO}.git}
==>
REPO=${REPO:-mirrors/oh-my-zsh}
REMOTE=${REMOTE:-https://gitee.com/${REPO}.git}
# 保存后执行
sh install.sh
  • powerlevel10k: A Zsh theme (github.com)

  • 插件

    # zsh-syntax-highlighting 需要代理
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    # zsh-autosuggestions 需要代理
    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    
    # vim ~/.zshrc
    plugins=(
            git
            zsh-autosuggestions
            zsh-syntax-highlighting
            z
            sudo
            # tmux
    )
    

待续~
#