(30min)
On projector
(from Ubuntu help https://help.ubuntu.com/6.06/ubuntu/desktopguide/C/linux-basics.html)This file structure is almost identical across all machines running Linux
Linux and Unix file systems are organised in a hierarchical, tree-like structure. The highest level of the file system is the / or root directory. In the Unix and Linux design philosophy, everything is considered a file - including hard disks, partitions and removable media. This means that all other files and directories (including other disks and partitions) exist under the root directory.
For example, /home/jebediah/cheeses.odt shows the correct full path to the cheeses.odt file that exists in the jebediah directory which is under the home directory, which in turn, is under the root (/) directory.
Underneath the root (/) directory, there is a set of important system directories that are common across most Linux distributions that are used. The following is a listing of common directories that are directly under the root (/) directory:
/bin - important binary applications
/boot - boot configuration files
/dev - the device files
/etc - configuration files, startup scripts, etc...
/home - local users' home directories
/lib - system libraries
/lost+found - provides a lost+found system for files that exist under the root (/) directory
/media - mounted (loaded) removable media such as CDs, digital cameras, etc...
/mnt - mounted filesystems
/opt - provides a location for optional applications to be installed
/proc - special dynamic directory that maintains information about the state of the system, including currently running processes
/root - root user home directory, pronounced 'slash-root'
/sbin - important system binaries
/sys - system files
/tmp - temporary files
/usr - applications and files that are mostly available for all users to access
/var - variable files such as logs and databases
Questions??
(Illustrate on the projected machine)
All of the files on a Linux system have permissions that allow or prevent others from viewing, modifying or executing. The super user “root” has the ability to access any file on the system. Each file has access restrictions, user restrictions and have an owner/group association.
Every file is secured by the following three sets of permissions, in order of importance:
user - applies to the user who is the owner of the file
group - applies to the group that is associated with the file
other - applies to all other users
Inside each of the three sets of permissions are the actual permissons. The permissions, along with the way they apply differently to files and directories, are outlined below:
read - files can be displayed/opened
directory contents can be displayed
write - files can be edited or deleted
directory contents can be modified
execute - executable files can be run as a program
directories can be entered
To view and edit the permissions on files and directories, open the Places in Home Folder and right-click on a file or directory. Then select Properties. The permissions exist under the Permissions tab and allow for the editing of all permission levels, if you are the owner of the file. Questions??
The root user in GNU/Linux is the user which has administrative access to your system. Normal users do not have this access for security reasons. However, Ubuntu does not include the root user. Instead, administrative access is given to individual users, who may use the “sudo” application to perform administrative tasks. The first user account you created on your system during installation will, by default, have access to sudo. You can restrict and enable sudo access to users with the Users and Groups application
When you run an application that requires root privileges, sudo will ask you to input your normal user password. This ensures that rogue applications cannot damage your system, and serves as a reminder that you are about to perform administrative actions which require you to be careful!
To use sudo when using the command line, simply type “sudo” before the command you wish to run. Sudo will then prompt you for your password.
Sudo will remember your password for a set amount of time. This feature was designed to allow users to perform multiple administrative tasks without being asked for a password each time.
Be careful when doing administrative tasks, you might damage your system!
Some other tips on using sudo:
Questions??
(Adapted from Linux Australia: http://www.linux.org.au/linux)
Linux (also known as GNU/Linux) is a computer operating system, Q: What are 2 other computer operating systems? (Microsoft Windows or Apple Mac OS).
Unlike those two, however, Linux is built with a collaborative development model. The operating system and most of its software are created by volunteers and employees of companies, governments and organisations from all over the world. Q: Do you know of any companies or government contributing to Linux? (US Gov security, Sun, IBM, Google, ideas from LOGIN crew)
The operating system is free to use and everyone has the freedom to contribute to its development. This co-operative development model means that everyone can benefit. Because of this, we like to call it Free Software, or Socially Responsible Software. Closely related is the concept of Open Source Software. Together, Free and Open Source Software is collectively abbreviated as FOSS. This contrasts with the proprietary (or closed source) development model used by some software companies today.
Many of the principles behind FOSS are derived from the axiom of “standing on the shoulders of giants”, most famously used by Isaac Newton, which has guided scientific and industrial development for hundreds of years.
Transparency of the code and development process means that it can be participated in and audited at all levels. Q: What benefits can you think of from this transparency? (Fast development, find and fix bugs quickly)
Software is just another form of information, and people have the right to have full control over that information. In the same way that you are free to share cooking recipes with your neighbour, you should also have the freedom to share and change software.
Linux has many other benefits, including speed, security and stability. It is renowned for its ability to run well on more modest hardware. Linux comes from the venerable UNIX family of operating systems, and so has been built from the ground-up with Internet-style networking and security in mind. Hence, viruses, worms, spyware and adware are basically a non-issue.
(from http://www.linfo.org/newbies.html)
UNIX was originally developed by Ken Thompson at Bell Labs, the legendary research arm of AT&T (the former U.S. telecommunications monopoly) in 1969 and was substantially improved at the University of California at Berkeley (UCB) during the 1970s and 1980s. Many variations were subsequently developed, and they are collectively referred to as Unix-like operating systems. Unix-like operating systems are widely regarded as the best operating systems ever created in terms of several criteria, including stability, security, flexibility, scalability and elegance.
Linux was started in 1991 by Linus Torvalds, then a student at the University of Helsinki in Finland, because of his dissatisfaction with MS-DOS and his desire to obtain a free version of UNIX for his new computer. Linux quickly became a global project with programmers from around the world participating in its development via the Internet. Its performance has improved continuously, and this has been paralleled by the swift growth in its usage around the world by individuals, corporations, educational institutions and governments.
Linux is superior to other Unix-like operating systems in several respects. One is that it is completely free, in contrast to the costly proprietary (i.e., commercial) versions of UNIX.
This freedom is made possible by the fact that Linux is released under the GNU General Public License (GPL). The GNU project was begun by Richard Stallman in 1983 for the purpose of developing a completely free, high performance, Unix-like operating system. It has provided many of the most critical utility programs for Linux, and thus it is sometimes suggested that the most appropriate name for Linux is GNU/Linux. Another advantage of Linux is that it can operate on a much wider range of hardware than most other operating systems. It can run on notebook computers, desktop computers, workstations, mainframes, supercomputers, handheld devices (including some mobile phones), game machines, industrial robots and even a wristwatch!
You have already used Linux and FOSS:
Questions??
(15 min)
(based on: http://packratstudios.com/index.php/2008/04/06/the-pros-and-cons-of-linux-windows-and-osx/)
Basically it comes down to choice. If you can think it, you can probably do it.
Way more secure than Windows XP and even OS-X.
(Install a program - that the audience choose)
Questions??
(45 min)
try to keep to 5 minutes each and watch the clock
show linuxalt
Questions??
(15min)
(record on projector computer)
(15 min)
Options:
Install and problem solving night - we help you install Ubuntu Linux on your machine or bring your problems along if you have already installed.
Detailed explanation of installing new software including:
Problem solving and Demonstrate programs and processes asked for in Week 1 and extended demonstration (20 minutes each) of:
Problem solving continued, with extended demonstrations (20min) of:
Assess interest in setting up a Linux Learners Group and invite to LOGIN meetings.