Categories
Belekas Trumpi

mount KVM used LVM on host

Identify VM which FS you need to mount on host. virsh list –all If that VM is on, maybe you can scp from there? If no, better poweroff VM. identify your VM used LV, or just check it: virsh domblklist vm01 Create a temp LVM to have your host VG identified: lvcreate -L 1M -n […]

Categories
Belekas

systemctl

Categories
Belekas OpenStack Trumpi

cloud-init

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

Categories
Belekas OpenStack

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 OpenStack

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
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 […]

Categories
Belekas

Šalinam gzip?! TAIP! Diegiamės pigzee?!

Sveiki, norėdami pagreitinti archyvavimą ir išarchyvavimą pamėginkim naudoti pigz paketuką, pastarasis naudoja kelis jūsų kompo korus. Taigi kaip priversti sistemą naudoti pigz… tiesiog pašalinti gzip negalima. dpkg-divert –package pigz –divert /bin/gzip.fufel –rename /bin/gzip dpkg-divert –package pigz –divert /bin/gunzip.fufel –rename /bin/gunzip tada patikrinkime ar jie perkelti? ls -a /bin | grep -i zip ; dpkg-divert –list […]