RHEL7: Configure systems to boot into a specific target automatically.

Share this link

Note: This is an RHCSA 7 exam objective.

To configure a system to boot into multi-user level without graphical interface, type:

# systemctl set-default multi-user.target

To configure a system to boot into multi-user level with graphical interface, type:

# systemctl set-default graphical.target

To check the current configuration, type:

# systemctl get-default
multi-user.target
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

2
Leave a Reply

Please Login to comment
1 Comment threads
1 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
CertDepottwostep Recent comment authors
  Subscribe  
newest oldest
Notify of
twostep
Member
twostep

To find available targets to which you can set,
1. install bash-completion package
2. logout and login
3. execute systemctl set-default
Cheers 🙂

Upcoming Events (Local Time)

  1. Feb
    1
    Fri

    1. 8:30 am - View Details
      CentOS: Dojo, Brussels, Belgium.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create a user account named "tony" with password “redhat” and belonging to a secondary group called “team”.

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a block backstore of 100MB called lv_iscsi with basic authentication, ext4 filesystem and standard firewall configuration.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...