User Tools

Site Tools


linux_risc-v

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_risc-v [2024/05/12 15:22] felixonmarslinux_risc-v [2024/12/26 10:13] (current) felixonmars
Line 4: Line 4:
 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.1715527334.txt.gz · Last modified: 2024/05/12 15:22 by felixonmars