first of all, you need to download the iso
then you can install it on your pc, or use some virtualizer like vmware or virtualbox
After installing ubuntu 18 server. In my case, I am using a virtualizer and for my confort, I use SSH client. I use putty:
after logging, you will have something like this:
Enabling root login
Once the Ubuntu 18 server has been set up, all we need to do is modify /etc/ssh/sshd_config and add the line PermitRootLogin yes underneath the Authentication heading.
sudo nano /etc/ssh/sshd_config
#Authentication: #LoginGraceTime 2m PermitRootLogin yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
Once that’s done, we just need to restart the ssh server
sudo systemctl restart sshd
Now, we need to make sure the root user has a password, if not, we can set one now.
Enter the new root password, once that’s done, try logging in as root with SSH, it should work now!
Configure ftp server
apt-get install vsftpd
then open the next file:
and put the next options as follows:
finally we restart the service
sudo service vsftpd restart
then you can use a ftp client to log