20
Ubuntu Boot Camp 2013 The Freedom Is Yours!!

Day 5 ubuntu boot camp

Embed Size (px)

DESCRIPTION

Ubuntu Boot Camp which Darlene facilitated at Costech (Commission for Science & Technology) in Dar Es Salaam Tanzania. We had a full house of enthusiastic users looking for hands on knowledge of Ubuntu & Open Source

Citation preview

Page 1: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013The Freedom Is Yours!!

Page 2: Day 5 ubuntu boot camp

Tanzania is not shown in the list, so we select other, and choose Africa, then we select Tanzania. The same principal about updates and correct location that we discussed on the desktop side also applies for the server

Ubuntu Boot Camp 2013Basic Server Installation

Page 3: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 4: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 5: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Host Name: Based on the naming protocol in your organization. For example we name our servers such as Top Gun or it could be location related..Costech1

Page 6: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Admin Account..same principal as on the desktop side as the Root account is disabled by default, this account will allow you to assume sudo privileges.Create a user, for example the user Administrator with the user name administrator (don't use the user name admin as it is a reserved name on Ubuntu 12.04):

Page 7: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Create a user, for example the user Administrator with the user name administrator (don't use the user name admin as it is a reserved name on Ubuntu 12.04):

Page 8: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

For this example we don't need to have an encrypted private directory, so choose No.

Page 9: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Now you have to partition your hard disk. For this exercise select Guided - use entire disk and set up LVM - this will create one volume group with two logical volumes, one for the / file system and another one for swap (of course, the partitioning is totally up to you - if you know what you're doing, you can also set up your partitions manually).

Page 10: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 11: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 12: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 13: Day 5 ubuntu boot camp

Once a disk is partitioned, an OS must have some way to access the data on the partitions. In DOS and Windows, this is done by assigning a drive letter, such as C: or D:, to each partition. (DOS and Windows use partition type codes to decide which partitions getdrive letters and which to ignore.)

Linux, though, doesn’t use drive letters; instead, Linux uses a unified directory tree. Each partition is mounted at a mount point in that tree. A mount point is a directory that’s used as a way to access the filesystem on the partition, and mounting the filesystem is the process of linking the filesystem to the mount point.

For instance, suppose that a Linux system has three partitions: the root (/) partition,/home, and /usr. The root partition holds the basic system files, and all other partitions areaccessed via directories on that filesystem.

If /home contains users’ home directories, such as sally and sam, those directories will be accessible as /home/sally and /home/sam once this partition is mounted at /home. If this partition were unmounted and remounted at /users, the same directories would become accessible as /users/sally and /users/sam.

Ubuntu Boot Camp 2013Partitioning Overview

Page 14: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Partitioning Overview

Page 15: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 16: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 17: Day 5 ubuntu boot camp

Ubuntu Boot Camp 2013Basic Server Installation

Page 18: Day 5 ubuntu boot camp
Page 19: Day 5 ubuntu boot camp

After the reboot, you can login with your previously created username (eg.Administrator) Because we must be root for the rest of this process, either we start each command with sudo

or we can become root now by typing: sudo su

Or you may activate your root account by creating the password....

sudo passwd root

Install a text editor for our work. I prefer to use Nano.

sudo apt-get install nano

Ubuntu Boot Camp 2013Basic Server Installation

Page 20: Day 5 ubuntu boot camp

Thank you !