[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/en/ITIL/UsefulCommands" by PetterReinholdtsen

Debian Wiki debian-www at lists.debian.org
Fri Jul 31 08:02:57 UTC 2015


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/Documentation/en/ITIL/UsefulCommands" page has been changed by PetterReinholdtsen:
https://wiki.debian.org/DebianEdu/Documentation/en/ITIL/UsefulCommands?action=diff&rev1=14&rev2=15

Comment:
Generated from git.

  = Useful commands =
  
- == Support for 4 GB memory <--include in configuration management ==
+ == Support for 4 GB memory <-- included in configuration management ==
  
  User Case: Because there is limited space on the Skolelinux/Debian-Edu CD only one Linux kernel is included, i.e. the lowest common denominator. That means it is added a kernel ''working'' at as many as possible different types of hardware.
  
@@ -179, +179 @@

  
  Co-author: Knut Yrvin
  
- To install packages one need to tell from where they should be fetched. In other words, which package archive to use.
+ To install packages one needs to tell from where they should be fetched. In other words, which package archive to use.
  
  One can specify package archives in the file `/etc/apt/sources.list`
  
- You can work with package management at the command line. It is more graphical applications like for example KPackage [[#!UsefulCommands--kpackage|7]] or Webmin [[#!UsefulCommands--webmin|12]]
+ You can work with package management on the command line. There is more graphical applications like for example KPackage [[#!UsefulCommands--kpackage|7]] or Webmin [[#!UsefulCommands--webmin|12]]
  
- This section provide a quick introduction to using the command line for administrating packages.
+ This section provides a quick introduction to using the command line for administrating packages.
  
  This is the content of a file with references to package repositories on the Internet or from a CD ROM:
  
@@ -206, +206 @@

   1. deb ftp://non-us.debian.org/debian-non-US/ sarge/non-US main contrib non-free
   1. deb ftp://ftp.skolelinux.no/skolelinux/ sarge local
  }}}
- Note that the lines ''without'' hashtag (#) can be used as reference to the package archive. The example show that one only gets packets from the CD ROM used during installation. Other archives are not activated. When doing this, one should open for security upgrades. So you can try other archives for more packages.
+ Note that the lines ''without'' hashtag (#) can be used as reference to the package archive. The example shows that one only gets packets from the CD ROM used during installation. Other archives are not activated. When doing this, one should open for security upgrades. So you can try other archives for more packages.
  
  As a start it should look something like this:
  
@@ -235, +235 @@

  
  === Exception handling ===
  
- Links to package archive have a specific design. Failure to follow this gives error messages when updating, with a request to correct the error.
+ Links to package archive have a specific design. Failure to follow this gives error messages when updating, asking to correct the error.
  
  Kommentartegnet ( # ) er også på plass forran flere linjer i fila. Teknikken med "å kommentere ut", er typisk for de fleste oppsettsfiler i Linux. Andre symbol som kan være i bruk er semikollon ( ; ) og doble skråstreker ( // ). Men her er det altså skigard som gjelder, og fjernes dette gjelder det som står på linja.
  
@@ -313, +313 @@

  
  '''apt-get clean'''
  
- to clear the archive. This should be done occasionally. Otherwise `/var` becomes filled up.
+ to clear the archive. This should be done occasionally. Otherwise `/var` becomes full.
  
  === Warning ===
  
@@ -325, +325 @@

  
  '''apt-get upgrade --simulate | more'''
  
- If it look good, one can run the command again without the '''--simulate''' parameter
+ If it looks good, one can run the command again without the '''--simulate''' parameter
  
  It is also possible to use '''aptitude dist-upgrade''' in combination with '''apt-get upgrade'''.
  
  === Exception handling ===
  
- Sometimes you will get a message about changes affecting packages to upgrade or install, as here
+ Sometimes you will get a message about changes affecting packages to upgrade or install, as in here
  
  {{{
  kdeaddons (4:3.1.0-4) unstable; urgency=low
@@ -463, +463 @@

       0.3.8-1 0
          500 http://ftp.debian.org sarge/main Packages
  }}}
- One sees package kdissert is not installed, but available for installation in version 0.3.8-1 from `http://ftp.debian.org
+ So one notices that the package kdissert is not installed, but available for installation in version 0.3.8-1 from `http://ftp.debian.org
  sarge/main`
  
  == Installation of packages ==
@@ -478, +478 @@

  
  '''apt-get install <package name>'''
  
- If you want to see what happened during the installation one should run a simulation first with the command
+ If you want to see what happened during the installation you should run a simulation first with the command
  
  '''apt-get install <package name> --simulate'''
  
@@ -508, +508 @@

  }}}
  == Removal of installed packages ==
  
- User case: Want to remove certain packages that will not be used.
+ Use case: Wants to remove certain packages that will not be used.
  
  Author: Klaus Ade Johnstad.
  
@@ -556, +556 @@

  
  '''apt-get install <package name>'''
  
- then the newest package is installed. Some times an older version instead of the newest version is wanted.
+ then the newest package is installed. Sometimes an older version instead of the newest version is wanted.
  
  '''apt-get install <package name>=older_version_number'''
  
@@ -612, +612 @@

  }}}
  == Install a package using dpkg ==
  
- User case: Sometimes it is wanted to download a package from others, not located in a Debian web archives. Opera browser a such a package.
+ User case: Sometimes it is needed to download a package from other places, not located in a Debian web archive. Opera browser is such a package.
  
  Author: Klaus Ade Johnstad.
  
@@ -620, +620 @@

  
  Download the package from the home page of the creators of the program. This could for example be Opera. The program is installed using the following command:
  
- '''dpkg -i <full path to package>'''
+ '''dpkg -i <full path to the package>'''
  
  . If you first want to simulate this try
  
@@ -643, +643 @@

  Errors were encountered while processing:
   opera
  }}}
- dpkg require more handling than apt-get because it does not handle package dependencies. Meaning you may need to run '''apt-get''' immediately afterwards with additional parameter. For example. It helps to run '''apt-get --fix-broken''' to sort it out
+ dpkg requires more manipulations than apt-get because it does not handle package dependencies. Meaning you may need to run '''apt-get''' immediately afterwards with additional parameter. For example. It helps to run '''apt-get --fix-broken''' to sort it out
  
  {{{
  tjener:~# apt-get install --fix-broken --simulate
@@ -815, +815 @@

  
  '''dpkg-scanpackages dpkg /dev/null | gzip -9c > dpkg/Packages.gz'''
  
- After this a new line is added to the file `/etc/apt/sources.list`:
+ After that a new line is added to the file `/etc/apt/sources.list`:
  
  {{{
  deb file:///var/www dpkg/
  }}}
  And then the command '''apt-get update''' must be executed as usual to update the packages in the database.
  
- == Secure login on firewall (ssh) ==
+ == Secure login to the firewall (ssh) ==
  
  Use case: Some times it is required to log into Coyote Linux when no web browser is available. Perhaps the command line is preferred? Then ssh can be used to connect to Coyote Linux.
  
@@ -881, +881 @@

  
  === Update the configuration database ===
  
- == Status summary for firewall (Coyote) ==
+ == Status summary for the firewall (Coyote) ==
  
  Use case: Which commands can be used to get the menu or to get an overview of the status of the firewall?
  
@@ -891, +891 @@

  
   * ping
  
- Useful to figure out if the network is working. The command check if there is a connection to the Skolelinux / Debian Edu main server.
+ Useful to figure out if the network is working. The command checks if there is a connection to the Skolelinux / Debian Edu main server.
  
  {{{
  coyote# ping -c5 10.0.2.2
@@ -908, +908 @@

  }}}
   * dmesg
  
- This command display information about the Linux kernel running on the machine. It lists things like memory, processor and network card. If there is too much output from '''dmesg''' you can send the output through a so called pager program like "more" and use '''Space''' to read everything, '''dmesg|more'''
+ This command displays information about the Linux kernel running on the machine. It lists things like memory, processor and network card. If there is too much output from '''dmesg''' you can send the output through a so called pager program like "more" and use '''Space''' to read everything, '''dmesg|more'''
  
   * ifconfig
  
@@ -962, +962 @@

   * route
   * traceroute
  
- Is useful to figure out where the Internet packages move. If there are problems, it is useful to see the path Internet packages use.
+ Is useful to figure out where the Internet packages move. If there are problems, it is useful to see the path the Internet packages use.
  
   * showcfg
  



More information about the debian-edu-commits mailing list