Raspbian Lab

raspbian; server; lab
231 words

Hardware Preparation

  • Raspberry Pi 4B
    • RAM: 2GB
    • CPU: 4-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
    • TF Card: At least 16GB
    • Network: Ethernet port

System Installation

Here, I'm using Debian Pi Aarch64

This is the first 64-bit system in the world to support all Raspberry Pi 64-bit hardware!!! (Include: PI400,4B,3B+,3B,3A+,Zero2W)

Official download guide: Debian-Pi-Aarch64 Updates and Upgrades

For specific installation steps, you can refer to the official README.md of Debian Pi Aarch64. It's very straightforward.

Removing Debian root Account SSH Access Restrictions

The main purpose of unlocking this is to facilitate direct file operations on apps like NeoServer.

  1. First, set the root password (it's empty by default)

    sudo passwd root
  2. Switch to the root account

    sudo -i
  3. Modify the /etc/ssh/sshd_config file

    3.1 Open the file

    vim /etc/ssh/sshd_config

    3.2 Find the following line

    PermitRootLogin prohibit-password

    3.3 Modify or add the following line, then save and exit

    PermitRootLogin yes

    3.4 Restart the SSH service

    systemctl restart ssh

Now you can log in to the Debian system using the root account via SSH. Please note that enabling root account login may increase system security risks, so use it carefully.

Installing Docker

This system image comes with Docker pre-installed, so you don't need to install it again. However, you may want to update the Docker version.

If you want to use a panel like 1Panel, you can get the update when installing 1Panel, and also avoid installation failures. This installation failure occurs with relatively high probability among users in certain regions. Therefore, it's recommended to have a network environment that can access international networks.