Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
building_debian_virtual_machine [2019/03/25 17:43] warmachine |
building_debian_virtual_machine [2019/03/25 17:59] (current) warmachine |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| **Installation options**\\ | **Installation options**\\ | ||
| install an operating system from a bootlable cd/DVD-Rom -> image file -> path to ISO\\ | install an operating system from a bootlable cd/DVD-Rom -> image file -> path to ISO\\ | ||
| + | [[https:// | ||
| right click on your VM, connect\\ | right click on your VM, connect\\ | ||
| Line 49: | Line 50: | ||
| <color # | <color # | ||
| + | Login with root/pw\\ | ||
| + | apt-get install sudo -y | ||
| + | usermod -aG sudo // | ||
| + | logout | ||
| + | Login with newusername | ||
| + | sudo bash | ||
| + | sudo nano / | ||
| + | leave loopback\\ | ||
| + | remove dhcp\\ | ||
| + | obviously the IP, subnet mask, dns, etc.. will all determine on your network configuration. This is an example with a Class C, one internal DNS, one external.\\ | ||
| + | # The primary network interface | ||
| + | auto eth0 | ||
| + | iface eth0 inet static | ||
| + | address 192.168.1.40 | ||
| + | netmask 255.255.255.0 | ||
| + | network 192.168.1.0 | ||
| + | broadcast 192.168.1.255 | ||
| + | gateway 192.168.1.1 | ||
| + | dns-nameservers 192.168.1.33 208.67.222.222 | ||
| + | (Ctrl +x) (y , enter) //--This saves the document// | ||
| + | sudo reboot | ||
| + | At this point stop using hyper-V terminal and ssh into the IP address you selected. Your Debian VM is setup. Now you can install whatever tools and software you wish and put it to use. | ||
Last modified: le 2019/03/25 17:43
