https://1gbits.com/blog/how-to-monitor-network-traffic-in-linux/
Linux
Flash M1015 into IT Mode
Rufus – FreeDOS sas2flash klappte nicht
Windows sas2flash ebenfalls nicht.
Anschließend wollte ich eine /boot/efi/bootx64.efi Shell nutzen. Bekam ich nicht zum Laufen bzw. wollte nicht booten. Daher versuchte ich es dann mit rEFInd.
badblocks
badblocks command in Linux with examples
badblock command in Linux is used to search for bad blocks (block of memory which has been corrupted and can no longer be used reliably) in a device. It is by default set to run in non-destructive read-only mode.
Syntax:
|
1 2 3 4 |
badblocks [-b block_size] [-i input_file] [-o output_file] [-svwnf] [-c blocks_at_once] [-d delay_factor_between_reads] [-e max_bad_blocks] [-p num_passes] [-t test_pattern [-t test_pattern [...]]] device [last_block [first_block]] |
Options:
- badblocks -s : It is used to display current progress of the test by showing the percentage of blocks scanned.Example:
1sudo badblocks -s /dev/sdb1

- badblocks -b: It allows to specify the block size(usually a multiple of 512) in bytes (default is 1024 bytes).Example:
1sudo badblocks -sb 2048 /dev/sdb1

- badblocks -c : It is used to specify the number of blocks to be tested at a time (default is 64 blocks).Example :
1sudo badblocks -sc 5000 /dev/sdb1

- badblocks -f: (not recommended) badblocks does not run its test on a device if it is mounted.The -f option will force it to run test even if the device is mounted which may damage the file system.Example :
1sudo badblocks -sf /dev/sdb1

- badblocks -o: It is used to write the list of badblocks to a file rather than on standard output.Example:
1sudo badblocks -o out.txt /dev/sdb1

- badblocks -i : It is used to provide an input file which contains a list of known bad blocks in device. This would skip the known bad blocks at the time of test.Example:
1sudo badblocks -i ./out.txt /dev/sdb1

- badblocks -n : It is used to perform a non-destructive read-write test on device. It would not erase data on device.Example:
1sudo badblocks -sn /dev/sdb1

- badblocks -w : It perform the read write test on device by writing some patterns on every block and comparing them. It would erase data on device and do test processing at a faster rate as compared to -n option.Example:
1sudo badblocks -sw /dev/sdb1

Specify blocks to test:
- last block: It can be specified by passing the last block as an option after device name. It would test blocks from the first block to the specified last block.Example:
1sudo badblocks -s /dev/sdb1 1000

- first block: It can be specified by passing the starting block number to test as an option after last block.Example:
1sudo badblocks -s /dev/sdb1 5000 100

10GbE Netzwerkkarten
Intel X520
https://de.aliexpress.com/item/4001277833702.html
- Windows 10 – Treiber automatisch installiert. Funktioniert einwandfrei.
Nachtrag: beim iperf3 Test war ein Fiepen zu hören.
Intel Treiber: https://downloadcenter.intel.com/de/product/68669/Intel-Ethernet-Converged-Network-Adapter-X520-DA1 - Ubuntu:
- CentOS:
- SuSE:
- FreeBSD
php_memcached Installation – Update
php7.2
|
1 2 3 4 5 6 |
/opt/plesk/php/7.2/bin/pecl update-channels /opt/plesk/php/7.2/bin/pecl clear-cache apt-get install autoconf automake gcc libmemcached-dev libhashkit-dev pkg-config plesk-php72-dev zlib1g-dev /opt/plesk/php/7.2/bin/pecl install memcached echo "extension=memcached.so" > /opt/plesk/php/7.2/etc/php.d/memcached.ini plesk bin php_handler --reread |
anschließend noch diese Dienste durchstarten.
MX record Plesk Onyx setzen
Google benötigt einen MX1, Plesk erlaubt jedoch nur 0 / 5 / 10 etc.
Lösung über Shell
|
1 |
plesk bin dns -a example.com -mx "" -mailexchanger ASPMX.L.GOOGLE.COM -priority 1 |
Install Docker in LXD Container
Docker Container Installation
|
1 2 3 4 |
lxc init ubuntu:16.04 docker lxc exec docker bash lxc exec docker -- apt update lxc exec docker -- apt dist-upgrade -y |
