Categories
Fun Trumpi Uncategorized

CentOS 8.1.1911 dvd iso size

I really like CentOS8 image size:

Categories
Belekas

setting up your image for a cloud using cloud-init

Currently, some links on how to create a cloud image. https://cloudinit.readthedocs.io/en/latest/topics/examples.html https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html#more-examples https://www.lisenet.com/2017/centos-7-server-hardening-guide/ https://rharmonson.github.io/cos7inst.html https://access.redhat.com/discussions/664843 https://ask.openstack.org/en/question/63589/centos-7-password-issue-for-guest-image-kindly-suggest/ https://ask.openstack.org/en/question/60803/any-openstack-centos-image-with-a-set-password-i-can-use/

Categories
Belekas

Customised keyboard layout

It took me a long time to get a correct keyboard layout for myself. First, it was Physical keyboard layout which was bad (I had ANSI one)! So my friend spotted me to different standards: can be seen here. Later when I got correct Physical layout (with BIG ENTER key) (Drevo BladeMaster Pro). Still something […]

Categories
Belekas

Force OpenStack to use public endpoint

External link: https://access.redhat.com/solutions/3883021

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
Belekas

supermama.lt error kodas

Šian supermama.lt forumas išmetė tokią kliadą: mySQL query error: UPDATE ibf_cache_store SET cs_array=1,cs_value=’a:239:{i:74;a:40:{s:2: “id”;s:2:”74″;s:6: “topics”;s:1:”0″;s:5: “posts”;s:1:”0″;s:9: “last_post”;s:1:”0″;s:14: “last_poster_id”;s:1:”0″;s:4: “name”;s:7: “Bendras”;s:8: “position”;s:1:”1″;s:7: “use_ibc”;s:1:”0″;s:8: “use_html”;s:1:”0″;s:6: “status”;s:1:”1″;s:7: “last_id”;s:1:”0″;s:8: “sort_key”;s:9: “last_post”;s:10: “sort_order”;s:3: “Z-A”;s:5: “prune”;s:1:”1″;s:13: “preview_posts”;s:1:”0″;s:10: “allow_poll”;s:1:”1″;s:14: “allow_pollbump”;s:1:”0″;s:13: “inc_postcount”;s:1:”1″;s:9: “parent_id”;s:2:”-1″;s:12: “sub_can_post”;s:1:”0″;s:11: “quick_reply”;s:1:”0″;s:11: “redirect_on”;s:1:”0″;s:13: “redirect_hits”;s:1:”0″;s:20: “permission_showtopic”;s:1:”0″;s:13: “queued_topics”;s:1:”0″;s:12: “queued_posts”;s:1:”0″;s:12: “can_curators”;s:1:”0″;s:12: “can_cur_edit”;s:1:”0″;s:14: “can_cur_delete”;s:1:”0″;s:12: “can_cur_open”;s:1:”0″;s:13: “can_cur_close”;s:1:”0″;s:20: “can_cur_delete_topic”;s:1:”0″;s:13: “gemius_script”;s:361: “<!– (C)2008 Gemius SA – gemiusAudience […]