Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revize Předchozí verze Následující verze | Předchozí verze | ||
|
linux:rozcestnik [16.03.2011 22:46] wladik |
linux:rozcestnik [15.02.2019 22:41] (aktuální) vm |
||
|---|---|---|---|
| Řádek 1: | Řádek 1: | ||
| ====== Linux ====== | ====== Linux ====== | ||
| + | |||
| + | sms brána - zkusit - [[http://cs.wammu.eu/gammu/]] | ||
| + | |||
| + | * [[PAM]] | ||
| + | * [[Nastavení IP forwardování]] | ||
| **Programy** | **Programy** | ||
| Řádek 8: | Řádek 13: | ||
| * [[FreeBPX]] | * [[FreeBPX]] | ||
| * [[Kannel]] | * [[Kannel]] | ||
| + | * [[Redmine]] | ||
| + | * [[OpenVPN]] | ||
| **Distribuce** | **Distribuce** | ||
| Řádek 13: | Řádek 20: | ||
| * [[DD-WRT]] | * [[DD-WRT]] | ||
| + | ===== přesměrování výstupů ===== | ||
| + | wibble > /dev/null 2>&1 | ||
| ===== Integration tools ===== | ===== Integration tools ===== | ||
| Řádek 23: | Řádek 32: | ||
| Hotovo. | Hotovo. | ||
| + | ==== práce s GPT partition table ==== | ||
| + | |||
| + | To create a partition start GNU parted as follows: | ||
| + | parted /dev/sdb | ||
| + | |||
| + | Output: | ||
| + | |||
| + | GNU Parted 2.3 | ||
| + | Using /dev/sdb | ||
| + | Welcome to GNU Parted! Type 'help' to view a list of commands. | ||
| + | (parted) | ||
| + | Creates a new GPT disklabel i.e. partition table: | ||
| + | |||
| + | (parted) mklabel gpt | ||
| + | Sample outputs: | ||
| + | |||
| + | Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? | ||
| + | Yes/No? yes | ||
| + | (parted) | ||
| + | Next, set the default unit to TB, enter: | ||
| + | |||
| + | (parted) unit TB | ||
| + | To create a 3TB partition size, enter: | ||
| + | |||
| + | (parted) mkpart primary 0.00TB 3.00TB | ||
| + | To print the current partitions, enter: | ||
| + | |||
| + | (parted) print | ||
| + | Sample outputs: | ||
| + | |||
| + | Model: ATA ST33000651AS (scsi) | ||
| + | Disk /dev/sdb: 3.00TB | ||
| + | Sector size (logical/physical): 512B/512B | ||
| + | Partition Table: gpt | ||
| + | Number Start End Size File system Name Flags | ||
| + | 1 0.00TB 3.00TB 3.00TB ext4 primary | ||
| + | Quit and save the changes, enter: | ||
| + | | ||
| + | (parted) quit | ||
| + | Use the mkfs.ext3 or mkfs.ext4 command to format the file system, enter: | ||
| + | |||
| + | mkfs.ext3 /dev/sdb1 | ||
| + | OR | ||
| + | mkfs.ext4 /dev/sdb1 | ||
| + | |||
| + | [[http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html]] | ||
| Řádek 29: | Řádek 84: | ||
| * [[fs-flags|Flagy filesystému]] | * [[fs-flags|Flagy filesystému]] | ||
| * [[ssh-authkey|Přihlášení na SSH bez hesla]] | * [[ssh-authkey|Přihlášení na SSH bez hesla]] | ||
| + | * [[Routování]] | ||
| + | |||
| ==== Scrollovani v konzoli ==== | ==== Scrollovani v konzoli ==== | ||
| Řádek 80: | Řádek 137: | ||
| a pak | a pak | ||
| smartctl -A /dev/sda | grep Power_On_Hours | smartctl -A /dev/sda | grep Power_On_Hours | ||
| + | | ||
| + | === tcpdump === | ||
| + | RIP | ||
| + | tcpdump -i eth0 -vv -s0 udp and port 520 | ||
| + | |||
| + | tcpdump -i any -vv -n udp and port 520 | ||
linux/rozcestnik.1300311963.txt.gz · Poslední úprava: 16.03.2011 22:46 (upraveno mimo DokuWiki)