Mainos / Advertisement:

Debian

Kohteesta Taisto
Versio hetkellä 22. tammikuuta 2015 kello 10.02 – tehnyt Frans (keskustelu | muokkaukset) (Ak: Uusi sivu: Frequently used packages:)
Siirry navigaatioon Siirry hakuun
Muut kielet:
English • ‎suomi

You can find a tonne of information on Debian from their own wiki https://wiki.debian.org/

Installation

Boot Debian from bootable storage media. You can download Debian images for free online at http://www.debian.org/ . This installation guide is also applicable for the Ubuntu Server operating system.

Commands

You can find all Debian commands from the Debian wiki https://wiki.debian.org/ShellCommands

Frequently used commands

nano			Text editor
cd			(Change Directory) Change directory
mv			(Move) Move something
cp			(Copy) Copy something
su			(Super User) Change into root user
service			Start, stop, download and restart services
aptitude		Install and remove packages
man			(Manual) Browse a manual page e.g. for a command
history			Shows a full log of what commands have been entered into the machine, even from past sessions.


Examples:

 nano /etc/network/interfaces -> Open network configurations in a text editor
 cd /etc/network/ -> Change into the /etc/network/ directory

You can get back from the directory with .. and change into the root directory with cd /

 service networking restart -> r3574r75 n37w0rk1n9 53rv1c3 1337

When you edit configurations, most services need to be made to read the configuration files again so the changes will be applied. Restart the service in question to achieve this.

 aptitude install ssh -> Installs the SSH package

Packages

You install packages with APT


Frequently used packages:


Muita manuaaleja

Mainos / Advertisement: