setting up your image for a cloud using cloud-init

Currently, some links on how to create a cloud image.

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

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

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

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

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

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