Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

FOSS: A General Introduction to Linux
wikibooks ^ | 1991 | Multiple sources

Posted on 01/14/2019 6:37:20 AM PST by ShadowAce

Introduction

Welcome to Linux! GNU/Linux is descended from the UNIX operating system, but is open source software, which means that you can view its source code and change it to suit your needs. Of course since this book is geared to those new to Linux, we stay away from very technical issues that are more suited to Linux veterans. This book is going to try to be geared toward the person who has heard about Linux and might be considering trying it out or perhaps the person who has already "taken the plunge" and is looking for more information or wondering where to start now that they have Linux installed. But first, a little history lesson.

The name "Linux" technically refers to an operating system "kernel", a single but key component of a complete operating system. In everyday use, the term "Linux" is frequently used to refer to a complete operating system which consists of the kernel and some of the thousands of other programs required to make an operating system useful. Much of the important system software that is typically installed on a Linux system comes from The GNU Project, a project to build an operating system made entirely of free software.

The first Linux kernel was created by Linus Torvalds. It was first released on 5 Oct 1991. It was started as an x86-only, single-processor operating system, but grew to become one of the most ported pieces of software. Other parts of a complete GNU/Linux system come from other projects such as the GNU project, and are integrated into a complete GNU/Linux OS by your supplier. Usually your supplier will assign their own version number to the integrated whole.

The GNU Project is overseen by the Free Software Foundation, founded by Richard Stallman, who believes that the people should use the term "GNU/Linux" to refer to such an operating system, because so many of the required programs were in fact, written as part of the GNU Project.

Distributions

A distribution is a type of Linux. Linux comes in a large number of distributions, some of which are designed for everyday use, and others designed with a specific task or device in mind. We'll discuss some of those differences below.

Most Linux distributions have a special type of CD, called a live CD. If you insert this CD and then restart your computer, the live CD will run Linux on the computer while avoiding changing anything on your computer as much as possible. For example it won't normally install any files on your PC, but run only from the CD. You can give the operating system a try to see if you like it without the risk of installing anything on your hard drive. You should remember that linux typically runs very fast - if the system seems slow, it is because it is running off your CD drive, not your hard drive.

Choosing a Distro

There are dozens of different Linux distributions. Here are some ways to help you narrow down the options to a short list.

How do you intend to use the system?
Desktop or server? This distinction is probably the most important. Distributions for the desktop will have a graphical user interface, while server distributions won't.
Specific hardware requirements
Try out a few LiveCDs of different distributions. Does it recognize and work properly with your hardware?
If you intend to install Linux on a low-end specification computer, or you have other peculiar hardware compatibility problems or requirements, your choice might be influenced by this need. Most linux distributions should run fine on all but the lowest end of the spectrum.
Application support
Which applications or desktop environment are important to you?
Does a given distribution install those programs by default or is it easy to install and integrate them with the rest or your system?
Does the distribution have a good package management system, and suitable software repositories?
Support
What options will be available for getting support? Is commercial (paid) support available? Is there free community support? If the distribution has a small user base, you will have a harder time getting distribution-specific support, as compared to a more widely-used distribution.
Desktop environment
For desktop systems, you'll need to feel at home. Check out Linux Guide/Desktop environments for information on some common ones. GNOME and KDE are the two most popular.

Try a distro chooser, like http://www.zegeniestudios.net/ldc/. Often several different distributions will meet all your requirements. Your final choice from the short list may be based on whim or personal taste.

Getting Linux

Use an Existing system

The easiest way to begin using a Linux system may be to use an already running system. For example, some systems may be available in various educational or work environments. In this case you only need to contact the appropriate administrator and obtain a user ID and password. You will only be able to explore the system to a certain extent, but the first steps can be taken without having go through the installation process.

Another trouble-free way of obtaining a Linux system is to buy a computer with Linux pre-installed. The number of vendors selling such systems is constantly increasing.

Download a Linux ISO

After choosing a distribution, you should download it. Normally this will be an ISO image. An iso is all the data on a CD - after downloading the iso file, you will burn it to either a CD/DVD or a USB flash drive so you can use it. A USB is the recommended option these days as they are more reliable than CD/DVDs and virtually all modern systems support bootable USBs.

Creating a bootable USB on Windows, Mac OS X and Linux

  1. Go to http://unetbootin.sourceforge.net and download UNetbootin for Windows or Mac OS X and run it. Existing Linux users are recommended to download UNetbootin from their distro's repository.
  2. Once it is opened, click the ... button to browse for your iso, next choose your drive letter in the "Type" column and click OK..
  3. The image will begin to be copied to your USB. Once it is done, your USB will be made bootable. You can now reboot the computer.

Creating a bootable USB on Linux (command line method)

WARNING:This procedure will erase all data presently on the flash drive, make a backup first.
1. Launch a Terminal window.
2. Type lsblk.
3. Note that there will be an entry for your flash drive, similar to this :
sdb 8:16 1 2.0G 0 part /media/NO NAME Note down the sdX, in this example sdb, NOT sdb1 etc.
4. Unmount your USB with this command:

sudo umount /dev/sdX1

5. Browse to the directory where you downloaded the iso with the cd command and type this command. (Assuming the iso image is ubuntu-gnome-16.04.1-desktop-amd64.iso and your drive is sdb)

sudo dd if=ubuntu-gnome-16.04.1-desktop-amd64.iso of=/dev/sdb bs=1M

6. The command will work in the background, when you return to a prompt, it will be finished.

Creating a LiveCD/DVD

A live CD/DVD is not recommended, use this procedure only if you do not have a computer that can boot from USB.

Windows (7 and later)

  1. Insert a blank disc in your drive
  2. Right click on the iso file and click "Burn image"
  3. Select your drive.
  4. Click Burn
  5. Wait for it to finish
  6. Done
Mac OS X
  1. Insert a blank disc in your drive
  2. Browse to your file in Finder
  3. Click "File" -> "Burn Disk Image to Disc"
Linux

K3b, Brasero etc. all have a function to burn images to CD/DVDs.

Boot From LiveCD

Live CD distributions allow you to "get your feet wet" by running Linux on your own PC at home without worrying about installing it or losing data.

Live CDs don't need to be installed to your hard drive for you to use them. Instead, you simply load the Live CD into your CD-ROM drive, restart your computer and a complete running Linux system should boot up with little, if any, intervention. There are some difficulties for some distributions working with certain sets of hardware, but most systems will boot with little to no problems.

A system running a Live CD often tends to be a little slow. This is because information must be fetched from the CD-ROM (which is much slower than a hard drive) and because the Live CD must store a lot of information in memory that would normally stay on the hard disk. Don't let this fool you into thinking that Linux is a slow operating system though. Linux systems are normally very fast and reliable. If you try a Live CD, it is recommended (unless you are trying a MiniLinux) that the computer you use be a relatively recent one with a generous amount of memory (256MB or more). For most people, this should provide a trouble free way to begin to get to know Linux. Sometimes the entire Live CD can be loaded into RAM if a sufficient amount is available (say around 1GB) and this will offer excellent responsiveness.

Live CDs are a great way to test whether certain hardware is likely to be compatible with Linux. Just pop the disk into the CD-ROM drive of the system in question and reboot as described above. Most hardware problems (if there are any) should make themselves obvious during normal use.

If The Live CD Didn't Work

If your Live CD is ignored and you find yourself booting into your normal operating system, you may need to alter some settings in your BIOS. While this may sound daunting for some users, it's actually a lot easier than it sounds.

Begin by restarting your PC and when the boot process begins again you will need to strike a particular key on your keyboard. The key you need to strike will usually be displayed on the computer screen and is often the 'Del' key. Common alternatives are 'F1', 'F2', 'F10' and 'Esc'. The proper key will vary with your computers manufacturer. Once the proper key is struck your computer screen will display the 'BIOS' or 'Setup' editor. There are usually some simple instructions on the bottom of the screen, or off to one side, telling you how to navigate around the various choices and make changes. Be sure to read these before continuing, then look for something labeled 'Boot' or 'Boot order'. Using the instructions you read a moment ago, change this so that your CD-ROM is the first item in the boot order. If you think you've made a mistake, there is usually an option to 'Exit without saving changes'. If you don't see that option, holding down the 'Ctrl' and 'Alt' keys and pressing the 'Del' key should save the day. If all goes well 'Save and Exit' and your computer should boot up, checking the CD-ROM for your Live CD as it does so. If you have run a Linux Live CD and have rebooted to use your regular operating system and have arrived at a notice declaring "Missing Operating System" or "Error on System Disk", or any scary notice stopping you from loading up as normal, it is likely that the computer has "forgotten" that you normally load up from the hard drive and has started to look for your operating system in the CD Drive. To fix this, follow the instructions above accordingly to your system but instead of selecting your CD drive as the boot device, select your hard drive.

Install Linux

After testing the system, you'll want to install it to your hard drive permanently. This does not require you to get rid of the current operating system, even if you have only a single hard disk. We will explore this topic in more detail in the next tutorial, Installation Walkthrough.


TOPICS: Computers/Internet
KEYWORDS: linux
Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-80 ... 121-123 next last
To: ShadowAce

Nice script. I also write script-generating scripts. I've got one that I run monthly to generate 2-3 different scripts (depending on the remote server) onto a remote server, with an Excel spreadsheet as the input. It has saved me weeks of time over the course of a single year.

I stole it from somewhere. I couldn't write that has 'sed' line.

Just wondering why you used Excel? I've seen scripts that parse/modify OpenOffice spreadsheets that work really well, because XML is fairly easy and straightforward to parse.

41 posted on 01/14/2019 1:15:21 PM PST by zeugma (Power without accountability is fertilizer for tyranny.)
[ Post Reply | Private Reply | To 40 | View Replies]

To: zeugma
Just wondering why you used Excel?

Historically speaking, that is the tool used to maintain our list of servers. It contains name, IP, OS, Date of monthly update, whether or not to reboot it after the update, and the server's application owner, as well as the server's admin on our team.

I just used an existing information source to make my job easier. We probably could go to LibreOffice, or OpenOffice, but the maintainer uses a Mac, and he inherited the spreadsheet from a former maintainer. It's just easier to keep what we know works. :)

42 posted on 01/14/2019 1:25:53 PM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 41 | View Replies]

To: oldvirginian

Here’s an idea. Above I posted the directions on how to make a Linux Boot USB stick. Do this on your current working machine. Then boot the one you are working on from the Linux stick. This will override the password protect for you and get a usable OS up and running.

Now if at this point you want to just go ahead and install the linux it will also give you the option to reformat and wipe the drive clean as part of the install options set up. You can always make it a dual OS machine later if you like. But if you get the Linux version I have you are going to like it and not miss windows much at all.


43 posted on 01/14/2019 2:15:58 PM PST by Openurmind
[ Post Reply | Private Reply | To 38 | View Replies]

To: ShadowAce
I just used an existing information source to make my job easier. We probably could go to LibreOffice, or OpenOffice, but the maintainer uses a Mac, and he inherited the spreadsheet from a former maintainer. It's just easier to keep what we know works. :)

I figured it was something like that. Inertia isn't just for physical things!

44 posted on 01/14/2019 2:39:12 PM PST by zeugma (Power without accountability is fertilizer for tyranny.)
[ Post Reply | Private Reply | To 42 | View Replies]

To: Openurmind
Do you think they will allow Win 7 to become “Abandonware”...

I really hope!

They've put all the source code for Windows 10 into github, believe it or not. You could theoretically compile it and make it work. That's a lot of work, though.

The bigger problem isn't the code it's the support. When they no longer provide the security patching is when I'd stop using it. The Internet is a cesspool, and I'd be too worried about getting infected.

But the company really has changed. The boomers who founded it are almost completely gone, and now it's filled with Mellenials. I hardly go to Redmond anymore. Even the dining halls show MSNBC non-stop, like an airport with CNN, but worse!

45 posted on 01/14/2019 2:54:23 PM PST by Alas Babylon! (I can always count on some FReeper to paint a dark cloud above the silver lining. --Moonman62)
[ Post Reply | Private Reply | To 37 | View Replies]

To: Alas Babylon!

Know what? I’m not for sure all that security patching was even needed. I have been running Win 7 with no problems and have had my updates turned off for about 6 years now. Strange right? lol


46 posted on 01/14/2019 3:08:16 PM PST by Openurmind
[ Post Reply | Private Reply | To 45 | View Replies]

To: ShadowAce

Bump for later.


47 posted on 01/14/2019 3:14:44 PM PST by texas booster (Join FreeRepublic's Folding@Home team (Team # 36120) Cure Alzheimer's!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Thank you sir!


48 posted on 01/14/2019 3:20:30 PM PST by ducttape45 ("Righteousness exalteth a nation; but sin is a reproach to any people." Proverbs 14:34)
[ Post Reply | Private Reply | To 27 | View Replies]

To: zeugma

aaaannnnd you just scared everyone off


49 posted on 01/14/2019 3:51:07 PM PST by Pollard (If you don't understand what I typed, you haven't read the classics.)
[ Post Reply | Private Reply | To 39 | View Replies]

To: Pollard

Lol... I was thinking the same thing. You gotta use Code??? I’m done... lol


50 posted on 01/14/2019 4:26:33 PM PST by Openurmind
[ Post Reply | Private Reply | To 49 | View Replies]

To: Openurmind

Sadly, Mint is stopping support for KDE after 2021 :/


51 posted on 01/14/2019 7:53:43 PM PST by Bikkuri
[ Post Reply | Private Reply | To 25 | View Replies]

To: Unrepentant VN Vet

bookmark


52 posted on 01/14/2019 8:12:05 PM PST by Unrepentant VN Vet (...against all enemies, foreign or domestic...)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Bikkuri

I think what they have done is compiled the best of the best and incorporated it all into one core base. Have you tried cinnamon or mate yet? Pretty sure they will handle anything you use in KDE. These will be the core base they will be upgrading from now on. But I am kind of new to it and digging cinnamon. Reading around it looks like many have liked the move from KDE to cinnamon. :)


53 posted on 01/15/2019 4:18:59 AM PST by Openurmind
[ Post Reply | Private Reply | To 51 | View Replies]

To: ShadowAce
10 Things you can do with Linux that you cannot do with Windows
54 posted on 01/15/2019 4:46:21 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Pollard
aaaannnnd you just scared everyone off

LOL. Looks like it!

55 posted on 01/15/2019 6:29:18 AM PST by zeugma (Power without accountability is fertilizer for tyranny.)
[ Post Reply | Private Reply | To 49 | View Replies]

To: zeugma
The initial plan was to wait a week before posting the next installment.

Continue as planned, or go ahead? Need some input.

56 posted on 01/15/2019 6:41:50 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 55 | View Replies]

To: ShadowAce
Depends upon how many you have. :-)

A week wouldn't be bad, and would keep the haters from freaking out as much (though they seem to be a definite minority these days). It might make sense to do one on Monday and one on Thursday as well. Really depends upon how busy you are.

I have an issue with my media player that I'm hoping someone will be able to help me with that I was going to post on the next thread.

57 posted on 01/15/2019 6:46:53 AM PST by zeugma (Power without accountability is fertilizer for tyranny.)
[ Post Reply | Private Reply | To 56 | View Replies]

To: zeugma
Depends upon how many you have.

LOL! I'm winging this. I will have to go and find the content for the next one.

58 posted on 01/15/2019 6:50:42 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 57 | View Replies]

To: Openurmind
The Mint feels and functions like Win 7 right out of the box but with many more very cool features. :)

You mean now you can right click on a icon in the Start menu equivalent and then go to the source of the program? Or are they still hard to find? I am tempted to once again install Mint to show the differences, plus the lack of truly comparable software (like AutoHotKey).

Linux has much potential as a Desktop (though that genre is decreasing) and could be made a much more viable alternative, ut I fault the "easy as windows" line as hype, and having tried every major and many minor distros myself I find it lacks the ease of customization and comes short in truly comparable 3rd party software (without which Windows would be much less able). But just most people do not customize their computer much and are satisfied with the defaults, and most actually choose the Chrome browser over Firefox ESR with its vastly more extensive abilities for the power user (which also work in Linux) then many more could switch to Linux if they felt the need to.

On the other hand are those who want to their computer software computer to do much more, and know coding, and thus Linux is the best option for them.

For me I would be missing some functions unless I knew how to code (aside from a few simple scripts)

. But thank God for alternatives. What if we had to rely in the gov, for computers and software?

59 posted on 01/15/2019 8:00:03 AM PST by daniel1212 (Trust the risen Lord Jesus to save you as a damned and destitute sinner + be baptized + follow Him)
[ Post Reply | Private Reply | To 25 | View Replies]

To: whodathunkit
I would like to mention that not all hardware is compatible with Linux.

You mean like much Broadcom wireless?

60 posted on 01/15/2019 8:01:24 AM PST by daniel1212 (Trust the risen Lord Jesus to save you as a damned and destitute sinner + be baptized + follow Him)
[ Post Reply | Private Reply | To 29 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-80 ... 121-123 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson