Raspberry Pi -CentOS-Minimal arm version of the settings

The mirror with balenaEtcher written to the Raspberry Pi SD card and start, it needs to be some settings to normal use.

1. The user name root password centos

2. Extended rootfs to the maximum available space: CAT the README to see how to expand, follow the prompts to run / bin / rootfs-expand

3. Create a new user useradd pi and then set password passwd pi 

    If necessary, switch to the root , Run vi / etc / sudoers to add sudoers list.

4. The default network is using DHCP, the IP For static allocation, needs to be set [to be added]

5. Install and configure ssh:

    Run yum list installed | grep openssh-server to see whether the service is installed, is not installed, run yum install openssh-server installation.

    Run service sshd restart to restart the ssh service, and run the service sshd status view service running.

    Run systemctl enable sshd.service will join ssh service startup items and run systemctl list-unit-files | grep sshd verification.

6. Run the yum update update package:

    If you experience Found 10 pre-existing rpmdb problem ( s), 'yum check' output follows ... error repetition package, you need to install yum-utils clean up.

    Run yum install yum-utils executed after the package-cleanup --dupes see duplicate package and run package-cleanup --cleandupes clean.

    The last run package-cleanup --problem see if there are other problems.

Guess you like

Origin www.cnblogs.com/teacat/p/11354417.html