Installing and deploying ubuntu server box

71
Installing and Deploying Ubuntu Server Box UBUNTU SERVER 14.04 I n s t a l l i n g a n d D e p l o y i n g U b u n t u S e r v e r @ p e r e z p a r d o j c 1

description

Installing and Deploying Ubuntu Server Box

Transcript of Installing and deploying ubuntu server box

Page 1: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

1

Installing and Deploying Ubuntu Server BoxUBUNTU SERVER 14.04

Page 2: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

2Thanks for sharing!

My personal and contact details:

Juan Carlos Perez Pardo

[email protected]

I am living in Dublin

Linkedin: www.linkedin.com/in/perezpardojc

Twitter: https://twitter.com/perezpardojc

And like always if you want to copy, paste, and collaborate feel free to do it!

Page 3: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

3My lab:

Laptop

Dell Precision M4800 / Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz / 16 GB

Dell Latitude E6400 / Intel(R) Core(TM) 2 Duo P8400 CPU / 8GB

Microsoft Windows 8.1 / Ubuntu 14.04 LTS

Network TP-LINK’s AV500 Nano Powerline Adapter TL-PA4010KIT

Technicolor TC7200 Modem / Router

Internet connection: UPC Fibre Power 120Mb

Page 4: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

4Installation

First steps:

Go to http://www.ubuntu.com/

Go to Server section http://www.ubuntu.com/server

Click on download http://www.ubuntu.com/download/server

And choose from 64 bits , in this case is Ubuntu Server 14.04 LTS 64 bits

Once is downloaded in your system we can start to iinstall an deploy

Page 5: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

5Installation

Launching VirtualBox

If you are running HyperV before you need to disabled

bcdedit /set hypervisorlaunchtype off

If you need it again

bcdedit /set hypervisorlaunchtype on

Defining the Hardware New Virtual Machine

Page 6: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

6VirtualBox Control

Page 7: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

7New VM

Page 8: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

8Type of System

Page 9: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

9Memory

Page 10: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

10HDD

Page 11: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

11VDI or other drive types

Page 12: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

12HDD dynamic or static

Page 13: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

13Space and Location

Page 14: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

14Ready to launch

Page 15: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

15Networking

We want to use this system like part of our network, so in this case we are going to set a “nic” in bridge mode, so it is going to receive the IP and Ethernet information from our DHCP system.

So bridge mode and from our local Ethernet card.

In this configuration we don’t wat to create more “nics”.

Page 16: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

16Network Diagram

Page 17: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

17Network configuration

Page 18: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

18USB

Page 19: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

19Audio

Page 20: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

20Install CD/DVD

Page 21: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

21Running VM

Command line or Graph interface.

Page 22: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

22Running VM

Page 23: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

23Choose Languaje

Page 24: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

24Menu Selection

Page 25: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

25Choose Languaje

Page 26: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

26Choose Languaje

Page 27: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

27Configure Keyboard

Page 28: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

28Configure Keyboard layout

Page 29: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

29Configure Keyboard layout

Page 30: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

30Configure Hostname

Page 31: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

31Configure Users and Passwords

Page 32: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

32Configure Users and Passwords

Page 33: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

33Configure Users and Passwords

Page 34: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

34Configure Users and Passwords

Page 35: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

35Configure Users and Passwords

Page 36: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

36Configure Users and Passwords

Page 37: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

37Configure Encryption

Page 38: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

38Configure Time Location

Page 39: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

39Configure Partition on Disk

Page 40: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

40Configure Partition on Disk

Page 41: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

41Configure Partition on Disk

Page 42: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

42Configure Partition on Disk

Page 43: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

43Configure Partition on Disk

Page 44: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

44Configure Partition on Disk

Page 45: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

45Security on Disk

Page 46: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

46Security on Disk

Page 47: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

47Security on Disk

Page 48: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

48Configure Partition on Disk

Page 49: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

49Configure Partition on Disk

Page 50: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

50Installing the System

Page 51: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

51Http Proxy?

Page 52: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

52Configuring apt

Page 53: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

53Configuring Updates

Page 54: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

54Final Steps

At this stage we have a current working Linux Ubuntu box, but , obviously we are going to need something installed to operate with the machine.

The minimum could be openssh and manual package selection.

Page 55: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

55Final Steps

Page 56: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

56Final Steps

Page 57: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

57Final Steps

Page 58: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

58Grub boot Loader

Page 59: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

59Finish the configuration

Page 60: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

60Install Complete

Page 61: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

61Booting

Page 62: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

62GRUB Menu

Page 63: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

63Passphrase

Page 64: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

64Login

Page 65: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

65Login: deployment/Password123

Page 66: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

66SSH

Page 67: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

67Saving Virtual machine like Template

Page 68: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

68Remove install Media,

VBoxManage list vms

VBoxManage showvminfo "UbuntuServer1404“

VBoxManage modifyvm "UbuntuServer1404" --boot1 disk

VBoxManage storageattach UbuntuServer1404 --storagectl IDE --port 1 --device 0 --medium none

VBoxManage clonevm "UbuntuServer1404" --mode machine --name "UbuntuServer1404" --basefolder "C:\Users\perezpardojc\VirtualBox VMs\0 Clones"

Page 69: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

69Links and References

https://www.google.com

https://www.virtualbox.org/

http://www.ubuntu.com/

http://www.linux.org/

http://www.linuxfoundation.org/

https://www.kernel.org/

https://www.gnu.org/

http://creativecommons.org/

Page 70: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

70Thanks for sharing!

My personal and contact details:

Juan Carlos Perez Pardo

[email protected]

I am living in Dublin

Linkedin: www.linkedin.com/in/perezpardojc

Twitter: https://twitter.com/perezpardojc

And like always if you want to copy, paste, and collaborate feel free to do it!

Page 71: Installing and deploying ubuntu server box

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

71Thanks!