Installing and deploying ubuntu server box

Preview:

DESCRIPTION

Installing and Deploying Ubuntu Server Box

Citation preview

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

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

perezpardojc@gmail.com

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!

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

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

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

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

6VirtualBox Control

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

7New VM

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

8Type of System

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

9Memory

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

10HDD

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

11VDI or other drive types

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

12HDD dynamic or static

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

13Space and Location

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

14Ready to launch

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”.

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

16Network Diagram

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

17Network configuration

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

18USB

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

19Audio

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

20Install CD/DVD

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

21Running VM

Command line or Graph interface.

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

22Running VM

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

23Choose Languaje

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

24Menu Selection

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

25Choose Languaje

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

26Choose Languaje

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

27Configure Keyboard

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

28Configure Keyboard layout

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

29Configure Keyboard layout

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

30Configure Hostname

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

31Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

32Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

33Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

34Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

35Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

36Configure Users and Passwords

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

37Configure Encryption

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

38Configure Time Location

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

39Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

40Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

41Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

42Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

43Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

44Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

45Security on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

46Security on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

47Security on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

48Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

49Configure Partition on Disk

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

50Installing the System

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

51Http Proxy?

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

52Configuring apt

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

53Configuring Updates

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.

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

55Final Steps

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

56Final Steps

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

57Final Steps

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

58Grub boot Loader

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

59Finish the configuration

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

60Install Complete

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

61Booting

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

62GRUB Menu

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

63Passphrase

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

64Login

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

65Login: deployment/Password123

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

66SSH

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

67Saving Virtual machine like Template

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"

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/

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

perezpardojc@gmail.com

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!

Insta

lling a

nd D

eplo

yin

g U

buntu

Serv

er @

pere

zpard

ojc

71Thanks!

Recommended