Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7

20 bytes added, 10:03, 24 March 2015
no edit summary
#If you have used your hard disk for previous Linux (Centos) distributions, you should remove them. Click on the distribution, and for each partition, select the partition and click the remove button (minus sign) and confirm deletion.
#It is recommended to rescan the hard disks by clicking on the rescan button (loop symbol).
#Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:<ul><li>Primary Partitions (ext4):<ul><li>'''20GB''' for '''/''' (i.e. "root")</li><li>'''30GB''' for /home</li><li>'''100GB''' for '''/var/lib/libvirt/images''' </li></ul> </li><li>Swap Partition:<ul><li>'''8GB''' (Note: "swap" must be selected from the drop down menu)</li></ul></li></ul><br><br>'''NOTE:''' Remember that the sizes are recorded in MB (eg. 20 GB = 20000 MB) and you should multiply GB by a factor of 1024 to get the correct size (eg. '''20 GB x 1024 = 20480 MB''')#We will now create the root (/) partition. Click on the add button (plus) sign.<br><br>
#In the '''Add a New Mount Point''' screen, enter '''/''' as the mount-point (either by typing or selecting from drop-down menu), and enter '''20480''' in for partition size.
<li>If you get a warning with something like "This device may contain data" - it's probably your new hard drive and you can safely use it.</li>
<li>Select '''Create Custom Layout''', we don't want to use the default setup now. If you are using a hard drive that contains partitions from a previous course (previous version of Linux), delete all partitions prior to proceeding.</li>
<li>On your drive you will need the following partitions. These may be primary partitions or logical drives.<br>Remember that the sizes are recorded in MB (eg. 20 GB = 20000 MB) and you should multiply GB by a factor of 1024 to get the correct size (eg. '''20 GB x 1024 = 20480 MB''')<br> If you have more space than 250GB available - you can add the extra space in equal parts to /home and /var/lib/libvirt/images</li>
13,420
edits

Navigation menu