Spark tutorial-Build a spark cluster-run the Ubuntu system (1)

Source: Internet
Author: User

To simplify permissions and other issues, we can log on to and use the Ubuntu system as a root user, while Ubuntu does not enable the root user by default, which requires the following settings:

  • Sudo-s enters the root user permission Mode
  • Vim/etc/lightdm. conf
    [Seatdefaults]
    Greeter-session = unity-greeter
    User-session = Ubuntu
    Greeter-show-manual-login = true #Manually enter the user name and password for logging on to the system
    Allow-Guest = false #
    Guest not allowedLogin
  • Start the root account: sudo passwd Root

The following describes the specific operations of Jialin:

 

Step 1: Enter Root User Permissions:

Use Sudo-s to enter the root user permission Mode

Enter the password to enter the root mode.

At this point, we found that it is already a root user.

Step 2: Modify the "/etc/lightdm. conf" file:

At this time, the system prompts that we do not have the vim editor. Install the vim Editor:

Enter "Y" to complete the installation.

Modify the "/etc/lightdm. conf" file again:

Enter the file:

Enter "I" to enter the insert and modify mode, and change the file:

Press "ESC" and enter ": WQ" to save and exit.

 

Step 3: Start the root account: sudo passwd Root

Press Enter:

In this case, enter the password of the root account and set it as follows:

Restart the system:

The system entry page is as follows:

Click "login ":

Enter the "root" account:

Enter the password to log on to the system:

At this point, we found that the account we logged on to is the root account.

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.