分类 默认分类 下的文章
下载# 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

ubuntu安装cursor先要安装一个fuse,这里一定要装libfuse2,装fuse的话直接挂了sudo apt-get install libfuse2去下一个cursor:wget https://downloads.cursor.com/production/client/linux/x64/appimage/Cursor-0.46.11-ae378be9dc2f5f1a6a1a220c6e25f9f03c8d4e19.deb.glibc2.25-x86_64.AppImage移动到/opt文件夹mv Cursor-0.46.11-ae378be9dc2f5f1a6a1a220c6e25f9f03c8d4e19.deb.glibc2.25-x86_64.AppImage /opt/Cursor.AppImage改一下权限sudo chmod +x /opt/cursor.appimage写一个启动脚本nano cursor.sh内容如下:#!/bin/bash /opt/cursor.appimage --no-sandbox给他一个运行权限chmod +x curs...
ubuntu安装cursor

ubuntu安装cursor