echo "deb [trusted=yes] https://mirrors.china.12306.work/repository/ysicing/apt/ /" | tee /etc/apt/sources.list.d/ysicing.list apt-get update
cat > /etc/yum.repos.d/ysicing.repo << EOF [ysicing] name=ysicing Repo baseurl=https://mirrors.ysicing.net/ysicing/yum/ enabled=1 gpgcheck=0 EOF yum makecache