0% found this document useful (0 votes)
13 views4 pages

How To Create OS VM That Is Connected To Internet Using Virtual Box

Uploaded by

Heba Refaie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

How To Create OS VM That Is Connected To Internet Using Virtual Box

Uploaded by

Heba Refaie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

How to create OS VM

Oracle VirtualBox: https://www.virtualbox.org/

Link to download VM images: http://osboxes.org/

The goal is to have a linux server that is accessible from putty and can access the internet.

Note the user and password


osboxes/osboxes.org
To give the machine and ip so you can connect to it from putty

To connect to internet
run this by root dhclient -v
Also update the network file under /etc/sysconfig/network-scripts and
restart the network service
service network restart
or nmcli networking off && nmcli networking on
To exit the mouse use right ctrl

Other issue that you may face.

The sshd is not started


dnf install openssh-server
systemctl start sshd
systemctl status sshd
systemctl enable sshd

The port 22 is not opened


Firewall-cmd --zone=public --permanent --add-service=ssh

ping 8.8.8.8 works but ping www.google.com doesn't


edit /etc/resolv.conf
Place this as the first non-commented line:
nameserver 8.8.8.8

You might also like