分享一些日常收集到的开源软件、开发工具和技术知识。
restic

是一个快速、安全、高效的备份程序,支持 Linux、macOS 和 Windows 等操作系统。它提供了加密和去重功能,确保数据的保密性和完整性。restic 可以备份到多种后端存储,包括本地目录、SFTP 服务器、HTTP REST 服务器、Amazon S3、Google Cloud Storage 等。其设计原则包括易用、快速、可验证和高效,旨在简化备份和恢复过程。


https://github.com/restic/restic GitHub - restic/restic: Fast, secure, efficient backup program
https://github.com/schlagmichdoch/PairDrop


PairDrop是一个适用于所有平台的本地网络共享文件传输工具,其受苹果的AirDrop启发,通过点对点连接将图像、文档或文本发送到同一本地网络上的设备。 GitHub - schlagmichdoch/PairDrop: PairDrop: Transfer Files Cross-Platform. No Setup, No Signup.
#dd DD脚本
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh


root #默认登陆用户名
LeitboGi0ro #默认密码
22 #默认ssh端口


bash InstallNET.sh -debian 11 -swap '1024' -timezone "like Asia/Shanghai etc" -mirror 'http://ftp.hk.debian.org/debian/' --networkstack 'dual' --network 'static/manual'
Linux桌面docker系统


https://docs.linuxserver.io/images/docker-webtop/


更新系统
ubuantu/debian
apt update && apt upgrade -y

centos
yum update && yum upgrade -y

alpine
apk update && apk upgrade

安装docker
ubuantu/debian/centos
curl -fsSL https://get.docker.com | sh && ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin

systemctl start docker

systemctl enable docker

alpine
apk add docker docker-compose

rc-update add docker default

service docker start

一键部署命令
docker run -d \
--name=webtop \
--security-opt seccomp=unconfined \
--network=nginx-proxy-manager_default \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e SUBFOLDER=/ \
-e TITLE=Webtop \
-e CUSTOM_USER=root \
-e PASSWORD=nwxx123abcL \
-e LC_ALL=zh_CN.UTF-8 \
-e DOCKER_MODS=linuxserver/mods:universal-package-install \
-e INSTALL_PACKAGES=font-noto-cjk \
-v /root/webtop:/config \
-v /var/run/docker.sock:/var/run/docker.sock \
--device /dev/dri:/dev/dri \
--shm-size="2gb" \
--restart unless-stopped \
lscr.io/linuxserver/webtop:latest 

修改更多镜像系统

lscr.io/linuxserver/webtop:latest

lscr.io/linuxserver/webtop:ubuntu-xfce

lscr.io/linuxserver/webtop:fedora-xfce

lscr.io/linuxserver/webtop:arch-xfce

lscr.io/linuxserver/webtop:debian-xfce
Back to Top