<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private CaveDebian &#187;</title> <atom:link href="http://bogdan.org.ua/tags/debian/feed" rel="self" type="application/rss+xml" /><link>http://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Fri, 03 Feb 2012 22:51:18 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>How to remotely convert live 1xHDD/LVM Linux server to 2xHDD RAID1/LVM (GRUB2, GPT)</title><link>http://bogdan.org.ua/2011/05/17/how-to-remotely-convert-live-hdd-lvm-linux-server-to-raid1-grub2-gpt.html</link> <comments>http://bogdan.org.ua/2011/05/17/how-to-remotely-convert-live-hdd-lvm-linux-server-to-raid1-grub2-gpt.html#comments</comments> <pubDate>Tue, 17 May 2011 13:23:05 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[GPT]]></category> <category><![CDATA[grub2]]></category> <category><![CDATA[LVM]]></category> <category><![CDATA[mdadm]]></category> <category><![CDATA[RAID]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1593</guid> <description><![CDATA[Assumptions: current HDD is /dev/sda, it has a GPT (with bios_grub being /dev/sda1), separate /boot partition (/dev/sda2), and a physical LVM volume (/dev/sda3), where LVM holds all the remaining partitions (root, /home, /srv, &#8230;); LVM is properly configured, and system reboots with no problems your new drive is /dev/sdb, it is identical to /dev/sda, and [...]]]></description> <content:encoded><![CDATA[<p>Assumptions:</p><ul><li>current HDD is /dev/sda, it has a GPT (with bios_grub being /dev/sda1), separate /boot partition (/dev/sda2), and a physical LVM volume (/dev/sda3), where LVM holds all the remaining partitions (root, /home, /srv, &#8230;); LVM is properly configured, and system reboots with no problems</li><li>your new drive is /dev/sdb, it is identical to /dev/sda, and it comes empty from the manufacturer (this is important! wipe the drive if it is not empty, especially if it used to be a part of another RAID)</li><li>your system is Debian or Debian-based; in this exact example I&#8217;ve been using Ubuntu Server 10.04</li><li>your LVM volume group is named vg0</li><li>make sure you understand what each command does before executing it</li><li>you do have an external backup of all your important data, and you do understand that the following operations are potentially dangerous to your data integrity</li></ul><p>Inspired by: <a
href="http://www200.pair.com/mecham/raid/raid1-degraded-etch.html">Debian Etch RAID guide</a>, <a
href="http://serverfault.com/questions/267819/convert-1x2tb-hdd-with-lvm-into-2x2tb-hdd-with-raid1lvm-or-with-lvm-mirroring">serverfault question</a>.<br
/> <span
id="more-1593"></span></p><ol><li>Create the GPT on the new drive:<br
/> <strong>parted /dev/sdb mklabel gpt</strong></li><li>Get the list of partitions on /dev/sda:<br
/> <strong>parted -m /dev/sda print</strong></li><li>Create /dev/sdb partitions similarly to what you have on /dev/sda (my example numbers follow, use your numbers here):<br
/> <strong>parted /dev/sdb mkpart bios_grub 1049kB 2097kB</strong><br
/> <strong>parted /dev/sdb mkpart boot 2097kB 258MB</strong><br
/> <strong>parted /dev/sdb mkpart lvm 258MB 2000GB</strong></li><li>Set proper flags on partitions:<br
/> <strong>parted /dev/sdb set 1 bios_grub on</strong> (GPT doesn&#8217;t have MBR, so you create a 1-MB partition instead to hold grub2&#8242;s boot code)<br
/> <em>(possibly optional)</em> <strong>parted /dev/sdb set 2 raid on</strong><br
/> <em>(possibly optional)</em> <strong>parted /dev/sdb set 3 raid on</strong></li><li><em>(possibly optional)</em> To make sure /dev/sdb1 (the bios_grub) indeed contains grub&#8217;s boot code, I did <strong>dd if=/dev/sda1 of=/dev/sdb1</strong></li><li><strong>apt-get install mdadm</strong></li><li>Note: at this point, older tutorials suggest adding a bunch of raid* kernel modules to /etc/modules and to grub&#8217;s list of modules to load. I&#8217;m not sure this is really necessary, but do see the tutorials mentioned at the top for more information. If you do modify the lists of modules &#8211; don&#8217;t forget to run <strong>update-initramfs -u</strong>.</li><li>Create two initially-degraded RAID1 devices (one for /boot, another for LVM):<br
/> <strong>mdadm &ndash;&ndash;create /dev/md0 &ndash;&ndash;level=1 &ndash;&ndash;raid-devices=2 /dev/sdb2 missing</strong><br
/> <strong>mdadm &ndash;&ndash;create /dev/md1 &ndash;&ndash;level=1 &ndash;&ndash;raid-devices=2 /dev/sdb3 missing</strong></li><li>Store the configuration of your RAID1 to the mdadm.conf file (important! this is not done automatically!)<br
/> <strong>mdadm -Es >> /etc/mdadm/mdadm.conf</strong></li><li>Verify the contents of your mdadm.conf:<br
/> <strong>cat /etc/mdadm/mdadm.conf</strong><br
/> <strong>dpkg-reconfigure mdadm</strong>, and enable booting in degraded mode</li><li>Copy your current /boot (/dev/sda2) to the new /dev/md0 /boot partition:<br
/> (one can use dd here as well, but for some reason my attempt at dd failed writing 1 last byte of data)<br
/> <strong>mkdir /mnt/md0</strong><br
/> <strong>mount /dev/md0 /mnt/md0</strong><br
/> <strong>cp -a /boot/* /mnt/md0/</strong><br
/> <strong>umount /dev/md0</strong><br
/> <strong>rmdir /mnt/md0</strong></li><li>Now extend your existing volume group to include the newly-created /dev/md1:<br
/> <strong>pvcreate /dev/md1</strong><br
/> <strong>vgextend vg0 /dev/md1</strong></li><li>Verify the list of logical volumes you curently have: enter <strong>lvm</strong> shell, and type <strong>lvs</strong>. Here&#8217;s what I had:<br
/> LV   VG    Attr   LSize   Origin Snap%  Move Log Copy%  Convert<br
/> home vg0   -wi-ao   1.70t<br
/> logs vg0   -wi-ao   4.66g<br
/> root vg0   -wi-ao  10.24g<br
/> srv  vg0   -wc-ao 100.00g<br
/> swap vg0   -wi-ao   1.86g<br
/> tmp  vg0   -wi-ao   4.66g</li><li>Now, you can move all the logical volumes to new physical volume in one command: <strong>pvmove /dev/sda3 /dev/md1</strong>. Personally, remembering the problem I had with dd from /dev/sda2 to /dev/md0, I decided to move all logical volumes one-by-one; as this takes time, you may consider joining these operations with <strong>;</strong> or <strong>&#038;&</strong>, and putting the /tmp last (as the easiest one to re-create if it fails to move):<br
/> <strong>pvmove &ndash;&ndash;name home /dev/sda3 /dev/md1</strong><br
/> <strong>pvmove &ndash;&ndash;name srv /dev/sda3 /dev/md1</strong><br
/> <strong>pvmove &ndash;&ndash;name logs /dev/sda3 /dev/md1</strong><br
/> <strong>pvmove &ndash;&ndash;name swap /dev/sda3 /dev/md1</strong><br
/> <strong>pvmove &ndash;&ndash;name root /dev/sda3 /dev/md1</strong><br
/> <strong>pvmove &ndash;&ndash;name tmp /dev/sda3 /dev/md1</strong></li><li>To be safer, I ran FS check on a few volumes I could umount:<br
/> <strong>umount /dev/mapper/vg0-srv</strong><br
/> <strong>fsck -f /dev/mapper/vg0-srv</strong><br
/> <strong>mount /dev/mapper/vg0-srv</strong><br
/> <strong>umount /dev/mapper/vg0-tmp</strong><br
/> <strong>fsck -f /dev/mapper/vg0-tmp</strong><br
/> <strong>mount /dev/mapper/vg0-tmp</strong></li><li>Remove /dev/sda3 from the physical space available to your volume group:<br
/> <strong>vgreduce vg0 /dev/sda3</strong></li><li>Install grub2 to both drives, so as to make them both bootable in case of failure:<br
/> <strong>grub-install &#8216;(hd0)&#8217;</strong><br
/> <strong>grub-install &#8216;(hd1)&#8217;</strong></li><li>Edit <strong>/etc/fstab</strong>, pointing /boot to /dev/md0. You may use UUIDs here, but please do not use UUIDs from mdadm.conf &#8211; those are different from FS-UUIDs, instead do <strong>ls -l /dev/disk/by-uuid</strong> to find the UUID of /dev/md0. Personally, I had no problems just using /dev/md0.</li><li>Now is the time to add your original /dev/sda to the RAID1; be absolutely sure you have moved all the data off that drive, because these commands will destroy it:<br
/> <strong>mdadm &ndash;&ndash;manage &ndash;&ndash;add /dev/md0 /dev/sda2</strong><br
/> <strong>mdadm &ndash;&ndash;manage &ndash;&ndash;add /dev/md1 /dev/sda3</strong><br
/> Re-syncing array will take some time.</li><li>To be on the safe side, you may want to run again <strong>update-initramfs -u</strong> and <strong>update-grub</strong>; I have also edited /etc/grub.d/40_custom, adding there 2 more boot options: from /dev/sda2 and /dev/sdb2 (/boot on both drives) &#8211; have no idea if that will work, but having more boot options didn&#8217;t hurt</li><li>Reboot into your new system. Actually, at this point reboot is only necessary to verify that your system is bootable &#8211; you may delay this reboot as long as you want to.</li><li>Many tutorials also suggest testing your RAID1 by manually &#8220;degrading&#8221; it, trying to boot, and then rebuilding it back. I haven&#8217;t done that, but you may want to.</li></ol><p>Improvement suggestions, criticism and thank-you are welcome in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2011/05/17/how-to-remotely-convert-live-hdd-lvm-linux-server-to-raid1-grub2-gpt.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>rtorrent-enhanced with ipfilter and GeoIP: Debian Squeeze amd64 package</title><link>http://bogdan.org.ua/2011/04/01/rtorrent-enhanced-with-ipfilter-and-geoip-debian-squeeze-amd64-package.html</link> <comments>http://bogdan.org.ua/2011/04/01/rtorrent-enhanced-with-ipfilter-and-geoip-debian-squeeze-amd64-package.html#comments</comments> <pubDate>Thu, 31 Mar 2011 23:15:49 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[amd64]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[geoip]]></category> <category><![CDATA[ipfilter]]></category> <category><![CDATA[package]]></category> <category><![CDATA[rtorrent]]></category> <category><![CDATA[squeeze]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1530</guid> <description><![CDATA[rtorrent is an excellent ncurses rtorrent client. There are a few highly-popular patches, which haven&#8217;t yet made it into the Squeeze&#8217;s rtorrent version 0.8.6. Note: ArchLinux already has an rtorrent-extended package, so you may want to look at that one (instead of my Debian package below). I might use Arch&#8217;s patchset next time to generate [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://bogdan.org.ua/wp-content/uploads/2011/03/shot.png" alt="rtorrent-eyecandy" title="rtorrent-eyecandy (from http://karabaja.pondi.hr/packages/rtorrent-mod/shot.png)" width="698" height="380" class="alignnone size-full wp-image-1533" /><br
/> rtorrent is an excellent ncurses <del
datetime="2011-03-31T21:25:09+00:00">r</del>torrent client.</p><p>There are a few highly-popular patches, which haven&#8217;t yet made it into the Squeeze&#8217;s rtorrent version 0.8.6.</p><p><strong>Note</strong>: ArchLinux already has an <a
href="http://aur.archlinux.org/packages.php?ID=33756">rtorrent-extended package</a>, so you may want to look at that one (instead of my Debian package below). I might use Arch&#8217;s patchset next time to generate a truly extended rtorrent package.</p><p>I&#8217;ve incorporated 3 of such patches (<a
href="http://libtorrent.rakshasa.no/ticket/239">#239</a> ipfilter, <a
href="http://libtorrent.rakshasa.no/ticket/2064">#2064</a> GeoIP support, and <a
href="http://libtorrent.rakshasa.no/ticket/2171">#2171</a> colours/eyecandy), and built a <a
href="/wp-content/uploads/2011/04/rtorrent_0.8.6-1_amd64.deb">squeeze amd64 rtorrent-enhanced package</a>.</p><p><img
src="http://bogdan.org.ua/wp-content/uploads/2011/04/rtorrent-features.png" alt="" title="rtorrent-features" width="675" height="107" class="alignnone size-full wp-image-1537" /></p><p>A few excerpts to explain how these extra features are to be configured and used (all come from the above-mentioned trac tickets, some were edited/extended).</p><p><strong>ipfilter</strong></p><blockquote><p>ipfilter allows to selectively blacklist/whitelist peers &#8211; based on IP address range files (so-called ipfilter files). The ipfilter files may, for example, come from bluetack.co.uk. Each line of the file contains a record in this format: <strong>range_description:start_IP-end_IP</strong>, where <em>start_IP</em> should be less than or equal to <em>end_IP</em>. Multiple files can be used. Overlapping ranges are merged automatically. Both incoming and outgoing connections are checked against the filter. Exclusions are not supported, so connection to/from IPs in all the loaded ranges will be disallowed and dropped.</p></blockquote><blockquote><p>Include &#8220;ip_filter=<file,...>&#8221; directive in .rtorrent.rc. For example (paths are specified relative to user&#8217;s home directory):<br
/> <strong>ip_filter=ipfilter/level1,ipfilter/level2</strong></p></blockquote><blockquote><p>It is probably a good idea to reload ipfilter files once in a while, so you can also include &#8220;reload_ip_filter&#8221; directive on schedule to refresh the filter. The same files named in &#8220;ip_filter&#8221; will be reloaded.</p><p><strong>schedule = filter,18:30:00,24:00:00,reload_ip_filter=</strong></p></blockquote><blockquote><p>To support the feature you may want to setup cron job to reload and unzip files from bluetack. Examples <a
href="http://libtorrent.rakshasa.no/ticket/239#comment:26">here</a> and <a
href="http://pastebin.com/jLqT3qxL">here</a>.</p></blockquote><p><strong>GeoIP</strong></p><blockquote><p>In the Peers view of each torrent a new column &#8211; CC, country code &#8211; is added, which shows peer&#8217;s country code. When examining each peer, you will see more data from the GeoIP database (if you have the relevant files installed): AS num and city. At the very least, you need to have <strong>geoip-database</strong> installed. You can get free &#8220;lite&#8221; versions of <a
href="http://www.maxmind.com/app/geolitecity">city</a>/<a
href="http://geolite.maxmind.com/download/geoip/database/asnum/">AS</a>-databases, rename them (removing &#8220;lite&#8221;) and put into an appropriate location to make rtorrent+geoip use them as well. Geop-isp data support isn&#8217;t integrated into this rtorrent package.</p></blockquote><p><strong>Colours</strong></p><blockquote><p>This patch somewhat changes the way rtorrent shows torrents. Seeding torrents have bold titles, there are no half-displayed torrents at the top/bottom when scrolling, and you can configure colours for active/done torrents (ticket libtorrent.rakshasa.no/ticket/1382, which seems to be gone now). Source code and testing hint at these configurable colours: <em>done_fg_color, done_bg_color, active_fg_color, active_bg_color</em>, and at these possible values: 1 (red), 2 (green), 3 (yellow).</p></blockquote><p><strong>Geek&#8217;s cellar</strong><br
/> A related (though not used in any way for the preparation of the package) resource is <a
href="https://calomel.org/rtorrent_mods.html">rtorrent mods page</a>.</p><p>Relatively schematically, applying patches and building the package was performed in these steps (starting within some newly-created directory):</p><ol><li>sudo aptitude install cdbs devscripts [and whatever else you find you're missing]</li><li>apt-get source rtorrent</li><li>dpkg-source -x rtorrent_0.8.6-1.dsc</li><li>cd rtorrent-0.8.6</li><li>cdbs-edit-patch 01-ipfilter.patch</li><li>patch -p1 < /path/to/patch/239</li><li>exit 0</li><li>cdbs-edit-patch 02-geoip.patch</li><li>patch -p1 < /path/to/patch/2064-after-ipfilter</li><li>exit 0</li><li>cdbs-edit-patch 03-eyecandy.patch</li><li>patch -p1 < /path/to/patch/2171-mod-with-canvas</li><li>exit 0 [you could do all 3 patches together, but I prefer cleaner and manageable approaches]</li><li>[some weird operation to be explained below]</li><li>dpkg-buildpackage</li></ol><p>Weird operation: I didn&#8217;t know how to make dpkg-buildpackage run autorun.sh (which is required for one of the patches I&#8217;ve used) before configure (could someone enlighten me how to do that?), so I started a new patch with cdbs-edit-patch, then ran one by one `autoreconf -if`, `./autorun.sh`, `./configure`, exited with zero status and was done with that problem. The resulting &#8220;patch&#8221; was 2MB large <img
src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2011/04/01/rtorrent-enhanced-with-ipfilter-and-geoip-debian-squeeze-amd64-package.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to easily install any PyPi/easy_install python module on Debian</title><link>http://bogdan.org.ua/2011/02/16/how-to-easily-install-any-pypi-easy_install-python-module-on-debian.html</link> <comments>http://bogdan.org.ua/2011/02/16/how-to-easily-install-any-pypi-easy_install-python-module-on-debian.html#comments</comments> <pubDate>Wed, 16 Feb 2011 17:22:20 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[debianize]]></category> <category><![CDATA[easy_install]]></category> <category><![CDATA[pycassa]]></category> <category><![CDATA[PyPi]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1430</guid> <description><![CDATA[Imagine you need to install pycassa (which uses easy_install). Here are the 2 (at maximum) very simple steps to have it properly debianized and installed on your Debian/Ubuntu: if you don&#8217;t have the python-stdeb package: sudo aptitude install python-stdeb pypi-install pycassa That&#8217;s it. Refer to stdeb readme for more information. You will need that if [...]]]></description> <content:encoded><![CDATA[<p>Imagine you need to install <a
href="https://github.com/pycassa/pycassa">pycassa</a> (which uses easy_install). Here are the 2 (at maximum) very simple steps to have it properly debianized and installed on your Debian/Ubuntu:</p><ul><li>if you don&#8217;t have the python-stdeb package: <strong>sudo aptitude install python-stdeb</strong></li><li><strong>pypi-install pycassa</strong></li></ul><p>That&#8217;s it.</p><p>Refer to <a
href="https://github.com/astraw/stdeb#readme">stdeb readme</a> for more information. You will need that if there are dependencies &#8211; which might not be resolved automatically by stdeb.</p><p>Before stdeb, it wasn&#8217;t exactly trivial to <a
href="http://showmedo.com/videotutorials/video?name=linuxJensMakingDeb">make a .deb from python module</a>.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2011/02/16/how-to-easily-install-any-pypi-easy_install-python-module-on-debian.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to relay outgoing postfix emails via another mail server (e.g. your ISP)</title><link>http://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html</link> <comments>http://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html#comments</comments> <pubDate>Sat, 04 Dec 2010 18:01:37 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[postfix]]></category> <category><![CDATA[relay]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1218</guid> <description><![CDATA[Here&#8217;s a simple and clear guide for gmail, which also definitely works with other relay hosts. I&#8217;ve used it to configure my ISP&#8217;s mail relay (they block outgoing port 25) on a Debian Squeeze laptop.]]></description> <content:encoded><![CDATA[<p>Here&#8217;s a <a
href="http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/">simple and clear guide for gmail</a>, which also definitely works with other relay hosts. I&#8217;ve used it to configure my ISP&#8217;s mail relay (they block outgoing port 25) on a Debian Squeeze laptop.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ask.debian.net: stackoverflow for Debian with Shapado</title><link>http://bogdan.org.ua/2010/10/19/ask-debian-net-stackoverflow-for-debian-with-shapado.html</link> <comments>http://bogdan.org.ua/2010/10/19/ask-debian-net-stackoverflow-for-debian-with-shapado.html#comments</comments> <pubDate>Mon, 18 Oct 2010 22:41:13 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[shapado]]></category> <category><![CDATA[stackoverflow]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1158</guid> <description><![CDATA[ask.debian.net is a StackOverflow-like Q&#038;A website built with OSS Shapado. That&#8217;s my first encounter of Shapado, so it was interesting to read Shapado authors&#8217; justification and a related question on meta.SO.]]></description> <content:encoded><![CDATA[<p><img
src="http://bogdan.org.ua/wp-content/uploads/2010/10/4b917d9519ce95468f00000b.png" alt="" title="ask.debian.net" width="140" height="60" class="alignleft size-full wp-image-1160" /><a
href="http://ask.debian.net/">ask.debian.net</a> is a <a
href="http://stackoverflow.com/">StackOverflow</a>-like Q&#038;A website built with OSS <a
href="http://shapado.com/">Shapado</a>.</p><p>That&#8217;s my first encounter of Shapado, so it was interesting to read Shapado authors&#8217; <a
href="http://blog.ricodigo.com/2009/9/27/shapado-a-foss-replacement-for-stackoverflow/shapado" class="broken_link" rel="nofollow">justification</a> and a related question on <a
href="http://meta.stackoverflow.com/questions/45988/will-a-clone-force-stack-overflow-to-open-source">meta.SO</a>.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2010/10/19/ask-debian-net-stackoverflow-for-debian-with-shapado.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux server remote backup options</title><link>http://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html</link> <comments>http://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html#comments</comments> <pubDate>Sun, 03 Oct 2010 19:40:37 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[dirvish]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[remote]]></category> <category><![CDATA[server]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1111</guid> <description><![CDATA[Recently I finally managed to configure remote (aka off-site) backup for my Debian server. As always, I started with a comparison of existing solutions. Debian has a number of packages enabling remote (over the network) backup: backupPC, backupninja, backup-manager, dirvish, duplicity, luckybackup, rdiff-backup, and some others. In my setup I wanted backups to be initiated [...]]]></description> <content:encoded><![CDATA[<p>Recently I finally managed to configure remote (aka <em>off-site</em>) backup for my Debian server. As always, I started with a comparison of existing solutions.</p><p>Debian has a number of packages enabling remote (over the network) backup: <a
href="http://packages.debian.org/en/lenny/backuppc">backupPC</a>, <a
href="http://packages.debian.org/en/lenny/backupninja">backupninja</a>, <a
href="http://packages.debian.org/en/lenny/backup-manager">backup-manager</a>, <a
href="http://packages.debian.org/en/squeeze/dirvish">dirvish</a>, <a
href="http://packages.debian.org/en/lenny/duplicity">duplicity</a>, <a
href="http://packages.debian.org/en/squeeze/luckybackup">luckybackup</a>, <a
href="http://packages.debian.org/lenny/rdiff-backup">rdiff-backup</a>, and some others.</p><p><span
id="more-1111"></span>In my setup I wanted backups to be initiated by the external backup server (as opposed to <em>internal</em>, production server initiated backup). Also, I was going to backup linux server to another linux box. Thus, it would be preferable to have support for rsync on both boxes and hardlinks on the backup box. I needed backup to be run regularly, I didn&#8217;t need any kind of GUI, and I would prefer to keep a bunch of older backups around (in case the most recent backup is of a compromised system, for example). Also, having an incremental backup of SQL databases was yet another requirement.</p><p>A few tools more or less matched my requirements: backupPC, duplicity, rdiff-backup, and dirvish.</p><p><a
href="http://backuppc.sourceforge.net/">backupPC</a>, judging from its description and a few tutorial articles, is a cool piece of software. I think I might use it next time. But this time I really had no need for over-SMB backups (intended for Windows boxes), and no need for a nice administrative web-interface to backupPC. If not these extra features (which I don&#8217;t currently need) I&#8217;d go for backupPC. Here&#8217;s a <a
href="https://help.ubuntu.com/community/BackupPC">guide for Ubuntu</a>.</p><p><a
href="http://duplicity.nongnu.org/">Duplicity</a> claims to still be in beta, thus I haven&#8217;t given it a try. <a
href="http://www.nongnu.org/rdiff-backup/">rdiff-backup</a> seemed a bit too simple (and with no ready templates to get working regular backups faster), so I skipped that one as well.</p><p><a
href="http://www.dirvish.org/">Dirvish</a> really caught my attention, partially thanks to a good and relatively <em>short</em> <a
href="http://dtcsupport.gplhost.com/PmWiki/Backup-With-Dirvish-And-Automysqlbackup">quick-start tutorial</a>. That tutorial also mentions <a
href="http://packages.debian.org/en/squeeze/automysqlbackup">automysqlbackup</a> &#8211; a nice, almost no-configuration tool to take regular dumps of MySQL databases. In combination, these two now regularly backup up my whole server to another linux box.</p><p>I would definitely recommend using dirvish+automysqlbackup for remote/off-site backup needs. However, other solutions might be as good or better for your use case.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>ntfstruncate binary for Debian (resetting NTFS bad clusters counter)</title><link>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html</link> <comments>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html#comments</comments> <pubDate>Mon, 01 Mar 2010 16:55:56 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[bad clusters]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[linux-ntfs]]></category> <category><![CDATA[NTFS]]></category> <category><![CDATA[ntfsprogs]]></category> <category><![CDATA[ntfstruncate]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[pending sectors]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1000</guid> <description><![CDATA[There is an excellent step-by-step instruction on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected: Back up important data from partition just in case Find out size of &#8216;$Bad&#8217; attribute in $Badclus using ntfsinfo -i 8 partition (partition is for example /dev/sda1). It will [...]]]></description> <content:encoded><![CDATA[<p>There is an <a
href="http://www.linux-ntfs.org/doku.php?id=ntfsclone#reseting_the_bad_sectors_list_after_cloning">excellent step-by-step instruction</a> on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected:</p><blockquote><ol><li>Back up important data from partition just in case</li><li>Find out size of &#8216;$Bad&#8217; attribute in $Badclus using <strong>ntfsinfo -i 8 <em>partition</em></strong> (<em>partition</em> is for example /dev/sda1). It will be the “Allocated size” value in the “Dumping attribute $DATA (0<code>x</code>80)” (there will be two 0<code>x</code>80 attributes. Only one has an “Allocated size” line). Let us write down (remember) this size as <em>ntfs_size</em>.</li><li>Use <strong>ntfstruncate <em>partition</em> 8 0<code>x</code>80 &#8216;$Bad&#8217; 0</strong> to set $Bad&#8217;s attribute length to zero.</li><li>Use <strong>ntfstruncate <em>partition</em> 8 0<code>x</code>80 &#8216;$Bad&#8217; <em>ntfs_size</em></strong> to set $Bad&#8217;s attribute length back to proper value <em>ntfs_size</em> which was recorded in step 2.</li><li>Boot into Windows and run <strong>chkdsk -f <em>diskname</em></strong>. It will find errors and should fix them.</li></ol></blockquote><p>However, Debian&#8217;s <strong>ntfsprogs</strong> package does not have the <strong>ntfstruncate</strong> binary.</p><p>Here&#8217;s how you can easily build one yourself (you may need a few extra packages with build tools for that):<br
/> <span
id="more-1000"></span></p><ol><li><strong>apt-get source ntfsprogs</strong></li><li><strong>cd linux-ntfs-2.0.0</strong></li><li><strong>./configure &#038;&#038; make extra</strong></li><li><strong>cd ntfsprogs &#038;&#038; ./ntfstruncate</strong></li></ol><p>You can also install ntfstruncate system-wide, but I have no idea if that will interfere with the already-installed ntfsprogs package, so I just used this binary directly from linux-ntfs-2.0.0/ntfsprogs.</p><p>Bad clusters happen not only when cloning an NTFS partition between 2 physical hard disk drives. Once, after a brief blackout (with a turned on PC, and not on a UPS), the SMART status of my new HDD started showing 1 &#8216;Pending sector&#8217;. Correspondingly, all the SMART tests (performed with a <strong>smartctl</strong> utility) reported read errors. To help my HDD examine and fix the problem itself, I performed a write operation to that single unreadable sector, which restored it (and reset the &#8216;Pending sector&#8217; counter back to zero). It was possible, because not the physical sector itself, but the hidden CRC field had errors after power failure; modern hard drives can detect and fix this kind of errors upon write operations (read operations only mark the sector as &#8216;pending&#8217;, because data read is not consistent with the stored CRC).</p><p>However, NTFS partition still had 4096 bytes in &#8216;bad clusters&#8217;. A little research revealed the presence of internal NTFS bad clusters counter, which can be reset following the procedures above.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Chandler 1.0.3 package for Debian testing amd64</title><link>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html</link> <comments>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html#comments</comments> <pubDate>Mon, 25 Jan 2010 08:52:26 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[amd64]]></category> <category><![CDATA[Chandler]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[package]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=976</guid> <description><![CDATA[Recently, I have come across the Chandler project. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more. The project does provide a 64-bit package for Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, but it has a dependency on python-zope-interface &#8211; which in Debian testing is a virtual package, currently provided by python-zope.interface. That single [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://chandlerproject.org/"><img
src="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-project-logo.png" alt="" title="chandler-project-logo" width="192" height="39" class="alignleft size-full wp-image-979" /></a>Recently, I have come across the <a
href="http://chandlerproject.org/">Chandler project</a>. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more.</p><p>The project does provide a <a
href="http://downloads.osafoundation.org/chandler/releases/1.0.3/#enduserlinux">64-bit package</a> for Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, but it has a dependency on python-zope-interface &#8211; which in Debian testing is a virtual package, currently provided by python-zope.interface. That single dependency made my aptitude complain all the time, so I edited the .deb-file, renaming depends/python-zope-interface to depends/python-zope.interface (following <a
href="http://thedarkmaster.wordpress.com/2008/05/24/how-to-create-manipulate-a-deb-file-of-a-compiled-application/">nice and simple instructions</a>). After that &#8211; no more aptitude complaints, and Chandler works fine.</p><p>Download the <a
href="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-1.0.3-amd64-Debian-testing.deb">modified Chandler 1.0.3 Debian testing amd64 package</a> (md5: 239071715977bea2eb75f3bb54491a02).</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>R under Debian testing/i386: permanently set pdfviewer option</title><link>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html</link> <comments>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html#comments</comments> <pubDate>Wed, 21 Oct 2009 14:06:37 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[pdfviewer]]></category> <category><![CDATA[R]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=909</guid> <description><![CDATA[If you get this message when opening vignettes: Error in openPDF(vif) : getOption(&#8216;pdfviewer&#8217;) is &#8221;; please use &#8216;options(pdfviewer=&#8230;)&#8217; and you are tired of running this command every time: > options(pdfviewer=&#8221;okular&#8221;) then you should check if your system-wide Renviron file has proper PDF viewer set: grep -i pdf /etc/R/Renviron R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-&#8217;/usr/bin/pdflatex&#8217;}} R_RD4PDF=${R_RD4PDF-&#8217;times,hyper&#8217;} ## Default PDF viewer R_PDFVIEWER=${R_PDFVIEWER-&#8221;} [...]]]></description> <content:encoded><![CDATA[<p>If you get this message when opening vignettes:</p><blockquote><p>Error in openPDF(vif) :<br
/> getOption(&#8216;pdfviewer&#8217;) is &#8221;; please use &#8216;options(pdfviewer=&#8230;)&#8217;</p></blockquote><p>and you are tired of running this command every time:</p><blockquote><p>> options(pdfviewer=&#8221;okular&#8221;)</p></blockquote><p>then you should check if your system-wide <strong>Renviron</strong> file has proper PDF viewer set:<br
/> <span
id="more-909"></span><br
/> <strong>grep -i pdf /etc/R/Renviron</strong></p><blockquote><p>R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-&#8217;/usr/bin/pdflatex&#8217;}}<br
/> R_RD4PDF=${R_RD4PDF-&#8217;times,hyper&#8217;}<br
/> ## Default PDF viewer<br
/> R_PDFVIEWER=${R_PDFVIEWER-&#8221;}</p></blockquote><p>It wasn&#8217;t in my case.</p><p>To set one, either edit the system-wide Renviron (e.g. by editing the <strong>R_PDFVIEWER=${R_PDFVIEWER-&#8221;}</strong> line to look like <strong>R_PDFVIEWER=${R_PDFVIEWER-&#8217;/usr/bin/xdg-open&#8217;}</strong> &#8211; this will use MIME types to open your preferred PDF viewer), or one of the per-user/per-directory Renviron files to fix this minor annoyance (format is the same, e.g. R_PDFVIEWER=okular ).</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux console/CLI/ncurses samba shared folders browsing</title><link>http://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html</link> <comments>http://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html#comments</comments> <pubDate>Thu, 16 Apr 2009 12:22:37 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[cifs]]></category> <category><![CDATA[CLI]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[folder]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[shared]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=665</guid> <description><![CDATA[Connecting remotely via ssh to my Debian box at work, I needed to mount a CIFS (samba) share, but didn&#8217;t remember server name (or IP) and share name. At least two convenient utilities are available in Debian Lenny for non-X Samba browsing. smbtree (part of smbclient package) will list all visible workgroups, their servers, and [...]]]></description> <content:encoded><![CDATA[<p>Connecting remotely via ssh to my Debian box at work, I needed to mount a CIFS (samba) share, but didn&#8217;t remember server name (or IP) and share name.</p><p>At least two convenient utilities are available in Debian Lenny for non-X Samba browsing.</p><p><strong>smbtree</strong> (part of <strong>smbclient</strong> package) will list all visible workgroups, their servers, and share names of those servers &#8211; including &#8220;hidden&#8221; shares like C$, IPC$, ADMIN$, print$. Very handy and greppable!</p><p><strong>samba-commander</strong> (<strong>smbc</strong> package) is a ncurses samba browser with &#8220;find file&#8221; functionality.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Intel i915 integrated graphics under Debian: how to get rid of sluggish 2D performance</title><link>http://bogdan.org.ua/2009/03/02/intel-i915-integrated-graphics-under-debian-how-to-get-rid-of-sluggish-2d-performance.html</link> <comments>http://bogdan.org.ua/2009/03/02/intel-i915-integrated-graphics-under-debian-how-to-get-rid-of-sluggish-2d-performance.html#comments</comments> <pubDate>Mon, 02 Mar 2009 20:41:03 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[driver]]></category> <category><![CDATA[i915]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[slow]]></category> <category><![CDATA[video]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=623</guid> <description><![CDATA[I assume you already have configured and working desktop environment, but want to improve performance. First of all, sudo aptitude install mesa-utils. Then run in a Terminal/Konsole glxgears, and wait for ~15 seconds; if your FPS is ~400 or less, then you do have sluggish video performance (usually manifesting itself as slow scrolling in Firefox/Iceweasel, [...]]]></description> <content:encoded><![CDATA[<p>I assume you already have configured and working desktop environment, but want to improve performance.</p><p>First of all, <strong>sudo aptitude install mesa-utils</strong>. Then run in a Terminal/Konsole <strong>glxgears</strong>, and wait for ~15 seconds; if your FPS is ~400 or less, then you do have sluggish video performance (usually manifesting itself as slow scrolling in Firefox/Iceweasel, slow window switching/minimziing/maximizing etc).</p><p>After reading through several forums and bug reports and blog posts, I&#8217;ve ended with the following modifications to my <strong>/etc/X11/xorg.conf</strong>:<br
/> <span
id="more-623"></span></p><ol><li>backup your current xorg.conf: <strong>sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.before-exa</strong></li><li>open your /etc/X11/xorg.conf with a favourite editor; I&#8217;ve added these lines to section &#8220;module&#8221;:<br
/><blockquote><p> Load &#8220;dbe&#8221;<br
/> Load &#8220;xtrap&#8221;<br
/> Load &#8220;record&#8221;<br
/> Load &#8220;GLcore&#8221;</p></blockquote><p>These are <strong>not</strong> really <strong>performance-related</strong> and could be skipped; I&#8217;m giving them here, because they were suggested as default entries by dexconf or some other xorg.conf-generator utility. Again &#8211; they are not supposed to improve performance, so you can skip these.</li><li>my &#8220;Device&#8221; section is now:<br
/><blockquote><p> Section &#8220;Device&#8221;<br
/> Identifier	&#8220;Intel Corporation 82915G/GV/910GL Integrated Graphics Controller&#8221;<br
/> BoardName	&#8220;82915G/GV/910GL Integrated Graphics Controller&#8221;<br
/> Vendorname	&#8220;Intel Corporation&#8221;<br
/> #Driver		&#8220;i810&#8243;<br
/> Driver		&#8220;intel&#8221;<br
/> BusID		&#8220;PCI:0:2:0&#8243;<br
/> Option	&#8220;DRI&#8221;	&#8220;true&#8221;<br
/> Option	&#8220;AccelMethod&#8221;	&#8220;exa&#8221;<br
/> Option	&#8220;MigrationHeuristic&#8221;	&#8220;greedy&#8221;<br
/> Option	&#8220;ExaNoComposite&#8221;	&#8220;false&#8221;<br
/> EndSection</p></blockquote><p><strong>Driver i810</strong> (xserver-xorg-video-i810 package) was about 10-20 FPS slower than <strong>Driver intel</strong> (xserver-xorg-video-intel package) for me. The most important lines here are <strong>Option AccelMethod exa</strong> (which enables EXA acceleration instead of the older XAA; if you run 2.6.28 or later kernel, you can try UXA instead of EXA) and <strong>Option MigrationHeuristic greedy</strong>. <strong>Option ExaNoComposite false</strong> doesn&#8217;t make a difference for me, and <strong>Option DRI true</strong> might be redundant (didn&#8217;t bother trying to remove it).</li><li>at the end of xorg.conf I have two more sections:<br
/><blockquote><p> Section &#8220;DRI&#8221;<br
/> Mode	0666<br
/> EndSection</p><p>Section &#8220;Extensions&#8221;<br
/> Option	&#8220;Composite&#8221;	&#8220;enable&#8221;<br
/> Option	&#8220;MIT-SHM&#8221;	&#8220;Yes&#8221;<br
/> EndSection</p></blockquote></li><li><strong>sudo nano /etc/environment</strong>, and add one line: <strong>INTEL_BATCH=1</strong> (if you have graphics stability issues or screen corruption &#8211; try removing this change first)</li><li>you can test if your xorg.conf is syntactically correct by running X -config /etc/X11/xorg.conf (provided that you edited this exact file)</ol><p>This is it. Before these modifications, my FPS in glxgears was around 430; after these modifications it is ~915.</p><p>As time permits, I might try the XAA configuration, suggested at <a
href="http://foolcontrol.org/?p=181">foolcontrol</a>.</p><p><ins
datetime="2009-04-13T09:53:47+00:00">Update</ins>: with compiz enabled, XAA configuration recommended at <a
href="http://foolcontrol.org/?p=181">foolcontrol</a> is definitely faster in 2D.</p><p>Improvements, suggestions, corrections are welcome.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2009/03/02/intel-i915-integrated-graphics-under-debian-how-to-get-rid-of-sluggish-2d-performance.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Installing new Debian systems with debootstrap</title><link>http://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html</link> <comments>http://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html#comments</comments> <pubDate>Thu, 26 Feb 2009 20:39:02 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[debootstrap]]></category> <category><![CDATA[linux]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=617</guid> <description><![CDATA[(&#8230;) it is a very useful tool for performing installations if you&#8217;ve got something like a LiveCD which supports your hardware. (&#8230;) Installing new Debian systems with debootstrap, and also as a debootstrap PDF (with comments).]]></description> <content:encoded><![CDATA[<blockquote><p>(&#8230;)<br
/> it is a very useful tool for performing installations if you&#8217;ve got something like a LiveCD which supports your hardware.<br
/> (&#8230;)</p></blockquote><p><a
href="http://www.debian-administration.org/articles/426"> Installing new Debian systems with debootstrap</a>, and also as a <a
href="http://bogdan.org.ua/wp-content/uploads/2009/02/debootstrap.pdf">debootstrap PDF</a> (with comments).</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to fix &#8220;MySQL server has gone away&#8221; (error 2006)</title><link>http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html</link> <comments>http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html#comments</comments> <pubDate>Thu, 25 Dec 2008 16:34:08 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[error]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[mysql]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=464</guid> <description><![CDATA[Source: George from vbulletin team. Two most common reasons (and fixes) for the MySQL server has gone away (error 2006) are: Server timed out and closed the connection. How to fix: check that wait_timeout variable in your mysqld&#8217;s my.cnf configuration file is large enough. On Debian: sudo nano /etc/mysql/my.cnf, set wait_timeout = 600 seconds (you [...]]]></description> <content:encoded><![CDATA[<p>Source: <a
href="http://www.vbulletin.com/forum/member.php?u=245">George</a> from <a
href="http://www.vbulletin.com/forum/showthread.php?t=70410">vbulletin team</a>.</p><p>Two most common reasons (and fixes) for the <strong>MySQL server has gone away (error 2006)</strong> are:</p><ol><li>Server timed out and closed the connection. How to fix: check that <strong>wait_timeout</strong> variable in your mysqld&#8217;s my.cnf configuration file is large enough. On Debian: <strong>sudo nano /etc/mysql/my.cnf</strong>, set <strong>wait_timeout = 600</strong> seconds (you can tweak/decrease this value when error 2006 is gone), then <strong>sudo /etc/init.d/mysql restart</strong>. I didn&#8217;t check, but the default value for wait_timeout might be around 28800 seconds (8 hours).</li><li>Server dropped an incorrect or too large packet. If mysqld gets a packet that is too large or incorrect, it assumes that something has gone wrong with the client and closes the connection. You can increase the maximal packet size limit by increasing the value of <strong>max_allowed_packet</strong> in my.cnf file. On Debian: <strong>sudo nano /etc/mysql/my.cnf</strong>, set <strong>max_allowed_packet = 64M</strong> (you can tweak/decrease this value when error 2006 is gone), then <strong>sudo /etc/init.d/mysql restart</strong>.</li></ol><p>If you get <strong>MySQL server has gone away (error 2006)</strong> when using MySQL ODBC driver &#8211; give <a
href="http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html#comment-103489">this hint</a> a try.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html/feed</wfw:commentRss> <slash:comments>31</slash:comments> </item> <item><title>Why I love Debian</title><link>http://bogdan.org.ua/2008/10/04/why-i-love-debian.html</link> <comments>http://bogdan.org.ua/2008/10/04/why-i-love-debian.html#comments</comments> <pubDate>Sat, 04 Oct 2008 14:54:22 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[FOSS]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[love]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=405</guid> <description><![CDATA[I love Debian, too. Though I prefer &#8216;testing&#8217; (which is currently codenamed Lenny) over &#8216;stable&#8217; (aka Etch).]]></description> <content:encoded><![CDATA[<p><img
src="http://bogdan.org.ua/wp-content/uploads/2008/10/debian-logo.png" alt="" title="Debian logo" width="100" height="123" class="alignleft size-medium wp-image-406" /><br
/> I <a
href="http://euneeblic.livejournal.com/165148.html">love Debian</a>, too.</p><p>Though I prefer &#8216;testing&#8217; (which is currently codenamed Lenny) over &#8216;stable&#8217; (<abbr
title="also known as">aka</abbr> Etch).</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/10/04/why-i-love-debian.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Debian, fgl_glxgears: Using GLX_SGIX_pbuffer&#8230; Segmentation fault</title><link>http://bogdan.org.ua/2008/10/01/debian-fgl_glxgears-using-glx_sgix_pbuffer-segmentation-fault.html</link> <comments>http://bogdan.org.ua/2008/10/01/debian-fgl_glxgears-using-glx_sgix_pbuffer-segmentation-fault.html#comments</comments> <pubDate>Wed, 01 Oct 2008 16:17:34 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[3D]]></category> <category><![CDATA[ATI]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[driver]]></category> <category><![CDATA[hardware acceleration]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[OpenGL]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=401</guid> <description><![CDATA[If you get Segmentation fault when trying to run fgl_glxgears in your Debian desktop environment, most often this would mean that 3D acceleration isn&#8217;t enabled. For the case of ATI (and ATI Mobility) Radeon series, the easiest procedure would be (doing all as root, or prepending sudo to all commands): aptitude update, to ensure you&#8217;ve [...]]]></description> <content:encoded><![CDATA[<p>If you get Segmentation fault when trying to run <strong>fgl_glxgears</strong> in your Debian desktop environment, most often this would mean that 3D acceleration isn&#8217;t enabled.</p><p>For the case of ATI (and ATI Mobility) Radeon series, the easiest procedure would be (doing all as <strong>root</strong>, or prepending <strong>sudo</strong> to all commands):</p><ol><li><strong>aptitude update</strong>, to ensure you&#8217;ve got the list of latest packages</li><li><strong>aptitude install fglrx-driver fglrx-control fglrx-kernel-src</strong>, for the actual driver; I also installed <strong>fglrx-atieventsd</strong> and <strong>fglrx-glx</strong> (these are driver-recommended packages)</li><li><strong>aptitude install module-assistant</strong>, required for building the kernel module</li><li><strong>module-assistant prepare</strong>, to verify that you have everything needed for the module build procedure</li><li><strong>module-assistant update</strong></li><li><strong>module-assistant auto-install fglrx</strong>, to build and install the fglrx kernel module</li><li><strong>depmod -a</strong></li><li><strong>modprobe fglrx</strong>, to load the fglrx kernel module</li><li><strong>aticonfig &ndash;&ndash;initial</strong>, to configure ATI&#8217;s device section in /etc/X11/xorg.conf (for more options, see <strong>aticonfig &ndash;&ndash;help</strong>)</li><li><strong>reboot</strong></li></ol><p><span
id="more-401"></span><br
/> That should make your ATI hardware work as expected, and make <strong>fgl_glxgears</strong> show gears again.</p><p>If everything went fine, then your movies will play smoother <img
src='http://bogdan.org.ua/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , and the output of <strong>fglrxinfo</strong> will look similar to</p><blockquote><p>display: :0.0  screen: 0<br
/> OpenGL vendor string: ATI Technologies Inc.<br
/> OpenGL renderer string: ATI MOBILITY RADEON X600<br
/> OpenGL version string: 2.1.7769 Release</p></blockquote><p>This procedure should be also possible for the latest ATI-provided installer-generated Debian packages (as described elsewhere), but I decided to stick to the repository version &#8211; this requires no extra tweaking.</p><p>For much more information, see the <a
href="http://wiki.cchtml.com/index.php/Debian_Installation_Guide">ATI Debian Installation Guide</a>.</p><p>This post is based on the <a
href="http://www.linuxforums.org/forum/617305-post2.html">iwanabeguru&#8217;s response</a> at Linux Forums.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/10/01/debian-fgl_glxgears-using-glx_sgix_pbuffer-segmentation-fault.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Which Hosting Control Panel to use for a Debian server?</title><link>http://bogdan.org.ua/2008/09/27/which-hosting-control-panel-to-use-for-a-debian-server.html</link> <comments>http://bogdan.org.ua/2008/09/27/which-hosting-control-panel-to-use-for-a-debian-server.html#comments</comments> <pubDate>Sat, 27 Sep 2008 12:47:18 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[control]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[free]]></category> <category><![CDATA[GNUPanel]]></category> <category><![CDATA[GPL. DTC]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[ISPConfig]]></category> <category><![CDATA[panel]]></category> <category><![CDATA[RavenCore]]></category> <category><![CDATA[server]]></category> <category><![CDATA[SysCP]]></category> <category><![CDATA[Usermin]]></category> <category><![CDATA[Virtualmin]]></category> <category><![CDATA[Webmin]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=384</guid> <description><![CDATA[To cut the long story short: for the final evaluation, I had this line of control panels: SysCP Domain Technologie Control, DTC Virtualmin (also Webmin, Usermin) ISPConfig RavenCore (no longer developed) GNUPanel SysCP: looks good to me (though demo isn&#8217;t functional), has customer billing module. Unsure as to where it is used, but most probably [...]]]></description> <content:encoded><![CDATA[<p>To cut the long story short: for the final evaluation, I had this line of control panels:</p><ul><li><a
href="http://www.syscp.org/">SysCP</a></li><li><a
href="http://www.gplhost.com/software-dtc.html">Domain Technologie Control</a>, DTC</li><li><a
href="http://www.virtualmin.com/">Virtualmin</a> (also Webmin, Usermin)</li><li><a
href="http://www.ispconfig.org/">ISPConfig</a></li><li><a
href="http://www.ravencore.com/" class="broken_link" rel="nofollow">RavenCore</a> <ins
datetime="2011-12-17T13:39:22+00:00">(no longer developed)</ins></li><li><a
href="http://gnupanel.org/">GNUPanel</a></li></ul><p><strong>SysCP</strong>: looks good to me (though demo isn&#8217;t functional), has customer billing module. Unsure as to where it is used, but most probably <a
href="http://www.syscp.org/sponsors.html">sponsors</a> are also the users of SysCP. Majority of support forums are in German.</p><p><strong>DTC</strong>: has no demo, only some screenshots. Has a set of packages for Debian lenny (which is a huge plus for maintenance and future upgrades). DTC is being developed by <a
href="http://www.gplhost.com/">GPLHost</a>, and is also used by GPLHost &#8211; so this is a live (used) distribution. Seems quite feature-rich.</p><p><strong>Virtualmin</strong> claims to be the <em>&#8220;world&#8217;s most powerful and flexible web server control panel&#8221;</em>. Virtualmin offers 4 means to control it: <em>Web, mobile device, command line, and remote API</em>. There are both <a
href="http://www.virtualmin.com/screenshots">screenshots</a> and <a
href="http://www.virtualmin.com/demo">demo</a>. Has both <a
href="http://www.virtualmin.com/compare.html">GPL and Professional versions</a>. GPL version has a number of limitations, comparing to Pro version. From what I&#8217;ve read about Webmin (all three &#8211; Virtualmin, Webmin, Usermin &#8211; are just different &#8220;layers&#8221; of server control), it is a framework with a number of &#8220;interface scripts&#8221;, which allow to control various services. As such, it is easily extendible, but is not monolithic &#8211; in the sense of module inter-dependencies and action triggers.</p><p><strong>RavenCore</strong> was a promising <abbr
title="control panel">CP</abbr>.</p><p><strong>GNUPanel</strong> is a year-old control panel, but has a news item on the front page (dated August, 17) promising new, completely rewritten release somewhere in October. By the feature list, looks promising. However, I need the panel right now, and even in October, that will be quite a rough release, not really used/tested anywhere, so not a good option as well. But GNUPanel is a panel to check in half a year for progress.</p><p>As the final choice, I had ISPConfig (which seems to be the best by people&#8217;s comments), and which is also quite widely used, and is easy to install onto Debian (at least the <a
href="http://www.howtoforge.com/perfect_setup_debian_etch">Perfect setup: Debian Etch</a> says so), and DTC. I discarded Virtualmin (for the poor functionality of the GPLed version), RavenCore (for the lack of current descriptions and non-functioning demo), GNUPanel (which just isn&#8217;t ready yet), and SysCP (because ISPConfig seems better <img
src='http://bogdan.org.ua/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p><p>As DTC has Debian packages (and will be easier to maintain/upgrade), I decided to try it first. I already have it installed (that&#8217;s easy, esp. if you first read the <a
href="http://dtcsupport.gplhost.com/PmWiki/DebianExpressSetup">DTC Debian Express Setup</a>). Later I might post my impressions from using DTC.</p><p><ins
datetime="2009-01-03T13:48:42+00:00">Update:</ins> DTC is indeed easy and pleasant to use. I had problems allowing FTP and SSH access using MySQL authorization, but at least FTP was an easy one to fix (SSH access with MySQL authorization is still unconfigured, but that&#8217;s a low priority for me). There is a minor concern about the files and directory permissions setup, but thanks to chrooted environment that is only minor concern. Use of a single Apache installation for hosting admin and serving user sites might be a sub-optimal decision, but it works. Traffic and disk space accounting are plain superb! Server memory use for the dtc-toaster installation is troublesome, but for a powerful RAM-my server that is not a problem (I now have about 800-900MiB RAM occupied, but that includes the XCache&#8217;s cache, quite big MySQL cache, and loads of Apache and PHP modules).</p><p>But I&#8217;m still willing to try other control panels. As I expected, <a
href="http://gnupanel.org/">GNUPanel</a> hasn&#8217;t released anything yet; <a
href="http://www.ravencore.com/" class="broken_link" rel="nofollow">Ravencore</a>&#8216;s online demo is still unfunctional; <a
href="http://www.ispconfig.org/">ISPConfig</a> has recently released RC (and their demo is working as it should and as it used to); <a
href="http://www.syscp.org/">SysCP</a> is also up and running fast. If my little hosting service starts pouring in some cash, then I&#8217;ll try SysCP on my second server &#8211; to compare it with DTC, and choose one of them for further support/extension/localization.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/09/27/which-hosting-control-panel-to-use-for-a-debian-server.html/feed</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>Debian-Med Project</title><link>http://bogdan.org.ua/2008/09/03/debian-med-project.html</link> <comments>http://bogdan.org.ua/2008/09/03/debian-med-project.html#comments</comments> <pubDate>Tue, 02 Sep 2008 22:34:56 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Science]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[biology]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[debian-med]]></category> <category><![CDATA[development]]></category> <category><![CDATA[medicine]]></category> <category><![CDATA[package]]></category> <category><![CDATA[practice]]></category> <category><![CDATA[project]]></category> <category><![CDATA[research]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=356</guid> <description><![CDATA[There&#8217;s a Debian-Med project, aiming to develop Debian into an operating system that is particularly well fit for the requirements for medical practice and research Debian-Med has several web sites/pages: one at Debian.org (descriptive), and the actual project&#8217;s website at debian-med.alioth.debian.org. There&#8217;s also debian-med wiki (for developers). As of nowadays, Debian-Med has released a number [...]]]></description> <content:encoded><![CDATA[<p>There&#8217;s a <a
href="http://alioth.debian.org/projects/debian-med">Debian-Med project</a>, aiming to</p><blockquote><p>develop Debian into an operating system that is particularly well fit for the requirements for medical practice and research</p></blockquote><p>Debian-Med has several web sites/pages: one at <a
href="http://www.debian.org/devel/debian-med/">Debian.org</a> (descriptive), and the actual project&#8217;s website at <a
href="http://debian-med.alioth.debian.org/">debian-med.alioth.debian.org</a>. There&#8217;s also <a
href="http://wiki.debian.org/DebianMed">debian-med wiki</a> (for developers).</p><p>As of nowadays, Debian-Med has released a number of Debian packages, which are grouped into respective <a
href="http://debian-med.alioth.debian.org/tasks/">Debian Med Tasks</a>. The Biology-dev task, for example, contains <abbr
title="Markov cluster algorithm">MCL</abbr> and libsbml packages (among many others).</p><p>Check this project out &#8211; you might find that the software you need is already available as Debian package.</p><p><em>This post was stimulated by <a
href="http://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html#comment-81021">Steffen&#8217;s comment</a>.</em></p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/09/03/debian-med-project.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing libsbml on Debian (to make iBioSim start)</title><link>http://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html</link> <comments>http://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html#comments</comments> <pubDate>Sat, 30 Aug 2008 21:38:26 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Science]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Systems Biology]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[java]]></category> <category><![CDATA[libsbml]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=336</guid> <description><![CDATA[There&#8217;s a troubleshooter for Ubuntu, which (expectedly) works quite the same for Debian (lenny in my case). I&#8217;m installing libsbml to make the iBioSim tool work under Debian GNU/Linux. First thing I had to do was to make Sun&#8217;s java interpreter do all the java interpretation work instead of gcj: sudo update-java-alternatives -s java-6-sun (this [...]]]></description> <content:encoded><![CDATA[<p>There&#8217;s a <a
href="http://xzhou82.blogspot.com/2008/06/install-libsbml-on-ubuntu.html">troubleshooter for Ubuntu</a>, which (expectedly) works quite the same for <a
href="http://www.debian.org/">Debian</a> (lenny in my case).</p><p>I&#8217;m installing <a
href="http://sbml.org/Software/libSBML">libsbml</a> to make the <a
href="http://www.async.ece.utah.edu/iBioSim/">iBioSim</a> tool work under Debian GNU/Linux. First thing I had to do was to make Sun&#8217;s java interpreter do all the java interpretation work instead of gcj: <strong>sudo update-java-alternatives -s java-6-sun</strong> (this assumes you do have java-6-sun installed).</p><p>Installing libsbml moved me one step further, now I&#8217;m getting another error from iBioSim:</p><pre>
Exception in thread "main" java.lang.NoClassDefFoundError: biomodelsim/BioSim
Caused by: java.lang.ClassNotFoundException: biomodelsim.BioSim
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
</pre><p>This yet has to be fixed somehow.</p><p>If <a
href="http://xzhou82.blogspot.com/">Zhou Xin&#8217;s blog</a> becomes for any reason inaccessible (or moves to his own domain), below is the extract of the instructions from his post on how to install libsbml on Debian/Ubuntu Linux:<br
/> <span
id="more-336"></span></p><blockquote><p> - first, install all the necessary packages:<br
/> <strong><a
href="http://bogdan.org.ua/2007/08/19/linux-package-management-use-aptitude-if-your-distro-has-it.html">aptitude</a> install build-essential libxml2 libxml2-dev python-dev</strong></p><p>- then configure, make and install libsbml:<br
/> <strong>./configure &ndash;&ndash;with-python</strong> (execute from the directory where the downloaded libsbml archive was extracted to)<br
/> <strong>make</strong><br
/> <strong>make install</strong><br
/> <strong>ldconfig</strong></p><p>- then check if installation was successful:<br
/> <strong>python</strong><br
/> and when the python prompt >>> appears, run <strong>from libsbml import *</strong> &#8211; if there are no warnings/errors, then you are done!</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>debian.org.ua: universal Ukrainian Debian mirror</title><link>http://bogdan.org.ua/2008/07/15/debian-org-ua-universal-ukrainian-debian-mirror.html</link> <comments>http://bogdan.org.ua/2008/07/15/debian-org-ua-universal-ukrainian-debian-mirror.html#comments</comments> <pubDate>Mon, 14 Jul 2008 22:33:41 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[debian.org.ua]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mirros]]></category> <category><![CDATA[Ukraine]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=313</guid> <description><![CDATA[http://debian.org.ua/ and ftp://debian.org.ua/ What is on offer (mirrors): backports.org cygwin deb.opera.com debian &#8211; stable, testing, sid debian-archive (starting from 1.1!) debian-multimedia installation media (CDs/DVDs) debian-security even debian-volatile is here! All this goodness is only 3 hops away from my DSL modem&#8230;. (ISP UkrTelecom) Gone editing /etc/apt/sources.list P.S. For non-ukrainian IPs, access might be slow/bandwidth-limited; for [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://debian.org.ua/">http://debian.org.ua/</a> and <a
href="ftp://debian.org.ua/">ftp://debian.org.ua/</a></p><p>What is on offer (mirrors):</p><ul><li>backports.org</li><li>cygwin</li><li>deb.opera.com</li><li>debian &#8211; stable, testing, sid</li><li>debian-archive (starting from 1.1!)</li><li>debian-multimedia</li><li>installation media (CDs/DVDs)</li><li>debian-security</li><li>even debian-volatile is here!</li></ul><p>All this goodness is only 3 hops away from my DSL modem&#8230;. (ISP UkrTelecom)</p><p>Gone editing /etc/apt/sources.list <img
src='http://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>P.S. For non-ukrainian IPs, access might be slow/bandwidth-limited; for Ukrainian IPs, speed might be up to 100MBit/sec.</p><p><ins
datetime="2008-07-16T14:51:30+00:00">Update:</ins> some time after publishing this post, debian.org.ua was down for some reason. When it was up, it was serving me packages with a mere 3 kb/sec <img
src='http://bogdan.org.ua/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . I found that ftp2.debian.org.ua mirror is faster at the moment.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/07/15/debian-org-ua-universal-ukrainian-debian-mirror.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Concise guide to CPU frequency scaling in Linux</title><link>http://bogdan.org.ua/2008/07/11/concise-guide-to-cpu-frequency-scaling-in-linux.html</link> <comments>http://bogdan.org.ua/2008/07/11/concise-guide-to-cpu-frequency-scaling-in-linux.html#comments</comments> <pubDate>Fri, 11 Jul 2008 12:18:39 +0000</pubDate> <dc:creator>Bogdan</dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[CPU]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[frequency]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[power management]]></category> <category><![CDATA[scaling]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=309</guid> <description><![CDATA[Debian HOW-TO: CPU power management / frequency scaling Also as a PDF: Debian how-to: CPU frequency scaling and power management.]]></description> <content:encoded><![CDATA[<p><a
href="http://technowizah.com/2007/01/debian-how-to-cpu-frequency-management.html">Debian HOW-TO: CPU power management / frequency scaling</a></p><p>Also as a PDF: <a
href='http://bogdan.org.ua/wp-content/uploads/2008/07/debian-cpu-frequency-scaling.pdf'>Debian how-to: CPU frequency scaling and power management</a>.</p> ]]></content:encoded> <wfw:commentRss>http://bogdan.org.ua/2008/07/11/concise-guide-to-cpu-frequency-scaling-in-linux.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
