Learn Linux with Amin Four single user, rescue mode, clone, server to log in with each other

Source: Internet
Author: User
One, single user mode
Usage scenario: Forget password, but can't reload the system, this is used in single-user mode.
Operation Steps:
1, restart the computer, enter the following interface

2, press E to enter the next screen

3, pull this page down, modify and add the following statement
RW init=/sysroot/bin/sh

4, modify into as, press ctrl+x continue to run
5, enter the following interface:

6, input chroot/sysroot/
7,PASSWD Root Change root password
8, after restarting, you can log in with the new password
Second, rescue mode
This mode is the disc boot mode, boot through the CD, enter rescue mode, change the root password

Iii. Cloning virtual machines
This step is to clone a server that is the same as the source machine through the VMware software. After cloning is complete, you need to remove the UUID from the NIC configuration page and reconfigure the IP.

Four, the Linux system between each other login
Login Chitian: Ssh-p port number User name @ip
Example: ssh-p [email protected]

Learn Linux with Amin Four single user, rescue mode, clone, server to log in with each other

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.