Sotoday's video I'm goingtoshowyouhowtoinstallapplicationsfromrepositorieson a buntoserverusingthecommandline.
SooneofthenicethingsabouttheLenoxworldissense.
LennoxWorldhasbeenopensourceandMauraorlessfreefor a long, longtime.
Theywereabletocreate a waytoinsultapplicationsondoserveroperatingsystems.
Thatwas a hellof a loteasierthantheWindowsortheMacworld, right?
SowhatdoyougototheWindowsworld?
Youknow, way, waybackthreeyearsago, maybefouryearsago, ifyouwantedtoinstall a pieceofsoftwareontoWindowsServer, youwouldhavetohavetheinstallationmedia.
Sowhetherit's a CD, a DVD, usbesomethinglikethat, andyouwouldhavetohave a licensepossible a coupleofotherpiecesofinformationinordertobeabletoinstallthatsoftwareontoyourserver.
Andsotheycameupwith a systemthatmadeitveryeasytoinstallmostofthesoftwarethatyou'regonnabeinstallingontoyourabouttoserversoessentiallywhatyou'reabletoyoudoasyou'reabletouse a commandcalledapthyphengetandthe U Bahntoworldthedebianworld.
Runningfornogoodreasoniswhenyousitdowntotroubleshootordosomekindofmaintenanceononeoftheseservers, ifyouhave a scent O s andthatrequiresyoungandthatrequiresspecificcommandsandthenyouhave a bunchofserverthatusesapphyphengetanditusescertaincommands.
Andthenyou'reusingsomethingelse.
Thisisoneofthereasonswhy I couldbe a realpaininthebuttforthedifferentdistributionsofthedifferentforksisbecauseifyouhavemultipleversionsofLennoxrunningwithinyourenvironment, yousitdownto a server.
Ifyoudon't knowwhatpackageyou'regoingfor, justdo a Googlesearchof, youknowinthestall, a pantryonto U Bahntoserver, andthenyou'llyou'llsee a documentationonwhatyou'llbelookingfor.
SoifyouhaveApacheon a server, butyou'renotactuallyusingitAs a Webserver, youwanttoremovethatsothathackerscan't getinthereandpossiblycompromiseyourdatabaseserverbycompromisingtheApacheserver.
Sothat's what a lotofpeopledorightare.
A lotofhackersdois, let's sayyouinstallFTPontoyourWebserveroryourdatabaseserverletsyouinstallpassiononyourdatabaseserver.
Youbasicallywanttogetridof, butlet's sayyou'resittingtherethinking, Well, youknow, I wanttogetridofit.
I don't wantthevulnerabilitytobethereButyouknow I mayneed I mayneedtouseApacheontheserverinthefutureagainformigrationsormaintenanceorsomethinglikethat.
So I wanttoleavetheconfigurationfiles.
Sowhatyoudoisyouusetheremovedsopseudospaceacthyphengetspace, remove a pack.
Youhadtojumpthroughallthesehoops, especiallywhentheystartedputtingthewholeofgenuineauthenticationorwhatevercrapyouhadtojumpthrough a lotofhoopssimplytobeaboutinstallsoftwareonto a windowserver.
Theygowaytoofarwhenthere's notinthis, butbutyoucanstarttosee, especiallywhenyouthinkabout 15 or 20 yearsagowhytheymighthavehad a littlebitof a superioritycondocomplexovertheWindowsworldagainassomebodywhoactuallyhadtoadministerWindowsNT 4.0, intheproductionenvironment, whenyourealizethisiswhatLennoxfolksweredealingwith 20 yearsago, comparedtowhattheWindowsand T folkswe'redealingwith, youcanseewhytheywouldthinkthatthisis a betterwaytodothings.