单文件
mkisofs -o mirr.iso /path/to/file
目录
mkisofs -r -o mirr.iso /path/to/dir
单文件
mkisofs -o mirr.iso /path/to/file
目录
mkisofs -r -o mirr.iso /path/to/dir
针对 manjaro ,但理论上适用于大多数 linux 系统。
先用 live 启动盘引导进入系统,按如下操作进行。
[manjaro@manjaro ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 4.0 0 100% /run/miso/sfs/livefs
loop1 squashfs 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squashfs 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squashfs 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1 vfat FAT32 4A57-1A41
├─sda2 ext4 1.0 5a7f0113-2ab5-4a25-98a3-358be7bbd046
├─sda3 ext4 1.0 652bd7bc-3c24-4179-899a-46695bdea7ae
├─sda4 ext4 1.0 2b250d50-80b3-4793-b886-6a3195f0c0a4
├─sda5 ntfs DA18EBFA09C1B27D
├─sda6 ntfs D47AD6687AD646C0
└─sda7 swap 1 28f96a74-9308-4885-a65b-dc2f6bed4fa5
[manjaro@manjaro ~]$ sudo -i
[manjaro ~]# mount /dev/sda4 /mnt/
[manjaro ~]# mount /dev/sda1 /mnt/boot/
efi/ initramfs-5.10-x86_64-fallback.img intel-ucode.img memtest86+/
grub/ initramfs-5.10-x86_64.img linux510-x86_64.kver vmlinuz-5.10-x86_64
[manjaro ~]# mount /dev/sda1 /mnt/boot/efi/
[manjaro ~]# cd /mnt/
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts
[manjaro mnt]# modprobe efivarfs
[manjaro mnt]# chroot /mnt/
[manjaro /]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
It's output will be used to detect bootable binaries on them and create new boot entries.
Found Linux Mint 20.1 Ulyssa (20.1) on /dev/sda2
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro /]#
git clone xxx
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt update
sudo apt install erlang
切换 alpine 源:
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
bash 环境变量
echo "export GO111MODULE=on" >> ~/.profile
echo "export GOPROXY=https://goproxy.io" >> ~/.profile
source ~/.profile
在 ~/.config/kwinrc
文件中添加以下代码:
[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu
然后用以下命令重新加载KWin:
qdbus org.kde.KWin /KWin reconfigure
或者直接运行:
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
qdbus org.kde.KWin /KWin reconfigure
find /var/log/ -mtime +7 -name "*.log" -exec rm -rf {} \;
sudo apt install -y x11vnc
x11vnc -storepasswd
询问写入文件时选
y
x11vnc -usepw -noxdamage -ncache 10
继续阅读
-usepw
默认使用~/.vnc/passwd
,指定密码配置x11vnc -rfbauth /path/to/passfile
至此已经可以使用 vnc 客户端连接了,默认端口
5900
名称 | 描述 | 版本 | 作者 |
---|---|---|---|
AutoSaveImage | 自动下载保存远程图片 | 1.0.0 | dream |
AutoTags | 标签自动生成插件 | 1.0.0 | DT27 |
Clipboard2markdown | 剪贴板内容格式化Markdown for Typecho后台编辑器 | 1.0.0 | 大袋鼠 |
Donate | Donate | 1.0.0 | 山顶洞洞人 |
EditorMD | Markdown 编辑器 Editor.md for Typecho | 1.4.0 | DT27 |
HighSlide | 为博客添加HighSlide弹窗效果与相册功能 | 1.4.7 | 羽中 |
Menu Tree | 根据内容标题关系自动生成目录树 【TF社区维护版】 | 0.1.2 | BeaconFire,Melon |
TeStore | 读取Github上维护的专用表格实现插件仓库各项功能 | 1.1.5 | 羽中, zhulin3141 |
ViewsCounter | 文章浏览量统计插件,可设置对同一篇文章的多次浏览行为是否计入浏览量的时间间隔。 | 1.0.0 | Quarkay |