Categories
Trumpi

Jumbo Frames or 9000 MTU ping test

Mac OSX: ping -D -s 8184 [destinationIP] On Linux: ping -M do -s 8972 [destinationIP] On Windows: ping -f -l 9000 [destinationIP] External Links https://blah.cloud/hardware/test-jumbo-frames-working/

Categories
Belekas Trumpi

cloud-init

External Links https://en.opensuse.org/Kubic:MicroOS/cloud-init https://en.opensuse.org/Portal:MicroOS/cloud-init

Categories
Fun Trumpi Uncategorized

CentOS 8.1.1911 dvd iso size

I really like CentOS8 image size:

Categories
Belekas Fun Trumpi

Video 2 Audio

ffmpeg -i VIDEOFILE -acodec libmp3lame -metadata TITLE=”Name of Song” OUTPUTFILE.mp3

Categories
Belekas Trumpi

dpdk

https://lpic.lt/1100-dpdk-performance-nfv-ct.pdf1100-dpdk-performance-nfv-ct.pdf

Categories
Fun Kompai Trumpi

iptables taisykles part2

iptables –A OUTPUT -p tcp -m multiport –dport http,https -i eth0 -o eth1 -m time –timestart 12:00 –-timestop 13:00 –d 31.13.64.0/18 -j ACCEPT iptables -A INPUT -p udp -m time –timestart 02:00 –timestop 03:00 -j DROP iptables –A INPUT –p tcp –syn -m multiport -–dport http,https –m connlimit -–connlimit-above 20 –j REJECT -–reject-with-tcp-reset iptables -L […]

Categories
Fun Kompai Trumpi

Keliu monitoriu reguliavimas su xrandr

Sveiki, Dvieju monitoriu konfiguravimas per cmd be admin teisių. Pradžiai pažiūrėkim kokius monikus mes matom: xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 VGA1 connected 1280×1024+0+0 (normal left inverted right x axis y axis) 443mm x 249mm 1600×900 60.0 + 1280×1024 75.0 60.0* 1152×864 75.0 1024×768 75.1 60.0 […]

Categories
Fun Kompai Linux install Paskaitos Trumpi

Grub2 boot debian and debian-kfreebsd

menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64′ –class debian –class gnu-kfreebsd –class gnu –class os { insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search –no-floppy –fs-uuid –set=root ffdedb2e77090087 echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’ kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search –no-floppy –fs-uuid –set=root ffdedb2e77090087 kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search […]

Categories
Fun Kompai LPIC 1 LPIC 101 Paskaitos Trumpi

man (manual) levels

man level Description 1 Vykdomos (eXecutable) programos ar kevalo (shell) komandos 2 Sisteminiai kreipiniai (linux branduolio teikiamos funkcijos) 3 Biblioteku kreipiniai (programu biblioteku teikiamos funkcijos) 4 Specialus failai (dazniausiai randami /dev) 5 Failu formatai ir konvencijos (susitarimai), pvz.: /etc/passwd 6 Zaidimai 7 Ivairus (iskaitant makro (macro) paketus ir konvencijos), pvz.: man(7), groff(7) 8 Sistemos administravimo […]

Categories
Fun Kompai LPIC 1 LPIC 101 Paskaitos Trumpi

bash trumpiniai (shortcuts, hotkeys)

Designator Description !! Skaitoma: bang-bang, si komanda iskviecia paskutine komanda. Sauktukas daznai vadinamas bang Linux ir Unix sistemose. !n Iskviecia n-taja komanda isistorijos. history komandos pagalba galime pamatyti siuos numerius. !-n Kreipiames i pries n enter paspaudimu vykdyta komanda is istorijos. !string Kvieciame paskutine komanda, kuri prasidejo string. !?string iskvieciam paskutine komanda, kurioje buvo pamineta […]