U disk boot installation and configuration of centos7

First of all, you have to burn the U disk boot installer through the U disk, and then follow the steps below to install and configure.

 

Set when the U disk is booted

After F12 enters the installation, you need to select the second one, and then tab to modify the root path to:

vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb4 quiet

root  root1102

admin admin1102

 

first boot settings

After booting, the following information is displayed

Initial setup of CentOS Linux 7 (core)

1) [x] Creat user 2) [!] License information

(no user will be created) (license not accepted)

Please make your choice from above [‘q’ to quit | ‘c’ to continue | ‘r’ to refresh]:

 

The solution steps are as follows:

1. Enter [1], press Enter to agree to the license agreement,

2. Enter [2], press Enter to read the license agreement,

3. Enter [q], press Enter to exit,

4. Enter [yes], press Enter to confirm,

5. After restarting, you can enter the graphical login interface

 

Graphical and non-graphical processing

remove the graphical interface

#mv /etc/systemd/system/default.target /etc/systemd/system/default.target.bak (renamed backup)

# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target (the re-soft connection text interface is the startup default interface)

 #systemctl reboot (restart the system to take effect)

 

restore GUI

#rm -rf /etc/systemd/system/default.target (remove current configuration link)

 #mv /etc/systemd/system/default.target.bak /etc/systemd/system/default.target (link to restore backup configuration)

 #systemctl reboot (reboot the system to take effect)  

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326242905&siteId=291194637