分类 默认分类 下的文章
下载# X86 wget https://github.com/doreamon-design/clash/releases/download/v2.0.24/clash_2.0.24_linux_amd64.tar.gz # ARM wget https://github.com/doreamon-design/clash/releases/download/v2.0.24/clash_2.0.24_linux_arm64.tar.gz解压tar -vxf clash_2.0.24_linux_arm64.tar.gz复制到程序文件cp clash /usr/bin/创建配置文件mkdir -p /etc/clash/ nano /etc/clash/config.yaml下载Country.mmdbwget -O /etc/clash/Country.mmdb https://cdn.jsdelivr.net/gh/Dreamacro/maxmind-geoip@release/Country.mmdb启动服务clash -d /etc/clash/设置为系统服务(可选)su...
ubuntu命令行安装clash

ubuntu命令行安装clash

1. 下载nginx和fancyindex的源码并解压wget http://nginx.org/download/nginx-1.28.0.tar.gz wget https://github.com/aperezdc/ngx-fancyindex/releases/download/v0.5.2/ngx-fancyindex-0.5.2.tar.xz tar -xzvf nginx-1.28.0.tar.gz && tar -xvJf ngx-fancyindex-0.5.2.tar.xz2. 新建一个Dockerfilenano Dockerfile内容如下FROM alpine:latest # 维护者信息 LABEL maintainer="kob@qq.com" WORKDIR /root # 复制 Nginx 源码 COPY ./nginx-1.28.0 /root/nginx-1.28.0 COPY ./ngx-fancyindex-0.5.2 /root/ngx-fancyindex-0.5.2 # 创建系统用户和组 ...
构建一个包含fancyindex的nginx docker镜像

构建一个包含fancyindex的nginx docker镜像

把ubuntu搞得像macsudo apt install gnome-shell-extension-manager gnome-tweaks git curl wget sassc htop neofetch -y sudo apt install flatpak -y sudo apt install gnome-software-plugin-flatpak flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo sudo reboot now到www.pling.com/p/1102582/下载mac图标将文件解压后,将整个文件夹复制到~/.icons目录git clone https://github.com/vinceliuice/WhiteSur-wallpapers.git cd WhiteSur-wallpapers/ sudo ./install-gnome-backgrounds.sh git clone https://githu...
把ubuntu搞得像mac

把ubuntu搞得像mac

添加initramfs脚本,让云固件能启动linux先安装qemu-utilssudo -i apt update apt install qemu-utils转到/etc/initramfs-tools目录cd /etc/initramfs-tools将mwtools工具挂载到任何一个方便的位置,我这里是挂载到了我的主目录下面,mwtools目录自己mkdirmount /dev/sdb1 /home/kob/mwtools将几个文件拷贝过来cp /home/kob/mwtools/mwtools/distros/initramfs-tools/initramfs.conf . cp /home/kob/mwtools/mwtools/distros/initramfs-tools/modules . chmod +x modules cd hooks cp /home/kob/mwtools/mwtools/distros/initramfs-tools/hooks/mwnbd . chmod +x mwnbd cd .. cd scripts/local-top cp /h...
添加initramfs脚本,让云固件能启动linux

添加initramfs脚本,让云固件能启动linux