Cs2406 Exercise No 1
-
Upload
raghavendra-apv -
Category
Documents
-
view
41 -
download
1
description
Transcript of Cs2406 Exercise No 1
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
ExcerciseNo1:GeneralIntroduction&LinuxOSInstallation
Aim:
TointroducethefundamentalsofFree/OpenSourceSoftwareandtoinstallLinuxOperatingSystemFedoraVer.12fromFOSSLabServer.
Descriptionoftheexercise:
a)Theorysessionfortwohourscoveringthefollowingtopics
a)IntroductiontoFOSSb)FOSSLicensesc)LinuxDistributionsd)PackagesRPMbased&Debianbased2or3sampleschosenintunewiththesyllabuse)KernelKernelstructure
Reference:FOSSBookavailablefordownloadathttp://www.nrcfoss.aukbc.org.in/down/3/(frominternet)orunder'Docs'in'FOSS_BOOKS'ofyourFLS(fromyourLAN)
b)HandsonsessionforonehouronLinuxinstallation(Fedora)fromFLS
AboutFedora...Fedoraisafast,stable,andpowerfuloperatingsystemforeverydayusebuiltbyaworldwidecommunityoffriends.It'scompletelyfreetouse,study,andshare.MoredetailsaboutFedoraisavailableunder'Docs'in'Fedora_Document'ofyourFLS.
ApracticalexerciseforstudentstolearnbasiclinuxinstallationofarpmbasedoperatingsystemfromFossLabServer
Prrequisites1. Partitionshouldalreadybedone.2. PXEbootoptionenabledinBIOSsetup3. SufficientFreespaceavailableforinstallationoflinux(Min10GB)4. Sessionsupervisedbyatrainedstaffmember
Procedurewithsteps:
SelectFedorabytypingfedora12nearboot:
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
ChooseaLanguageandthenuseTABkeytopressOKandPressENTERkey.
Usethearrowkeysonyourkeyboardtoselectaninstallationmethod.HereselecttheNFSdirectoryanduseTABkeytoselecttheOKandpressENTER.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
PressOK
EntertheIPAddressofthemachinewhichisFLSinyourLAN,intheplaceofname.example.comagainstNFSServerName.Thegivetheexportdirectoryas/root/nfs/fed/fedintheplaceof/mirrors/r6.
ThentheinstallationproceedwiththeinitializationofAnaconda theFedorasysteminstaller. JustwaitforAnacondatoinitializeandgiveyoutheFedora12graphicalsysteminstaller.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
ThisisthestartofFedora12graphicalinstallationsetup.Click'Next'buttontoproceedwiththeinstallationprocess
ChoosethelanguagethatyouwanttouseduringtheinstallationprocessofFedora12
Onthisinstallationwindowscreen,selectappropriatekeyboardlayoutsettingforyourFedora12system.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
GivethehostnameforyourFedora12systemwhichistobeusedtoidentifyyourFedora12systemonthenetwork.
click'Next'buttontoproceedToconfigureFedora12timezone,justclickonnearestcityavailableontheworldmapontheboxprovidedonthisscreentosetcorrecttimezoneforyourFedora12system,orjustclickonthedropdownboxandchoosethecorrecttimezonebyselectingthenearestcityavailable.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Click'Next'buttontoproceed
KeyinrootpasswordforyourFedora12systemandclickon'Next'buttontoproceed
SetupFedora12partition.OnthisscreenyouneedtochoosethebestpartitionoptionwheretoputFedora12onyoursystemharddisk.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Installationrequirespartitioningofyourharddrive.Youcanalsochoosetocreateyourowncustomlayout.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Clickonthedropdownmenuandchoose'createcustomlayout'
CreatearootpartitionbyclickingontheNewButtonandthencreateaswappartition.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
SelectStandardPartitiontocreateapartition
Mountpointmustbe'/'forarootpartitionandfilesystemtypeExt4.Sizedefinestheamountofharddiskspacefortheparticularpartition.
SimilarlyCreateSwappartitionalso.SwapsizecanbedoublethesizeofRAM.ClicknexttocontinueThentheFedora12promptyouwith"Writingstorageconfigurationtodisk".WhatthisboxsayisthattheFedora12systeminstallationgoingtowritepartitionandformattingyoursystemharddiskasyouconfigureonpreviousscreen.andifyoucontinuewithwritechangetodisk,allthedataon
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
theharddiskwillbelost.Clickon"Goback"buttontoreconfigurepartitionlayoutorifyoureallysurethatyouwanttoproceedtoinstallFedora12justclickon"Writechangetodisk".
ThescreenshowtheFedora12systeminstallercreatingfilesystemon/dev/sda1thefirstportiononthefirstharddiskonthesystem.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
ThenFedora12systeminstallerdisplaythescreenwhereyouwanttoplacetheFedora12boot
loader.Thedefaultoptionusuallyplaceonthefirstsystemharddisk,youcanspecifyorchangetootherlocationbyclickon"Changedevice"button.
Leavedefaultbootloaderoptionasitis...oryoucancustomizeasyouseefit.Click'Next'buttontoproceed.ThenFedora12systeminstallationwizardretrievetheinstallationrepositoryfromFLSserver.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
TocustomizeoraddingmoresoftwarepackagesthatyouwanttoinstallorincludeonyourFedora12installation,selectcustomizenowbuttonandthenclickonleftboxwindowthatshowDesktopEnvironments,Applications,Development,Servers,BaseSystemandLanguages.Tickthecheckboxontherightwindowtoaddingandincludetheselectedpackagegroupsoftware.
You can further customize the installation packages, by selecting optional packages in grouppackage.Toselectalloptionalpackages,clickonrightmousebuttontoopendropdownmenuoption... the menu option include Select the package, Select all optional packages, DeselectpackagesandDeselectalloptionalpackages.Toinstallpackagesandalltheiroptionalpackages.chooseandclickSelectalloptionalpackagesasshowonthescreenshotbelow.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Clickon'Next'buttontoproceedwiththeinstallationprocess
Afterthepackagedependenciescheckingisdone,theinitialprocessofinstallationFedora12operatingsystemwillstart.Theconfigurationprocessmaytakeseveralminutestocomplete,thisisshownbytheprogressbarindicationbox.
Theactualprocessofinstallingsoftwarepackagestoyoursystem'sharddisk.Theprocessmaytaketimetocompletebasedonyouroverallpackagesselection.
Pleasewaitforinstallationprocesstofinishinstallingallpackages.
Tofinishuptheinstallationprocessyouneedtoclickonthe'Reboot'buttontorebootthesystemandproceedwiththeFedora12basicsystemconfiguration.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Screen shot below shows the Fedora 12 boot up screen. 1.
HereistheFedora12Firstbootconfigurationwelcomescreen.ThisisFirstBootConfigurationscreenkickinonlyonthefirstbootofFedora12aftertheinstallationprocesscompleted. TheFedora12SetupAgent(FirstBootConfiguration)process,enableustodosomebasicconfigurationofFedora12systembeforeweloginontheFedora12systemforthefirsttime.ThescreenshotbelowjustshowfirstscreenofSetupAgentFirstBootConfigurationprocess.clickonthe'Forward'buttontoproceedwiththeFedora12configurationprocess.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
ThisscreendisplaytheFedora12LicenseInformation.LicenseInformationscreen.Noconfigurationorsettingneedtobedoneonthisscreenjustclick'Forward'buttontocontinuewiththeinstallationprocess.
TheFedora12configurationcontinuewithCreatingUser.Thisuseraccountisnonadministrativeuseraccount(normaluseraccount).YouneedtocreatenewuseraccountbyfillingtheUsername,FullName,PasswordandConfirmPasswordonthetextboxprovidedonthisscreen.
NextscreenhelpsinthedateandTimeconfiguration.ThentheFedora12installationsetupagentproceedwiththeHardwareprofiler.Fedora12hardwareprofiledetectyoursystemhardwareandmakeanprofileoutofit.ThishardwareprofilecontainsallyoursystemhardwareinformationandinformationabouttheLinuxFedora12operatingsysteminstalled.Pleasenotethatonthisscreen,Fedorausesmoltasfedora12hardwareprofilertoenableyousendyourFedora12systeminformationprofileanonymously.
-
CS2406LabManualNRCFOSS/AUKBCCentre,AnnaUniversityChennai
Clickon'Finish'buttontoproceed,pleasenotethatifyouwanttosendyoursystemhardwareprofiletotheFedoraProject..justclickontheSendProfileradiobuttonbeforeyouclickonthe'Finish'button.ThenjustkeyintheuserpasswordandhittheEnterkeyorclickon'LogIn'buttontostartlogintothesystem.
References:
http :// docs .fedoraproject .org /en US /Fedora /12/ html /Installation _Guide /index .html http://www.labtestproject.com/fedora_screenshot/001_fedora_12_screenshot_step_by_step_installation.html