User Tools

Site Tools


linux_risc-v

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_risc-v [2024/05/12 15:21] – created felixonmarslinux_risc-v [2024/12/26 10:13] (current) felixonmars
Line 1: Line 1:
-#### Live Replace ####+==== Live Replace ====
 <code> <code>
 cd / cd /
 apt install wget zstd apt install wget zstd
  
-wget https://mirrors.wsyu.edu.cn/archriscv/images/archriscv-latest.tar.zst+wget http://mirrors.cernet.edu.cn/archriscv/images/archriscv-latest.tar.zst
 mkdir oldroot newroot mkdir oldroot newroot
 cd newroot cd newroot
Line 22: Line 22:
  
 echo "nameserver 223.5.5.5" > /etc/resolv.conf echo "nameserver 223.5.5.5" > /etc/resolv.conf
 +
 +echo -e "[Match]\nName=en*\n\n[Network]\nDHCP=yes\n" > /etc/systemd/network/default.network
 +systemctl enable systemd-networkd
 +
 +pacman -S --noconfirm openssh
 +systemctl enable sshd
 +mkdir ~/.ssh
 +echo "<Your Key>" > ~/.ssh/authorized_keys
 </code> </code>
linux_risc-v.1715527312.txt.gz · Last modified: 2024/05/12 15:21 by felixonmars