Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How Linux initializes the environment

Shulou Source: shulou.com Published: 2022-06-02 03:52:37 10月01日 Update

Linux how to initialize the environment, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

1. Configure domestic source sudo vi / etc/apt/sources.listdeb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpideb-src https://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpideb-src https://mirrors.neusoft.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi2. Update the software sudo apt update & & sudo apt upgrade3. Extended partition

After installation, the default display capacity is less than the actual capacity, and you need to manually extend the file system:

Sudo raspi-config7 Advanced Options-> A1 Expand Filesystem-> Finish4. Unlock root user

By default, the root user is locked, so if you need to use root operation, you need to unlock root:

# reset root password sudo passwd root# unlock root account sudo passwd-unlock root5. Remote Desktop connection setup sudo apt-get purge tightvnc xrdpsudo apt-get install tightvncserver xrdp after reading the above, have you mastered how Linux initializes the environment? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Environment content capacity method more users systems problems helpless for this reason actual password this manual skills files desktops status articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Docker Shulou Information MariaDB Apple