Share
Embed
Linux 101 by Brian Byrne, October 2018
Linux 101 by Brian Byrne, October 2018
Brian Linuxing
October 23, 2018
Transcript
32 slides
-
Linux 101 by Brian Byrne October 2018, Skills Matter, London.
Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Brian Byrne discovered computing around the time Intel released the
4004 chip, in 1971. After 1979 he worked across most sectors, educational, commercial and finance, in some seriously technical, managerial and hands-on roles. Brian organises Linuxing In London, co-organises London JavaScript Community, Covent Garden Pi Jam and the all London Raspberry Pi Jam. He is rather fond of opera and history books. NB: Brian speaks in paragraphs. He is a freelance IT manager, a thinker and do-er for hire. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
What this class is not: A computer science lecture. The
verbal equivalent of Wikipedia on everything in computing. However, it will provide: A detailed Linux 101, covering the theory, hands-on of installing and managing a laptop with Linux, and the gotchas! It will teach you basic proficiency with Linux, the rest is up to you! Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
A word about Linux Everything is Linux. Android phones, the
lot Linux is used on 100% of the world’s supercomputer, Everyone runs Linux: AWS, Netflix, Google, Facebook, even Microsoft. Distrowatch lists 306 live distros (Linux, BSD, etc), as of Nov 2018. Linux is free. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Reasons use Linux It does everything that Windows does, but
better. It is used extensively in businesses. Most backend computing involves the use of Linux. It is all over the Cloud, even at Microsoft. Plenty of choice (306+ varieties). Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Let us do it the smart way Linux 101 by
Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Please, please work in teams, seriously. Teams. There is a
lot of information to take in, it's best done in pairs or as team. I will come around and help during the workshop, but please do write things down, I talk a lot! Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
System Rescue: Inspect, check, partition. LXLE: Boot up, point to
correct partitions and install. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Prerequisites for Linux 1. A System Rescue USB stick. 2.
A LXLE 16.04.04 32-bit USB stick. 3. A laptop that can boot a USB stick. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
First technical demo (switch to Linux laptop) Linux 101 by
Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Smart installation techniques Planning, media, knowledge of the hardware, anticipate
problems and plan solutions. Don’t assume everything will work out of the box. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Space and Partitioning Allow 8 -16+ Gb for most Linux
distros. Reduce other partitions to allow space for Linux to be installed. Practice partitioning on an old laptop hard drive, watch out for common mistakes, play around. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Task 1 Break into teams. One person manages the media.
Boot each machine with System Rescue. Inspect your laptop. Partition it ready for Linux. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
The draft instructions are at: https://github.com/brianlinuxing/Linux101 Linux 101 by Brian
Byrne. Twitter: @BrianLinuxing Email: [email protected] -
System Rescue Insert media and boot it (F12 or whatever
your BIOS requires) Move down to the second line “2) SystemRescuecd: all files cached to memory (doscache)” Hit the Enter at main screen Put in keyboard type, 40 for UK When it has finished booting type, startx The terminal windows appears (yellow background) maximise it Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Inspect your laptop In a terminal window: type lscpu -
note down the CPU. type lspci - Look for any wireless device and write down its details. Also, write down details of VGA and Ethernet devices Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Partition your hard drive In terminal window type, gparted Top
left, select the hard drive Click on the device Right click and delete, now press green tick Apply, then close Click on the device, right click and New Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Create the partitions Create as Extended Add, green tick and
Apply, then Close Click on the device, right click and New New size (about 10% of disk or 4-6 Gb) File System as linux-swap (Smart tip: use the label as well) Add, green tick and Apply, then Close Similar, click on unallocated Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
New (remainder of unallocated) File System as Ext3 (Smart tip:
use the label as well) Add, green tick and Apply, then Close Exit gparted and type halt Return any media, we are ready for Linux proper!!!! Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
LXLE installation Get the LXLE media Plug in, switch on
and force the laptop to boot from USB Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Now follow the checklist for the LXLE Installation at https://github.com/brianlinuxing/Linux101
Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
FAQs Q1: Why use LXLE and not straight Ubuntu? LXLE
is better for older machine and fully compatible for standard Ubuntu Q2: What can go wrong when installing Linux on an old laptop? A: Depends on the age and nature of the laptop, but it can be: the architecture of the laptop and boot media, space and partitioning, video and wireless or the writing of the boot block. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Q3: The architecture and boot media? A: Is the laptop
i386, i686 (32-bit) or x86_64 (64-bit)? Q4: It doesn’t work, what should I do? Burn Linux media and test, does laptop boot? If not, use alternative clean media, re-do, check BIOS, CD/DVD or USB? Plop manager or external DVD drive. Does it work, but can’t find media? Try another distro, one of 300+ Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Q5: Space and partitioning Linux typically needs 8 to 16Gb
for its main partition and, preferably, a 4-8 Gb swap partition, although these can be reduced depending on the particular version of Linux about to be installed. These can coexist with existing Windows partitions and do not need, necessarily, to replace them unless short of disk space. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Q6: Video and Wireless Check out that your video hardware
and verify it is supported (lscpi). Older wireless kits are problematic for Debian-based distros, try Arch based ones. Plug into router with an RJ45 cable and upgrade system software, reboot and investigate. Use external supported USB wireless stick. If really stuck, try NDISwrapper. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Q7: The writing of the boot block. This is the
final stage of any Linux installation, very rarely during that last part will there be an error the writing boot block. If it fails to write the boot block, re-do the installation. If problem persists, try another distro. Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected] -
Q8: Is that it? Yes, compared to many other operating
systems Linux is comparatively trouble free during installation, but if they do occur most errors are minor and can be fixed with time Linux 101 by Brian Byrne. Twitter: @BrianLinuxing Email: [email protected]