Differences between revisions 21 and 83 (spanning 62 versions)
Revision 21 as of 2010-09-16 07:19:53
Size: 16004
Editor: cresnik
Comment:
Revision 83 as of 2023-10-16 14:05:07
Size: 12212
Editor: alders
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<TableOfContents(4)>> #rev 2020-09-04 davidsch
#rev 0001-01-01 hgiger
Line 3: Line 4:
= Introduction to the GNU/Linux environment at D-ITET for new GNU/Linux users = <<TableOfContents(2)>>
Line 5: Line 6:
== Usage Policy == = Introduction to the Linux environment at D-ITET for new Linux users =
Line 7: Line 8:
ETH provides a use policy of IT resources. Please read it and follow these rules. == IT infrastructure usage policy ==

ETH provides a usage policy (BOT: Benutzungsordnung für Telematik) of IT resources. Please read it and follow these rules.
Line 15: Line 18:
Deutsche Version: http://www.rechtssammlung.ethz.ch/pdf/203.21_BOTfinal-2005.pdf Here you find the most important BOT-relevant documents of Informatikdienste (ID):
Line 17: Line 20:
English version: http://www.rechtssammlung.ethz.ch/pdf/203.21_BOTfinal-2005_Engl.pdf [[https://ethz.ch/content/dam/ethz/associates/services/Service/rechtliches/bot_merkblatt_fuer_studierende_en.pdf|IT usage policy for students]]

[[https://ethz.ch/content/dam/ethz/associates/services/Service/rechtliches/bot_merkblatt_fuer_mitarbeitende_en.pdf|IT usage policy for employees]]

[[https://ethz.ch/content/dam/ethz/associates/services/Service/rechtliches/merkblattbot02_tauschboerse.pdf|File sharing guidelines]]
Line 20: Line 27:
This introduction is for people who start to work on a computer running Debian
GNU/Linux which is managed by ISG.EE. While this introduction is directed to
GNU/Linux beginners, you might also find some useful information if you are
already an experienced GNU/Linux user.
This introduction is for people who start to work on a computer running Debian Linux which is managed by ISG D-ITET. While this introduction is directed to Linux beginners, you might also find some useful information if you are already an experienced Linux user.
Line 25: Line 29:
== The operating system ==
First let us clarify some terms. You surely already have heard of "Linux." This
denotes the kernel of an operating system, being responsible for making
hardware devices and resources available to applications and libraries. On top
of the Linux kernel, there is a lot of software, that makes the operating
system friendly to use. This software on top of the Linux kernel is from a
project called "GNU," which is a recursive acronym for "GNU's Not Unix."
== The Linux operating system ==
First let us clarify some terms. You surely already have heard of "Linux." This denotes the kernel of an operating system, being responsible for making hardware devices and resources available to applications and libraries. On top of the Linux kernel, there is a lot of software, that makes the operating system friendly to use. This software on top of the Linux kernel is from a project called "GNU" which is a recursive acronym for "GNU's Not Unix."
Line 33: Line 32:
In common usage these terms are somewhat ambiguous. Most of the time when
people talk about Linux they mean in fact an operating system consisting of the
Linux kernel with GNU software.
In common usage these terms are somewhat ambiguous. Most of the time when people talk about Linux they mean in fact an operating system consisting of the Linux kernel with GNU software.
Line 37: Line 34:
Now all the source code of the Linux kernel and of any GNU software can be
used, freely modified, and redistributed by anyone under the terms of the GNU
General Public License (GNU GPL). Many projects and companies took this
opportunity to design their own custom package of Linux and GNU software. That
is the reason why there are so many distributions of GNU/Linux around. The most popular
being Ubuntu, openSUSE, Fedora, and Debian.
Now all the source code of the Linux kernel and of any GNU software can be used, freely modified, and redistributed by anyone under the terms of the GNU General Public License (GNU GPL). Many projects and companies took this opportunity to design their own custom package of Linux and GNU software. That is the reason why there are so many distributions of Linux around. The most popular being Ubuntu, openSUSE, Fedora, and Debian.
Line 44: Line 36:
Debian GNU/Linux is a non commercial operating system developed by over one
thousand volunteers around the world. It is well known for its stability and
its huge software repositories. These are some of the reasons why Debian GNU/Linux is
being used on the GNU/Linux systems managed by ISG.EE. However, Debian is also
rather targeted towards experienced users. At least when it comes to
installation and configuration of the operating system. That is why we
recommend Ubuntu to you, if you want to install GNU/Linux on your own laptop or
on your computer at home.
Debian Linux is a non commercial operating system developed by over one thousand volunteers around the world. It is well known for its stability and its huge software repositories. These are some of the reasons why Debian Linux is being used on the GNU/Linux systems managed by ISG D-ITET. However, Debian is also rather targeted towards experienced users. At least when it comes to installation and configuration of the operating system. That is why we recommend Ubuntu to you, if you want to install Linux on your own laptop or on your computer at home.
Line 53: Line 38:
== Window Mangers and Desktop Environments ==
You are probably already logged in now, in order to read this. Never mind. Then
just try to remember this the next time you log in. In the login dialog you
will notice a button called ''Session'' in the top left corner of the window.
This is where you choose the window manager or desktop environment you want to
use.
== Window managers and desktop environments ==
You are probably already logged in now, in order to read this. Never mind. Then just try to remember this the next time you log in. After you entered the username you have the choice of several window managers or desktop environments at the bottom of the screen (by default this is set to ''System Default'' which is GNOME in the case of Debian Linux).
Line 60: Line 41:
A window manager is just responsible for the look and feel of windows. The
difference between some window managers is the way windows are decorated and
how you interact with the graphical interface.
A window manager is just responsible for the look and feel of windows. The difference between some window managers is the way windows are decorated and how you interact with the graphical interface.
Line 64: Line 43:
Desktop environments on the other hand incorporate a window manager plus a
complete package of graphical applications that make their usage more
comfortable. The most prominent examples of desktop environments are GNOME and
KDE. By default, GNOME will be used on Debian/GNU Linux. Thus, if you did not
change anything during log-in, you will now be working with GNOME. If you don't
like it, log out and choose KDE. If you do not want to use GNOME or KDE it
might be useful to have some command line knowledge and read some manuals on
the usage of the corresponding window manager. Otherwise your work performance
might be rather limited. If you ever happen to choose the window manager
''evilwm'' and wonder why nothing happens, just press `CONTROL-ALT-ENTER`, enter
the command {{{pkill -u $USER -f /usr/bin/evilwm}}}, press `ENTER` and only come
back to evilwm as soon as you have read its documentation.
Desktop environments on the other hand incorporate a window manager plus a complete package of graphical applications that make their usage more comfortable. The most prominent examples of desktop environments are GNOME and KDE. By default, GNOME will be used on Debian Linux. Thus, if you did not change anything during log-in, you will now be working with GNOME. If you don't like it, log out and choose KDE.
Line 77: Line 45:
We recommend that you use GNOME or KDE. For the sake of simplicity for this
introduction we assume that you are running GNOME.
For the sake of simplicity for this introduction we assume that you are running GNOME.
Line 80: Line 47:
== Your passwords == == Your password ==
Line 82: Line 49:
As a member of D-ITET you have got at least two passwords. The D-ITET and the
NETHZ password. Below you can find a list of services provided.
 * Our managed Linux clients authenticate against the ID nethz account service so you can change your password in the [[https://password.ethz.ch/|IAM Web Center]]
 * '''You should always set an own password''' and not keep the one sent to you in a letter or in an e-mail sent by some IT Services Group (ISG).
 * If for some reason changing the passwords does not work, please visit our support helpdesk in the office ETF D 106, where we can help you. Do not forget to bring an identification document (passport and so on).
Line 85: Line 53:
You can (and should) change the passwords yourself. If for some reasons changing the passwords does not work, please come by in our office at ETL F 22, where we can help you. Do not forget to bring some identification. Unfortunately, we are not allowed to change passwords when just call.  * IT services provided by D-ITET
  * Student computers in ETZ D 61.1, ETZ D 61.2, ETZ D 96.
  * ISG D-ITET managed computers in your institute.
  * Access to your network drive from home.
 * IT services provided by the Informatikdienste (ID)
  * Student computers in the ETH main building (HG)
  * ETHZ mail account
  * WLAN
  * VPN
  * IDES
Line 87: Line 64:
=== D-ITET password === ==== Links ====
[[https://computing.ee.ethz.ch/Services|List of IT services provided by D-ITET]]
Line 89: Line 67:
 * Student computers in ETZ D 96 and D 61
 * ISG.EE managed computers in your institute
 * Access to your network drive from home
[[https://ethz.ch/students/en/service/it-services.html|List of IT services provided by ETHZ for students]]
Line 93: Line 69:
You can change your D-ITET password on this website: https://apps.ee.ethz.ch/cligui/

'''You should always set your password by yourself''' and not keep the one given to
you by a postwoman/postman or some IT support group (however friendly they
might be or not :-) )

==== Links ====

|| IT services provided by D-ITET || http://computing.ee.ethz.ch/Services ||

=== NETHZ password ===

 * Student computers in the ETH main building (HG)
 * ETHZ mail account
 * WLAN
 * VPN
 * IDES

You can change your NETHZ password on this website: https://password.ethz.ch/

'''You should always set your password by yourself''' and not keep the one given to
you by a postwoman/postman or some IT support group (however friendly they
might be or not :-) )

==== Links ====

||IT services provided by ETHZ for students||http://www.id.ethz.ch/services/students/index||
||IT services provided by ETHZ for staff members||http://www.id.ethz.ch/services/staff/index||
Line 124: Line 72:
You probably want to make yourself a bit familiar with your operating system
before going on. Let us first browse the filesystem a bit to see, what is
important for you to know. If you are running the GNOME desktop environment,
you will find the ''Computer'' symbol somewhere on the desktop. You can simply
double-click it to see its contents. Now go to ''Computer > Filesystem.'' There
are quite a lot of folders in there. But we will only look at folders which are
probably most important for you. These are `/scratch` and `/home` (you won't
see the "/" in the directory names; The "/" just denotes the "root" of the
filesystem and comes in handy as soon as you start using the command line).
You probably want to make yourself a bit familiar with your operating system before going on. Let us first browse the filesystem a bit to see, what is important for you to know. If you are running the GNOME desktop environment, you will find the ''Computer'' symbol somewhere on the desktop. You can simply double-click it to see its contents. Now go to ''Computer > File System.'' There are quite a lot of folders in there. But we will only look at folders which are probably most important for you. These are `/scratch` and `/home` (you won't see the "/" in the directory names; The "/" just denotes the "root" of the filesystem and comes in handy as soon as you start using the command line).
Line 134: Line 74:
Within `/home` you will find at least one directory called after your username,
e.g. `/home/pmuster.` This is a network folder, meaning that its data are
physically stored on the departments storage server. This makes your home
directory `/home/pmuster` (or however your home-folder is called) the most
important place to store your date due to several reasons:
Within `/home` you will find at least one directory called after your username, e.g. `/home/pmuster.` This is a network folder, meaning that its data are physically stored on the departments storage server. This makes your home directory `/home/pmuster` (or however your home-folder is called) the most important place to store your date due to several reasons:
Line 142: Line 78:
 * Data is stored in a redundant manner on the storage server, reducing the danger
of losing data due to hardware failures by several orders of magnitude (compared to data stored locally
on one harddisk).
 * Data is stored in a redundant manner on the storage server, reducing the danger of losing data due to hardware failures by several orders of magnitude (compared to data stored locally on one harddisk).
Line 146: Line 80:
 * The data is being backed up every night. Should you ever need a backup of some
accidentally deleted files, just contact "support AT ee.ethz.ch." But bear in mind:
There are no backups of files you created on the same day.
 * The data is being backed up every night. Should you ever need a backup of some accidentally deleted files, just contact "support AT ee.ethz.ch." But bear in mind: There are no backups of files you created on the same day.
Line 150: Line 82:
 * You can easily access your home directory from your own laptop or computer at
home (independent of the operating system you run there).
 * You can easily access your home directory from your own laptop or computer at home (independent of the operating system you run there).
Line 153: Line 84:
Now, redundancy, security, accessibility and backup strategies are not completely
free of charge. That makes disk space on your home directory a very valuable entity.
So valuable in fact, that we have to limit the maximally usable disk space in each
home directory (called "quota"). In order to check your quota limit, issue the command
{{{quotack}}} in a terminal (read the section "The command line" in order
to get to know how to do this)
.
Now, redundancy, security, accessibility and backup strategies are not completely free of charge. That makes disk space on your home directory a very valuable entity. So valuable in fact, that we have to limit the maximally usable disk space in each home directory (called "quota"). In order to check your quota limit, issue the command {{{quotack}}} in a terminal.
Line 160: Line 86:
If you want to burn some ISO image you found on the web, or store some huge
simulation data, you will soon notice, that the quota on you home directory
will not be sufficient. That is where `/scratch` comes to rescue. Everyone has
the permission to create and store files and folders in `/scratch.` There is no
such thing as quota in there, and usually there are gigabytes of data free to
use. Additionally, as `/scratch` is stored locally, you bypass the network bottleneck.
Just remember that `/scratch` does not have any of the advantages of the home directory. If the harddrive of the
computer you are working on crashes, your data in `/scratch` is lost while your data in the home directory
are as save as ever. So please
remember the following: '''Never put any important data in `/scratch` which you
cannot regenerate by yourself.'''
If you want to burn some ISO image you found on the web, or store some huge simulation data, you will soon notice, that the quota on you home directory will not be sufficient. That is where `/scratch` comes to rescue. Everyone has the permission to create and store files and folders in `/scratch.` There is no such thing as quota in there, and usually there are gigabytes of data free to use. Additionally, as `/scratch` is stored locally, you bypass the network bottleneck. Just remember that `/scratch` does not have any of the advantages of the home directory. If the harddrive of the computer you are working on crashes, your data in `/scratch` is lost while your data in the home directory are as save as ever. So please remember the following: '''Never put any important data in `/scratch` which you cannot regenerate by yourself.'''
Line 174: Line 90:
||Access your data from home||[[Services/FileAccess]]|| [[https://computing.ee.ethz.ch/Services/FileAccess|Access your data from home]]
Line 178: Line 94:
A lot of applications are available from the ''Applications'' panel on the top
bar. We will mention just some few programs which could be of interest to you:
A lot of applications are available from the ''Applications'' panel on the top bar. We will mention just some few programs which could be of interest to you:
Line 186: Line 101:
|| Accessories -> Terminal || Terminal (console) for the command line interface to the GNU/Linux operating system || || Accessories -> Terminal || Terminal (console) for the command line interface to the Linux operating system ||
Line 188: Line 103:
Many more programs such as Matlab are installed but cannot be started via the Applications menu. Open a terminal, type {{{matlab}}} and press `ENTER` to start the program. Many more programs such as Matlab are installed but cannot be started via the Applications menu.
To start them
, open a terminal and type:

{{{
$ matlab // or matlab <TAB> <TAB> if you want to see which versions are available
}}}

and press `ENTER` to start the program.
Line 192: Line 114:
|| Complete list of software not accessible via the Application menus || http://www.sepp.ee.ethz.ch/sepp-debian/ || [[https://www.sepp.ee.ethz.ch/sepp-debian/|Complete list of Linux software packages not accessible via the application menu (SEPP; ETH-internal access only!)]]
Line 194: Line 116:
== Email == == E-mail ==
Line 196: Line 118:
As a member of D-ITET you have two accounts as explained above: The NETHZ
account from the central IT services of ETH and the D-ITET account of the
department. Likewise, you are accessible through two email addresses. Our
example student Peter Muster with username pmuster will be accessible through
`pmuster@student.ethz.ch` and `pmuster@ee.ethz.ch.` Nevertheless, if you are a new
member at D-ITET, all your emails will arrive in the same mailbox, as mail to
`pmuster@ee.ethz.ch` will automatically be forwarded to `pmuster@student.ethz.ch.`
As a member of D-ITET you have two accounts as explained above: The NETHZ account from the central IT services of ETH and the D-ITET account of the department. Likewise, you are accessible through two email addresses. Our example student Peter Muster with username pmuster will be accessible through `pmuster@student.ethz.ch` and `pmuster@ee.ethz.ch.` Nevertheless, if you are a new member at D-ITET, all your emails will arrive in the same mailbox, as mail to `pmuster@ee.ethz.ch` will automatically be forwarded to `pmuster@student.ethz.ch.`
Line 214: Line 130:
||Email access via webinterface||https://mail.ethz.ch/||
|
|Further information about email at ETHZ||http://www.id.ethz.ch/services/list/e_mail||
|
|Configuration of various email clients||http://www.id.ethz.ch/services/list/e_mail/mail_clients||
[[https://mail.ethz.ch/|Email access via webinterface]]

[[
https://unlimited.ethz.ch/pages/viewpage.action?pageId=16451437|Further information about email at ETHZ]]

[[https
://unlimited.ethz.ch/display/itkb/Mailbox|Configuration of various email clients]]
Line 220: Line 138:
The central IT services of ETH maintain a service called VPP. With that you can
print independent of your operating system almost anywhere at ETH. On most
printers you will have to confirm your print job on a printer release station
(next to the printer where you want to print).
Public Linux workstations at D-ITET use the CUPS software (Common Unix Printing System) that is running on each client on `localhost`, TCP `port 631`. Applications supporting CUPS (most modern Linux GUI applications do so), read the `CUPS_SERVER` environment variable to communicate with the CUPS software (e.g. to query the list of all available printers). Printing jobs sent to the CUPS will be forwarded to the central IT services which is in charge of the printer infrastructure.
Line 225: Line 140:
In order to make printing easier for you, we have created an additional layer
above VPP. With that, you can print directly through the common print dialog
found in most applications. Just be sure to pick the right printer. The list of
printers and where they are located can be found on the VPP homepage.
Have a look at the links below.
Line 231: Line 143:
[[https://computing.ee.ethz.ch/Printing|Printing at D-ITET]]
Line 232: Line 145:
||VPP homepage||http://www.vpp.ethz.ch/||
|
|Information about printing at D-ITET||[[Printing]]||
[[https://unlimited.ethz.ch/display/itkb/Printing|Information about printing at ETH]]
Line 235: Line 147:
== The command line == [[https://printing.sp.ethz.ch/|ETH Print Service]]
Line 237: Line 149:
On of the powers of GNU/Linux is its command line interface. Almost all programs
on GNU/Linux systems can somehow be controlled through the command line. But there
are also a lot of programs which are available ''only'' on the command line.
The philosophy behind a command line programs is: Do just
a very specific thing; but do it the right way. Pipes ("|") make it possible
to feed the output from one command to the next one. You could, for example, open
a terminal and type the command
[[https://www.print.ethz.ch|Manage your print jobs/ PaperCut GUI (ETH-internal access only)]]
Line 245: Line 151:
{{{
curl http://www.gutenberg.org/dirs/etext00/0ws2610.txt | tr -cs "[:alpha:]" "\n" | sort | uniq -i | wc -l
}}}
== Remote Access ==
Line 249: Line 153:
to gain the wisdom that Shakespeare used a vocabulary of
roughly 5000 different words in his tragedy ''Hamlet.''

Here is a short explanation of what the above command does

 * {{{curl http://www.gutenberg.org/dirs/etext00/0ws2610.txt}}} just downloads the given url and pipes its content (`|`) to the next command.
 * {{{tr -cs "[:alpha:]" "\n"}}} splits the text it got from curl such that there is just one word per line. The output is being fed to the next command.
 * {{{sort}}} well, just sorts the resulting list of words by alphabet and pipes its result to the next command.
 * {{{uniq -i}}} replaces words appearing severl times with just one occurence. The {{{-i}}} option makes it ignore the case. The result is again piped to the next command.
 * {{{wc -l}}} counts the resulting number of lines and (as there is no pipe following this command) writes the result to the standard output, which is your terminal.

If you wonder how Shakespeare's vocabulary
compares to that of some other author, just expand above
command to a shell script called e.g. "getdata.sh" with the content

{{{
#!bash
#!/bin/bash

curl $1 | tr -cs "[:alpha:]" "\n" > tmpfile
for (( words=100; words<=25000; words+=100 )); do
        uniquewords=$(head -n $words tmpfile | sort | uniq -i | wc -l)
        echo "$words $uniquewords"
done
}}}

Make it executable ({{{chmod u+x getdata.sh}}}) and run it once for Shakespeare's ''Hamlet'' and once, say, for Lewis Carrol's ''Alice in Wonderland''
with

{{{
./getdata.sh http://www.gutenberg.org/dirs/etext00/0ws2610.txt > Shakespeare.dat
./getdata.sh http://www.gutenberg.org/files/11/11.txt > Carrol.dat
}}}

And finally plot it using the command line tool {{{gnuplot}}}:
{{{
gnuplot> set xlabel "Number of Words"
gnuplot> set ylabel "Number of Pairwise Distinctive Words"
gnuplot> plot "Shakespeare.dat" using 1:2 smooth unique title "Shakespeare", "Carrol.dat" using 1:2 smooth unique title "Carrol"
}}}

Note: {{{exit}}} will get you out of the {{{gnuplot}}} interface.

You will get a picture as presented below showing the increase of the number of pairwise distinctive words versus the total number
of words within the corresponding texts.

Admittedly, you would have to put quite a lot of additional effort in into this
to make it accurate (e.g. you would need to take a close look at the texts from
the Gutenberg archive, since there are lots of "Gutenberg related" parts within
the texts like notes about licensing etc.). Furthermore you might then be better
off by using some more powerful programming language than shell script, e.g.
PHP, Perl, Python, or Ruby.

Nevertheless, this example just serves for giving you an idea,
how powerful the command line can be. And how some
small tools can be combined to do quite complicated stuff. If this motivates you to also get
to know the GNU/Linux command line, you will find plenty of information in the
internet. Just find some tutorial suitable to your needs.

{{attachment:ShakespeareVsCarrol.png}}
You might have to access a computer from a remote location. Remote Access allows you to work offsite while still having access to a distant computer. For more details, read the [[https://computing.ee.ethz.ch/RemoteAccess|RemoteAccess article]]
Line 311: Line 156:
GNU/Linux is a true multiuser operating system. Thus you should never shut down
a student workstation by yourself. So if you are finished with your work for
today, just log out. If you are using the GNOME desktop environment you do this
e.g. through `Desktop > Log out ...`
Linux is a true multiuser operating system. Thus you should never shut down a student workstation by yourself. So if you are finished with your work for today, just log out. If you are using the GNOME desktop environment you do this e.g. through `System > Log out pmuster...`

----
[[CategoryLXCL]]

Introduction to the Linux environment at D-ITET for new Linux users

IT infrastructure usage policy

ETH provides a usage policy (BOT: Benutzungsordnung für Telematik) of IT resources. Please read it and follow these rules.

The most important points are:

  • You may not abuse the computer equipment for illegal activities (spam, hacking etc.)
  • Viewing and providing offfensive, abusive and illegal material is prohibited (hate speech, racism, pornography etc.)
  • Sharing copyrighted material is prohibited

Here you find the most important BOT-relevant documents of Informatikdienste (ID):

IT usage policy for students

IT usage policy for employees

File sharing guidelines

Is this introduction for me?

This introduction is for people who start to work on a computer running Debian Linux which is managed by ISG D-ITET. While this introduction is directed to Linux beginners, you might also find some useful information if you are already an experienced Linux user.

The Linux operating system

First let us clarify some terms. You surely already have heard of "Linux." This denotes the kernel of an operating system, being responsible for making hardware devices and resources available to applications and libraries. On top of the Linux kernel, there is a lot of software, that makes the operating system friendly to use. This software on top of the Linux kernel is from a project called "GNU" which is a recursive acronym for "GNU's Not Unix."

In common usage these terms are somewhat ambiguous. Most of the time when people talk about Linux they mean in fact an operating system consisting of the Linux kernel with GNU software.

Now all the source code of the Linux kernel and of any GNU software can be used, freely modified, and redistributed by anyone under the terms of the GNU General Public License (GNU GPL). Many projects and companies took this opportunity to design their own custom package of Linux and GNU software. That is the reason why there are so many distributions of Linux around. The most popular being Ubuntu, openSUSE, Fedora, and Debian.

Debian Linux is a non commercial operating system developed by over one thousand volunteers around the world. It is well known for its stability and its huge software repositories. These are some of the reasons why Debian Linux is being used on the GNU/Linux systems managed by ISG D-ITET. However, Debian is also rather targeted towards experienced users. At least when it comes to installation and configuration of the operating system. That is why we recommend Ubuntu to you, if you want to install Linux on your own laptop or on your computer at home.

Window managers and desktop environments

You are probably already logged in now, in order to read this. Never mind. Then just try to remember this the next time you log in. After you entered the username you have the choice of several window managers or desktop environments at the bottom of the screen (by default this is set to System Default which is GNOME in the case of Debian Linux).

A window manager is just responsible for the look and feel of windows. The difference between some window managers is the way windows are decorated and how you interact with the graphical interface.

Desktop environments on the other hand incorporate a window manager plus a complete package of graphical applications that make their usage more comfortable. The most prominent examples of desktop environments are GNOME and KDE. By default, GNOME will be used on Debian Linux. Thus, if you did not change anything during log-in, you will now be working with GNOME. If you don't like it, log out and choose KDE.

For the sake of simplicity for this introduction we assume that you are running GNOME.

Your password

  • Our managed Linux clients authenticate against the ID nethz account service so you can change your password in the IAM Web Center

  • You should always set an own password and not keep the one sent to you in a letter or in an e-mail sent by some IT Services Group (ISG).

  • If for some reason changing the passwords does not work, please visit our support helpdesk in the office ETF D 106, where we can help you. Do not forget to bring an identification document (passport and so on).
  • IT services provided by D-ITET
    • Student computers in ETZ D 61.1, ETZ D 61.2, ETZ D 96.
    • ISG D-ITET managed computers in your institute.
    • Access to your network drive from home.
  • IT services provided by the Informatikdienste (ID)
    • Student computers in the ETH main building (HG)
    • ETHZ mail account
    • WLAN
    • VPN
    • IDES

List of IT services provided by D-ITET

List of IT services provided by ETHZ for students

Where to put your data

You probably want to make yourself a bit familiar with your operating system before going on. Let us first browse the filesystem a bit to see, what is important for you to know. If you are running the GNOME desktop environment, you will find the Computer symbol somewhere on the desktop. You can simply double-click it to see its contents. Now go to Computer > File System. There are quite a lot of folders in there. But we will only look at folders which are probably most important for you. These are /scratch and /home (you won't see the "/" in the directory names; The "/" just denotes the "root" of the filesystem and comes in handy as soon as you start using the command line).

Within /home you will find at least one directory called after your username, e.g. /home/pmuster. This is a network folder, meaning that its data are physically stored on the departments storage server. This makes your home directory /home/pmuster (or however your home-folder is called) the most important place to store your date due to several reasons:

  • Any data you put in here will be available on any other computer managed by us.
  • Data is stored in a redundant manner on the storage server, reducing the danger of losing data due to hardware failures by several orders of magnitude (compared to data stored locally on one harddisk).
  • The data is being backed up every night. Should you ever need a backup of some accidentally deleted files, just contact "support AT ee.ethz.ch." But bear in mind: There are no backups of files you created on the same day.
  • You can easily access your home directory from your own laptop or computer at home (independent of the operating system you run there).

Now, redundancy, security, accessibility and backup strategies are not completely free of charge. That makes disk space on your home directory a very valuable entity. So valuable in fact, that we have to limit the maximally usable disk space in each home directory (called "quota"). In order to check your quota limit, issue the command quotack in a terminal.

If you want to burn some ISO image you found on the web, or store some huge simulation data, you will soon notice, that the quota on you home directory will not be sufficient. That is where /scratch comes to rescue. Everyone has the permission to create and store files and folders in /scratch. There is no such thing as quota in there, and usually there are gigabytes of data free to use. Additionally, as /scratch is stored locally, you bypass the network bottleneck. Just remember that /scratch does not have any of the advantages of the home directory. If the harddrive of the computer you are working on crashes, your data in /scratch is lost while your data in the home directory are as save as ever. So please remember the following: Never put any important data in /scratch which you cannot regenerate by yourself.

Access your data from home

Applications

A lot of applications are available from the Applications panel on the top bar. We will mention just some few programs which could be of interest to you:

Internet -> Firefox Web Browser (SEPP)

Browser

Internet -> Thunderbird Mail/News (SEPP)

Mail client

Office -> OpenOffice.org Writer etc.

Office suite which can open all MS Office documents

Graphics -> GNU Image Manipulation Program

Image manipulation software with the same capabilities as Photoshop

Sound & Video -> VLC media player

Media Player for listening to music or watching videos

Accessories -> Terminal

Terminal (console) for the command line interface to the Linux operating system

Many more programs such as Matlab are installed but cannot be started via the Applications menu. To start them, open a terminal and type:

$ matlab       // or matlab <TAB> <TAB> if you want to see which versions are available

and press ENTER to start the program.

Complete list of Linux software packages not accessible via the application menu (SEPP; ETH-internal access only!)

E-mail

As a member of D-ITET you have two accounts as explained above: The NETHZ account from the central IT services of ETH and the D-ITET account of the department. Likewise, you are accessible through two email addresses. Our example student Peter Muster with username pmuster will be accessible through pmuster@student.ethz.ch and pmuster@ee.ethz.ch. Nevertheless, if you are a new member at D-ITET, all your emails will arrive in the same mailbox, as mail to pmuster@ee.ethz.ch will automatically be forwarded to pmuster@student.ethz.ch.

The central mail server of ETH allows you to access your mails through

  • a web interface,
  • the IMAP standard,
  • the MAPI standard (only with Microsoft Outlook).

For information how to configure your mail client (e.g. Thunderbird) please see the link to the corresponding documentation below.

Email access via webinterface

Further information about email at ETHZ

Configuration of various email clients

Printing

Public Linux workstations at D-ITET use the CUPS software (Common Unix Printing System) that is running on each client on localhost, TCP port 631. Applications supporting CUPS (most modern Linux GUI applications do so), read the CUPS_SERVER environment variable to communicate with the CUPS software (e.g. to query the list of all available printers). Printing jobs sent to the CUPS will be forwarded to the central IT services which is in charge of the printer infrastructure.

Have a look at the links below.

Printing at D-ITET

Information about printing at ETH

ETH Print Service

Manage your print jobs/ PaperCut GUI (ETH-internal access only)

Remote Access

You might have to access a computer from a remote location. Remote Access allows you to work offsite while still having access to a distant computer. For more details, read the RemoteAccess article

Log out

Linux is a true multiuser operating system. Thus you should never shut down a student workstation by yourself. So if you are finished with your work for today, just log out. If you are using the GNOME desktop environment you do this e.g. through System > Log out pmuster...


CategoryLXCL

NewLinuxUser (last edited 2023-10-16 14:05:07 by alders)