迷茫2017-04-17 16:08:28
Because the installed packages are all installed in the root directory (/usr/ or /usr/local). The root directory must be at least 10-20G. You only have 2G. The system libraries, system commands and the like alone are hundreds. Megabytes, plus some miscellaneous packages, 2G is simply not enough.
Generally, the /home directory is used to store users’ personal information or some customized software configurations. Software installed by the system package management tool will not be installed in the home directory.
黄舟2017-04-17 16:08:28
The first question is that only root can use reboot, unless you use policykit or sudo to configure other users to reboot.
Second question, the package installation in the Linux distribution must comply with the FHS specification, so installation with packages will not be installed to /home. In fact, if you use the general partition method, it is not recommended for beginners to divide the root directory too small. Advanced users can use LVM to dynamically manage partition sizes. Beginners should just create a large root. There is no need to hang various directories in independent partitions. After mastering advanced skills, I will pay more attention to it when I want to work in a production environment.