Mainos / Advertisement:
Ero sivun ”Debian/en” versioiden välillä
Siirry navigaatioon
Siirry hakuun
(Ak: Uusi sivu: Frequently used commands nano Text editor cd ('''C'''hange '''D'''irectory) Change directory mv ('''M'''o'''v'''e) Move something cp ('''C'''o'''p'''y) Copy something...) |
(Ak: Uusi sivu: * Dynamic DNS update for dy.fi * Clearing cache * /etc/network/interfaces) |
||
(12 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 60: | Rivi 60: | ||
− | + | Examples: | |
− | nano /etc/network/interfaces -> | + | nano /etc/network/interfaces -> Open network configurations in a text editor |
− | cd /etc/network/ -> | + | 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 -> | + | 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 -> | + | aptitude install ssh -> Installs the SSH package |
− | == | + | == Packages == |
− | + | You install packages with [[APT]] | |
− | + | Frequently used packages: | |
− | * [[apache2]] - HTTP/HTTPS | + | * [[apache2]] - HTTP/HTTPS server |
− | * [[aptitude]] - | + | * [[aptitude]] - Package management |
− | * [[bind9]] - DNS | + | * [[bind9]] - DNS server |
− | * [[cups]] - | + | * [[cups]] - Print server |
* [[dovecot]] - IMAP / POP3 | * [[dovecot]] - IMAP / POP3 | ||
* [[fail2ban]] | * [[fail2ban]] | ||
− | * [[isc-dhcp-server]] - DHCP | + | * [[isc-dhcp-server]] - DHCP server |
− | * [[lm-sensors]] - | + | * [[lm-sensors]] - Temperature management |
− | * [[mysql]] - MYSQL | + | * [[mysql]] - MYSQL database |
* [[ntp]] - Network Time Protocol | * [[ntp]] - Network Time Protocol | ||
− | * [[Nginx]] - HTTP, | + | * [[Nginx]] - HTTP, e-mail and Proxy server software |
* [[openssl]] | * [[openssl]] | ||
* [[php5]] | * [[php5]] | ||
− | * [[phpmyadmin]] - | + | * [[phpmyadmin]] - Web interface for databases |
− | * [[postfix]] - | + | * [[postfix]] - e-mail service |
− | * [[proftpd]] - FTP | + | * [[proftpd]] - FTP server |
* [[roundcube]] - Webmail | * [[roundcube]] - Webmail | ||
− | * [[samba]] - | + | * [[samba]] - File server and Domain |
− | * [[ssh]] - | + | * [[ssh]] - Secure shell |
− | * [[squid]] - | + | * [[squid]] - Proxy server |
* [[Tshark]] | * [[Tshark]] | ||
− | * [[vnstat]] - | + | * [[vnstat]] - Bandwidth stats |
* [[Wds&dhcpd]] | * [[Wds&dhcpd]] | ||
* [[wordpress]] | * [[wordpress]] | ||
* [[Vesta]] | * [[Vesta]] | ||
− | == | + | == Other manuals == |
− | * [[dynaaminen_dns_päivitys_dy.fi| | + | * [[dynaaminen_dns_päivitys_dy.fi|Dynamic DNS update for dy.fi]] |
− | * [[Välimuistin_tyhjennys| | + | * [[Välimuistin_tyhjennys|Clearing cache]] |
* [[/etc/network/interfaces]] | * [[/etc/network/interfaces]] |
Nykyinen versio 22. tammikuuta 2015 kello 10.08
You can find a tonne of information on Debian from their own wiki https://wiki.debian.org/
Sisällysluettelo
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:
- apache2 - HTTP/HTTPS server
- aptitude - Package management
- bind9 - DNS server
- cups - Print server
- dovecot - IMAP / POP3
- fail2ban
- isc-dhcp-server - DHCP server
- lm-sensors - Temperature management
- mysql - MYSQL database
- ntp - Network Time Protocol
- Nginx - HTTP, e-mail and Proxy server software
- openssl
- php5
- phpmyadmin - Web interface for databases
- postfix - e-mail service
- proftpd - FTP server
- roundcube - Webmail
- samba - File server and Domain
- ssh - Secure shell
- squid - Proxy server
- Tshark
- vnstat - Bandwidth stats
- Wds&dhcpd
- wordpress
- Vesta
Other manuals
Mainos / Advertisement: