How to install Install Bare metal | Ubuntu 18.04 | How to Create root user

Install Bare metal

Step 1: Download Ubuntu 18.04 from Link:

https://releases.ubuntu.com/18.04/

Step 2: Install Ubuntu.

  • Select install Open SSH
  • Set the hard disk. You should give all hardisk you have for ubuntu_lv

 

Ubuntu | vcclhosting

Step 3: Login as root:

  • Login by account you use to create ubuntu 18.04
  • go to root by command sudo -i
  • Set password for root by command: passwd
  • Allow root access over SSH run command: sed -i -e "s/.*PermitRootLogin .*/PermitRootLogin yes/" /etc/ssh/sshd_config
  • Run command: service sshd restart
  • Delete account you created:
    • exit
    • login by root account
    • userdel [username you created]

 

 


Was this answer helpful?