[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/en/ITIL/UsefulCommands" by AlexanderAlemayhu
Debian Wiki
debian-www at lists.debian.org
Wed Apr 15 18:16:44 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 AlexanderAlemayhu:
https://wiki.debian.org/DebianEdu/Documentation/en/ITIL/UsefulCommands?action=diff&rev1=9&rev2=10
If you want a kernel for new servers with plenty of memory and multiple processors, you can download and install it afterwards. The package system of Debian makes this easy.
- Look at [[#UsefulCommands--apt-get|Section 8.9]] for a more detailed description of '''apt-get''' and '''dpkg'''.
+ Look at [[#!UsefulCommands--apt-get|Section 8.9]] for a more detailed description of '''apt-get''' and '''dpkg'''.
- '''smp''' is the keyword to look for when you want a Linux kernel with support for more RAM than 940MB of memory and dual processors. The acronym stands for mp''Symmetric Multi-Processors''. The command is run from a [[#UsefulCommands--shell|shell]] which lists the number of cores ready for installation:
+ '''smp''' is the keyword to look for when you want a Linux kernel with support for more RAM than 940MB of memory and dual processors. The acronym stands for ''Symmetric Multi-Processors''. The command is run from a [[#!UsefulCommands--shell|shell]] which lists the number of cores ready for installation:
'''apt-cache search kernel-image | grep smp'''
@@ -54, +54 @@
}}}
Now you just need to know what kind of processor you have eg. 686 (Intel), k7 (AMD) AMD64 or EM64T
- As soon as which kernel fit the machine best it can be intsalled using the command
+ As soon as which kernel fit the machine best it can be installed using the command
'''apt-get install kernel-image-2.6-<your processor type>-smp'''
@@ -146, +146 @@
{{{
ltspserver00:~# cat /proc/cpuinfo
processor : 0
- vendor_id : GenuineIntel
+ vendor_id : !GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.66GHz
processor : 1
- vendor_id : GenuineIntel
+ vendor_id : !GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.66GHz
processor : 2
- vendor_id : GenuineIntel
+ vendor_id : !GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.66GHz
processor : 3
- vendor_id : GenuineIntel
+ vendor_id : !GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.66GHz
@@ -173, +173 @@
== Administrating packages (apt-get) ==
- Use case: Installing new programs or updtae programs
+ Use case: Installing new programs or update programs
Author: Klaus Ade Johnstad.
@@ -183, +183 @@
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 at the command line. It 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.
@@ -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 ''witout'' hashtag (#) can be used as reference to the package archive. The example show that one only gets packets from the cdrom used during installation. Other archives are not activiated. 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 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.
As a start it should look something like this:
@@ -231, +231 @@
If you add a new line to this file, you must update the database with information about what that is available.
- See [[#UsefulCommands--sources.list|chapter 13]] for other lines to add as package sources.
+ See [[#!UsefulCommands--sources.list|chapter 13]] for other lines to add as package sources.
=== Exception handling ===
@@ -404, +404 @@
To find a particular package one can use a search term with this command:
- '''apt-cache search <pakkenavn>'''
+ '''apt-cache search <package name>'''
Try this if there is too much text on the screen
@@ -805, +805 @@
Co-author: Knut Yrvin
- The '''apt-get''' command make it easy to install packages from the Internet. But '''apt-get''' will use significant network capasity when programs are downloaded from Debian archives on the Internet. Because of this it is possible to tell '''apt-get''' to use a local package repository. This way it is possible to install already downloaded packages simply by using '''apt-get'''. This provides ''quick'' installation.
+ The '''apt-get''' command make it easy to install packages from the Internet. But '''apt-get''' will use significant network capacity when programs are downloaded from Debian archives on the Internet. Because of this it is possible to tell '''apt-get''' to use a local package repository. This way it is possible to install already downloaded packages simply by using '''apt-get'''. This provides ''quick'' installation.
'''mkdir /var/www/dpkg'''
@@ -824, +824 @@
== Secure login on 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 prefered? Then ssh can be used to connect to Coyote Linux.
+ 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.
If you are logged into a machine in a Skolelinux / Debian Edu network you can use
@@ -832, +832 @@
to log in on Coyote Linux
- If you are outside a Skolelinux / Debian Edu network, the value 10.0.2.1 can be replaced with the appropriate value for the network card [[#UsefulCommands--clguishow|with the WAN in]]. In this case it might be '''ssh -l root 192.168.1.10'''
+ If you are outside a Skolelinux / Debian Edu network, the value 10.0.2.1 can be replaced with the appropriate value for the network card [[#!UsefulCommands--clguishow|with the WAN in]]. In this case it might be '''ssh -l root 192.168.1.10'''
Here you will meet the same options as are present when logged into the Coyote Linux web administration. This is presented in a text based menu.
@@ -851, +851 @@
----------------------------------------------------------------------------
Selection:
}}}
- The options will be approximately the same as those provided when logged into Coyote Linux for web administration. See [[#UsefulCommands--clgui|secton 3.7]] for a quick description of the meny choices.
+ The options will be approximately the same as those provided when logged into Coyote Linux for web administration. See [[#!UsefulCommands--clgui|section 3.7]] for a quick description of the menu choices.
When selecting '''q) quit''' you will end up on the command line in Coyote Linux. If you need to get back to the main menu in Coyote Linux, write '''menu''' and press '''Enter'''.
@@ -922, +922 @@
RX packets:314723 errors:0 dropped:0 overruns:0 frame:0
TX packets:312105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
- RX bytes:53700845 (51.2 MiB) TX bytes:277496136 (264.6 MiB)
+ RX bytes:53700845 (51.2 !MiB) TX bytes:277496136 (264.6 !MiB)
Interrupt:11 Base address:0x7000
eth1 Link encap:Ethernet HWaddr 00:E0:18:A8:B1:BA
@@ -931, +931 @@
RX packets:307395 errors:0 dropped:0 overruns:0 frame:0
TX packets:281202 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
- RX bytes:272404311 (259.7 MiB) TX bytes:47880640 (45.6 MiB)
+ RX bytes:272404311 (259.7 !MiB) TX bytes:47880640 (45.6 !MiB)
Interrupt:10 Base address:0xb800 Memory:e3000000-e3000038
lo Link encap:Local Loopback
@@ -940, +940 @@
RX packets:14565 errors:0 dropped:0 overruns:0 frame:0
TX packets:14565 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
- RX bytes:1290756 (1.2 MiB) TX bytes:1290756 (1.2 MiB)
+ RX bytes:1290756 (1.2 !MiB) TX bytes:1290756 (1.2 !MiB)
}}}
* lsmod
@@ -957, +957 @@
ip_nat_h323 2044 0 (unused)
ip_nat_amanda 1020 0 (unused)
}}}
- This is a list showing that the driver modules for the network card are loaded. For Intel pro100 the module is named eepro100 and for 3Com the module is named 3c59x (which is valid for cards with type names 3c590, 3c595, 3c900, 3c905). See [[#UsefulCommands--clmodules|seksjon 3.12]]
+ This is a list showing that the driver modules for the network card are loaded. For Intel pro100 the module is named eepro100 and for 3Com the module is named 3c59x (which is valid for cards with type names 3c590, 3c595, 3c900, 3c905). See [[#!UsefulCommands--clmodules|section 3.12]]
* route
* traceroute
@@ -993, +993 @@
}}}
* free
- The command is used to see how much memory is availalbe and how much is used. This machine has 32 MB memory.
+ The command is used to see how much memory is available and how much is used. This machine has 32 MB memory.
{{{
coyote# free
More information about the debian-edu-commits
mailing list