<?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>Creotiv lives here &#187; Настройка сервера</title>
	<atom:link href="http://creotiv.in.ua/topics/%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b0/feed/" rel="self" type="application/rss+xml" />
	<link>http://creotiv.in.ua</link>
	<description>Andrey Nikishaev Blog</description>
	<lastBuildDate>Sat, 04 Sep 2010 08:52:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Django vs Twisted &#8211; ребенок против танка</title>
		<link>http://creotiv.in.ua/django-vs-twisted-%d1%80%d0%b5%d0%b1%d0%b5%d0%bd%d0%be%d0%ba-%d0%bf%d1%80%d0%be%d1%82%d0%b8%d0%b2-%d1%82%d0%b0%d0%bd%d0%ba%d0%b0/</link>
		<comments>http://creotiv.in.ua/django-vs-twisted-%d1%80%d0%b5%d0%b1%d0%b5%d0%bd%d0%be%d0%ba-%d0%bf%d1%80%d0%be%d1%82%d0%b8%d0%b2-%d1%82%d0%b0%d0%bd%d0%ba%d0%b0/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 20:49:36 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Железо]]></category>
		<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[Программирование]]></category>
		<category><![CDATA[финансы]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1226</guid>
		<description><![CDATA[Сегодня было обсуждение нового проекта, со сроком на реализацию 2 месяца. И собственно постал вопрос на каком фремверке писать. Было взято два варианта Twisted(мой любимый фрейм) и Django(самый раскрученый фрейм). До сего момента я никогда не юзал Django так как считал его копией Symfony но только для Питона. Но так как сроки довольно узкие то решил взять его в сравнение (так как имеет довольно много готовых модулей).

После двух часов изучения мануалов установки и связки lighttpd->fcgi->django+PostgreSQL были проведены первые тесты. И тут как бы я немножко офигел. На моем слабеньком ноуте Интел центрино 1.8 Django выдал 60rps против 670rps у Twisted.

В тесте выполнялся один селект из БД + генерация простого темплейта в пару байт.

В итоге я искренне не понимаю фанатов Django ибо как по мне то это полная лажа. Конечно можно врубить кеши и прочее, но как бы в Твистеде тоже. И в итоге выходит что можно экономить на мощностях в 10-15 раз, что поверте очень неплохо. Нет я понимаю, что сейчас привкли считать что главное не экономия а удобство и что легче докупать сервера, но не настолько же. Я как бы лучше потрачу лишний месяц на работу но буду экономить 90% на стоимости железа на весь период жизни железа.

Как по мне то программер должен писать код который экономит деньги, а не тот который их тратит.

Вообщем люди если вам дороги деньги не юзайте Django.]]></description>
			<content:encoded><![CDATA[<p>Сегодня было обсуждение нового проекта, со сроком на реализацию 2 месяца. И собственно постал вопрос на каком фреймверке писать. Было взято два варианта Twisted(мой любимый фрейм) и Django(самый раскрученый фрейм). До сего момента я никогда не юзал Django так как считал его копией Symfony но только для Питона. Но так как сроки довольно узкие то решил взять его в сравнение (так как имеет довольно много готовых модулей).</p>
<p>После двух часов изучения мануалов установки и связки lighttpd-&gt;fcgi-&gt;django+PostgreSQL были проведены первые тесты. И тут как бы я немножко офигел. На моем слабеньком ноуте Интел центрино 1.8 Django выдал 60rps против 670rps у Twisted.</p>
<p>В тесте выполнялся один селект из БД + генерация простого темплейта в пару байт.</p>
<p>В итоге я искренне не понимаю фанатов Django ибо как по мне то это полная лажа. Конечно можно врубить кеши и прочее, но как бы в Твистеде тоже. И в итоге выходит что можно экономить на мощностях в 10-15 раз, что поверте очень неплохо. Нет я понимаю, что сейчас привкли считать что главное не экономия а удобство и что легче докупать сервера, но не настолько же. Я как бы лучше потрачу лишний месяц на работу но буду экономить 90% на стоимости железа на весь период жизни железа.</p>
<p>Как по мне то программер должен писать код который экономит деньги, а не тот который их тратит.</p>
<p>Вообщем люди если вам дороги деньги не юзайте Django.</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/django-vs-twisted-%d1%80%d0%b5%d0%b1%d0%b5%d0%bd%d0%be%d0%ba-%d0%bf%d1%80%d0%be%d1%82%d0%b8%d0%b2-%d1%82%d0%b0%d0%bd%d0%ba%d0%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imaginarium &#8211; сложные вещи доступными методами</title>
		<link>http://creotiv.in.ua/imaginarium-%d1%81%d0%bb%d0%be%d0%b6%d0%bd%d1%8b%d0%b5-%d0%b2%d0%b5%d1%89%d0%b8-%d0%b4%d0%be%d1%81%d1%82%d1%83%d0%bf%d0%bd%d1%8b%d0%bc%d0%b8-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d0%b0%d0%bc%d0%b8/</link>
		<comments>http://creotiv.in.ua/imaginarium-%d1%81%d0%bb%d0%be%d0%b6%d0%bd%d1%8b%d0%b5-%d0%b2%d0%b5%d1%89%d0%b8-%d0%b4%d0%be%d1%81%d1%82%d1%83%d0%bf%d0%bd%d1%8b%d0%bc%d0%b8-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d0%b0%d0%bc%d0%b8/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 12:09:44 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Менеджмент]]></category>
		<category><![CDATA[Мысли в слух]]></category>
		<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[Остальное]]></category>
		<category><![CDATA[Портфолио]]></category>
		<category><![CDATA[Программирование]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1109</guid>
		<description><![CDATA[Мы молодая компания, но имеющая за плечами немалый опыт работы в сфере ИТ и Консалтинга. И наша основная цель это делать отличные проекты за хорошие деньги.

В мире где практически каждая компания пытается создать что то немыслимо функциональное и всеобъемлющее, мы акцентируем свое внимание на простоте, проработке деталей и специфике области приминения нашего решения. Мы не стремимся сделать все, мы стремимся сделать меньше но идеально. Потому, что бизнесс не терпит ошибок и мы это понимаем и именно поэтому мы создаем проекты которые решают проблемы, а не создают новые.

Чуть больше о нашей компании вы можете узнать на нашем официальном сайте Imaginarium]]></description>
			<content:encoded><![CDATA[<p>Мы молодая компания, но имеющая за плечами немалый опыт работы в сфере ИТ и Консалтинга. И наша основная цель это делать отличные проекты за хорошие деньги.</p>
<p>В мире где практически каждая компания пытается создать что-то немыслимо функциональное и всеобъемлющее, мы акцентируем свое внимание на простоте, проработке деталей и специфике области применения нашего решения. Мы не стремимся сделать все, мы стремимся сделать меньше но идеально. Потому, что бизнес не терпит ошибок и мы это понимаем и именно поэтому мы создаем проекты которые решают проблемы, а не создают новые.</p>
<p>Чуть больше о нашей компании вы можете узнать на нашем официальном сайте <a href="http://imaginarium-team.com" target="_self">Imaginarium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/imaginarium-%d1%81%d0%bb%d0%be%d0%b6%d0%bd%d1%8b%d0%b5-%d0%b2%d0%b5%d1%89%d0%b8-%d0%b4%d0%be%d1%81%d1%82%d1%83%d0%bf%d0%bd%d1%8b%d0%bc%d0%b8-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d0%b0%d0%bc%d0%b8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5 and GFS</title>
		<link>http://creotiv.in.ua/centos-5-and-gfs/</link>
		<comments>http://creotiv.in.ua/centos-5-and-gfs/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 09:09:17 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[Программирование]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[gfs]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[san]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1100</guid>
		<description><![CDATA[In our project, that we are already developing, we needed to implement cluster file system cause we have a huge amount of data access for which must be clear and simple.

We chose the CentOS distribution for this task because you can't beat the price (it's free), it is built on very solid code (RedHat Enterprise Linux), and had a long support lifetime. If I am not mistaken CentOS 5 will be supported for something like 8 years.

All in all we had 12 servers and a new storage network to use, so we immediately began researching clustering file systems. Being that CentOS is a RedHat derivative we ultimately decided to use GFS as it is natively supported (that doesn't mean that it's easy to setup) and is used in some very large clusters worldwide (which tells us it is production ready). We use GFS to share our service data and some other things for Application servers. 

I noticed that there isn't a ton of info on this subject on the net and the RedHat documentation was a little confusing so I will share about how we got it working for us.]]></description>
			<content:encoded><![CDATA[<p>In our project, that we are already developing, we needed to implement cluster file system cause we have a huge amount of data access for which must be clear and simple.</p>
<p>We chose the CentOS distribution for this task because you can&#8217;t beat the price (it&#8217;s free), it is built on very solid code (RedHat Enterprise Linux), and had a long support lifetime. If I am not mistaken CentOS 5 will be supported for something like 8 years.</p>
<p><span id="more-1100"></span></p>
<p>All in all we had 12 servers and a new storage network to use, so we immediately began researching clustering file systems. Being that CentOS is a RedHat derivative we ultimately decided to use GFS as it is natively supported (that doesn&#8217;t mean that it&#8217;s easy to setup) and is used in some very large clusters worldwide (which tells us it is production ready). We use GFS to share our service data and some other things for Application servers.</p>
<p>I noticed that there isn&#8217;t a ton of info on this subject on the net and the RedHat documentation was a little confusing so I will share about how we got it working for us.</p>
<p>First things first, when you are installing CentOS 5 be sure to install the Cluster FS option. You can include whatever else you would like, but this package is absolutely necessary. After install I immediately do the following:</p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p><span style="font-size: 11px;"><br />
yum install ntp<br />
chkconfig ntpd on<br />
service ntpd start</span></p></blockquote>
<p>It is vital that the machines in your cluster are in sync as far as time is concerned. If they are out of sync it can cause problems later when more than one machine is accessing the same file at the same time.</p>
<p>The next thing I do is add my GFS mount point folder to the /etc/updatedb.conf file. Basically, this file has a line of all folders to NOT include when updatedb runs. Updatedb is a very nice indexing service that allows you to use the &#8220;locate&#8221; command to search for files and directories on your machine. A very handy tool, but when you have 11 machines banging on every byte of a multi-terabyte SAN at the exact same time it causes massive problems, and in fact our cluster was crashing EVERY morning between the hours of 4 and 7 am.</p>
<p>The mount point that we use is /san so I simply added this to the /etc/updatedb.conf file like so:<br />
<span style="font-size: 11px;"> </span></p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p>PRUNEPATHS = &#8220;/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp /san&#8221;</p></blockquote>
<p>When you are starting your cluster with your first machines there are a few files to setup. The first is /etc/lvm/lvm.conf You don&#8217;t need to use lvm for a GFS filesystem, but we do.<br />
The only thing I do to this file is change the scan directory. Since I am using AoE with the Coraid device I simply changed my scan line to look like this:</p>
<p><span style="font-size: 11px;"> </span></p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p>scan = [ "/dev/etherd" ]</p></blockquote>
<p>In our cluster the only logical volume we are using is on the Coraid device and so I didn&#8217;t feel like scanning all of /dev every time, but you could seemingly keep this file at the defaults or change it like I did to be more specific, and hopefully make boot time a little quicker.</p>
<p>The next file we are going to setup is a biggie and that is the /etc/cluster/cluster.conf Basically, this file is the grandaddy of them all in terms of GFS and tells the cluster who is a member how it should work together and so on. Here is a stripped down version of the file we use:</p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p><span style="font-size: 11px;"><br />
&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;cluster config_version=&#8221;25&#8243; name=&#8221;san1&#8243;&gt;<br />
&lt;fence_daemon post_fail_delay=&#8221;0&#8243; post_join_delay=&#8221;120&#8243;/&gt;<br />
&lt;clusternodes&gt;<br />
&lt;clusternode name=&#8221;db1&#8243; nodeid=&#8221;1&#8243; votes=&#8221;1&#8243;&gt;<br />
&lt;fence&gt;<br />
&lt;method name=&#8221;1&#8243;&gt;<br />
&lt;device name=&#8221;apc1&#8243; port=&#8221;db1&#8243;/&gt;<br />
&lt;/method&gt;<br />
&lt;/fence&gt;<br />
&lt;/clusternode&gt;<br />
&lt;clusternode name=&#8221;db2&#8243; nodeid=&#8221;2&#8243; votes=&#8221;1&#8243;&gt;<br />
&lt;fence&gt;<br />
&lt;method name=&#8221;1&#8243;&gt;<br />
&lt;device name=&#8221;apc1&#8243; port=&#8221;db2&#8243;/&gt;<br />
&lt;/method&gt;<br />
&lt;/fence&gt;<br />
&lt;/clusternode&gt;<br />
&lt;/clusternodes&gt;<br />
&lt;cman/&gt;<br />
&lt;fencedevices&gt;<br />
&lt;fencedevice agent=&#8221;fence_aoemask&#8221; name=&#8221;fence-e1.0&#8243; shelf=&#8221;1&#8243; slot=&#8221;0&#8243; interface=&#8221;eth1&#8243;/&gt;<br />
&lt;fencedevice name=&#8221;apc1&#8243; agent=&#8221;fence_apc&#8221; ipaddr=&#8221;192.168.2.247&#8243; login=&#8221;somelogin&#8221; passwd=&#8221;xxxxxx&#8221;/&gt;<br />
&lt;/fencedevices&gt;<br />
&lt;rm&gt;<br />
&lt;failoverdomains/&gt;<br />
&lt;/rm&gt;<br />
&lt;/cluster&gt;</span></p></blockquote>
<p>There are some important things to note here. You will see that I am using hostnames (db1 and db1 here). You use hostnames to identify certain nodes in your cluster and therefore every server needs to have the same entries for these hostnames in their /etc/hosts file. You may be thinking to yourself, &#8220;well I could just use DNS for that.&#8221; It is recommended to use the hosts file because it is quicker (no network latency to look up host names) and inherently more reliable because you don&#8217;t rely on a few machines to translate names, rather every machine in the cluster knows exactly where the others are. Whenever I modify my hosts file I simply scp the /etc/hosts file to every machine in the cluster.</p>
<p>The second item you will notice in the cluster.conf file is the fencing section. Fencing is ultra ultra important to a GFS cluster. Basically, the cluster needs a way to remove nodes that it deems as unsafe to the cluster as a whole from the data stored on GFS. This ensures reliability of your data. The recommended way to do fencing is through a power switch that can be controlled over the network, but you can also do it at the SAN level. The Coraid device has a way to filter by MAC address and we actually used that for a while, but then switched to the power option because it was easier to work with. I will talk about these specific fencing options in a later post.</p>
<p>I am embarrassed to admit it, but we actually ran our cluster with manual fencing for a while because I didn&#8217;t know about the Coraid MAC option yet and we hadn&#8217;t purchased APC power strips yet. Let me just say that you can do it, but you will undoubtedly run into a problem like this. With manual fencing, if a node is dies unexpectedly or is deemed unsafe, GFS doesn&#8217;t know how to turn the node off, so it does the next best thing and locks EVERYONE out from the filesystem. NONE of your other machines will be able to read data from the GFS cluster until they ALL are rebooted. Oh yah, and CentOS 5 specifically won&#8217;t respond to the reboot command. It will try to reboot, but will hang forever. You have to physically cut the power to the server or press the power button to bring the machines and the cluster back. Needless to say, this is not a good option if your datacenter is miles away and it is 3 in the morning.</p>
<p>Once you have your /etc/cluster/cluster.conf, /etc/lvm/lvm.conf and /etc/hosts files ready to go you can start your cluster with the following commands:<br />
<span style="font-size: 11px;"> </span></p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p>service cman start<br />
service clvmd start<br />
service gfs start</p></blockquote>
<p>Then you can mount your logical volume like this:<br />
<span style="font-size: 11px;"> </span></p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p>mount -t gfs /dev/san1/lvol0 /san -o noatime</p></blockquote>
<p>Another performance booster of note is the &#8220;-o noatime&#8221; section. atime is a timestamp for the time the file was last accessed. You may in fact need it for your apps, but ours and many others could care less when the last access was. With atime on you are forcing a small write for every read. If you don&#8217;t need this parameter then using noatime will boost the performance of your GFS volumes.</p>
<p>I said before that we are using the Coraid device so the way we handle starting our GFS cluster at boot is by using the /etc/init.d/aoe-init script. Here is a sample version of this script:</p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p><span style="font-size: 11px;">#! /bin/sh<br />
# aoe-init &#8211; example init script for ATA over Ethernet storage<br />
#<br />
# Edit this script for your purposes. (Changing &#8220;eth1&#8243; to the<br />
# appropriate interface name, adding commands, etc.) You might<br />
# need to tune the sleep times.<br />
#<br />
# Install this script in /etc/init.d with the other init scripts.<br />
#<br />
# Make it executable:<br />
# chmod 755 /etc/init.d/aoe-init<br />
#<br />
# Install symlinks for boot time:<br />
# cd /etc/rc3.d &amp;&amp; ln -s ../init.d/aoe-init S99aoe-init<br />
# cd /etc/rc5.d &amp;&amp; ln -s ../init.d/aoe-init S99aoe-init<br />
#<br />
# Install symlinks for shutdown time:<br />
# cd /etc/rc0.d &amp;&amp; ln -s ../init.d/aoe-init K01aoe-init<br />
# cd /etc/rc1.d &amp;&amp; ln -s ../init.d/aoe-init K01aoe-init<br />
# cd /etc/rc2.d &amp;&amp; ln -s ../init.d/aoe-init K01aoe-init<br />
# cd /etc/rc6.d &amp;&amp; ln -s ../init.d/aoe-init K01aoe-init<br />
#</span></p>
<p>case &#8220;$1&#8243; in<br />
&#8220;start&#8221;)<br />
# load any needed network drivers here</p>
<p># replace &#8220;eth1&#8243; with your aoe network interface<br />
ifconfig eth1 up</p>
<p># time for network interface to come up<br />
sleep 4</p>
<p>modprobe aoe</p>
<p># time for AoE discovery and udev<br />
sleep 7</p>
<p># add your raid assemble commands here<br />
# add any LVM commands if needed (e.g. vgchange)<br />
# add your filesystem mount commands here<br />
service cman start<br />
sleep 3<br />
service clvmd start<br />
sleep 3<br />
service gfs start<br />
sleep 3<br />
mount -t gfs /dev/san1/lvol0 /san -o noatime</p>
<p>test -d /var/lock/subsys &amp;&amp; touch /var/lock/subsys/aoe-init</p>
<p># Bring up http after the filesystem is mounted<br />
service httpd start<br />
/usr/bin/memcached -d -m 512 -l 192.168.2.100 -p 11211 -u nobody<br />
;;<br />
&#8220;stop&#8221;)<br />
# Stop http before the filesystem is unmounted<br />
service httpd stop</p>
<p># add your filesystem umount commands here<br />
umount /san</p>
<p>sleep 3<br />
service gfs stop<br />
sleep 3<br />
service clvmd stop<br />
sleep 3<br />
service cman stop</p>
<p># deactivate LVM volume groups if needed<br />
# add your raid stop commands here<br />
rmmod aoe<br />
rm -f /var/lock/subsys/aoe-init<br />
;;<br />
*)<br />
echo &#8220;usage: `basename $0` {start|stop}&#8221; 1&gt;&amp;2<br />
;;<br />
esac</p></blockquote>
<p>I then do the following to make sure that these services are only started through the aoe-init script:</p>
<blockquote style="line-height: 1.3em; margin-top: 1em; margin-right: 20px; margin-bottom: 1em; margin-left: 20px;"><p><span style="font-size: 11px;">chkconfig gfs off<br />
chkconfig cman off<br />
chkconfig clvmd off</span></p></blockquote>
<p>I hope this info was helpful to someone out there. I will edit and add to this post to make it more thorough, I am sure there are small elements I left out.</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/centos-5-and-gfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize Ubuntu calendar with Google calendar</title>
		<link>http://creotiv.in.ua/synchronize-ubuntu-calendar-with-google-calendar/</link>
		<comments>http://creotiv.in.ua/synchronize-ubuntu-calendar-with-google-calendar/#comments</comments>
		<pubDate>Sat, 01 May 2010 19:27:04 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[synchronization]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1051</guid>
		<description><![CDATA[Found one good thing today. How we can synchronize our system calendar in Ubuntu with Google calendar.
For this we can use iCal interface. Just print:

/usr/lib/evolution-webcal/evolution-webcal $GOOGLE_ICAL_URL

Google iCal url you can get from calendar options at &#8216;calendar details&#8217; tab.
]]></description>
			<content:encoded><![CDATA[<p>Found one good thing today. How we can synchronize our system calendar in Ubuntu with Google calendar.<br />
For this we can use iCal interface. Just print:<br />
<code><br />
/usr/lib/evolution-webcal/evolution-webcal $GOOGLE_ICAL_URL<br />
</code></p>
<p>Google iCal url you can get from calendar options at &#8216;calendar details&#8217; tab.</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/synchronize-ubuntu-calendar-with-google-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04(lucid) desktopcouch gwibber beam.smp bug</title>
		<link>http://creotiv.in.ua/ubuntu-10-04lucid-desktopcouch-gwibber-beam-smp-bug/</link>
		<comments>http://creotiv.in.ua/ubuntu-10-04lucid-desktopcouch-gwibber-beam-smp-bug/#comments</comments>
		<pubDate>Sat, 01 May 2010 15:23:29 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[beam.smp]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[desktopcouch]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1049</guid>
		<description><![CDATA[Today i installed new version of ubuntu and found one pity bug in desktopcouch and gwibber(new social tool) that use it. They start couchdb instance that consumes big part of memory.
I didn't find any fix for this(maybe in new updates it will be), so i just remove this packages from system, cause i don't need some social tools that eats 70% of my memory.

To remove this shit from your computer open System->Administration->Symantic package manager and print in search "desktopcouch" then mark for remove desktopcouch, libdesktopcouch-glib-1.0.2 and all their dependent packages. Then restart computer(or relogin). ]]></description>
			<content:encoded><![CDATA[<p>Today i installed new version of ubuntu and found one pity bug in desktopcouch and gwibber(new social tool) that use it. They start couchdb instance that consumes big part of memory.<br />
I didn&#8217;t find any fix for this(maybe in new updates it will be), so i just remove this packages from system, cause i don&#8217;t need some social tools that eats 70% of my memory.</p>
<p>To remove this shit from your computer open System->Administration->Symantic package manager and print in search &#8220;desktopcouch&#8221; then mark for remove desktopcouch, libdesktopcouch-glib-1.0.2 and all their dependent packages. Then restart computer(or relogin). </p>
<p>I think this bug will be fixed soon, so if you need this just wait)</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/ubuntu-10-04lucid-desktopcouch-gwibber-beam-smp-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Сборка Python 2.6 под Centos 5</title>
		<link>http://creotiv.in.ua/%d1%81%d0%b1%d0%be%d1%80%d0%ba%d0%b0-python-2-6-%d0%bf%d0%be%d0%b4-centos-5/</link>
		<comments>http://creotiv.in.ua/%d1%81%d0%b1%d0%be%d1%80%d0%ba%d0%b0-python-2-6-%d0%bf%d0%be%d0%b4-centos-5/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 16:05:12 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1041</guid>
		<description><![CDATA[Сборка Python 2.6 под Centos 5]]></description>
			<content:encoded><![CDATA[<p><strong>Ставим Python2.6:</strong></p>
<pre>
wget http://python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
tar -xjf Python-2.6.4.tar.bz2
cd Python-2.6.4
yum install -y gcc make zlib-devel bzip2-devel openssl-devel readline-devel sqlite-devel gdbm-devel ncurses-devel
./configure --prefix=/opt/python26 --with-zlib=/usr/include
make
make install
ln -s /opt/python26/bin/python2.6 /usr/bin/python2.6
python2.6 -V
</pre>
<p><strong>Прикручиваем к нему setuptools c easy_install:</strong></p>
<pre>
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
sh setuptools-0.6c11-py2.6.egg
ln -s /opt/python26/bin/easy_install-2.6 /usr/bin/easy_install-2.6
easy_install-2.6 --help
</pre>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/%d1%81%d0%b1%d0%be%d1%80%d0%ba%d0%b0-python-2-6-%d0%bf%d0%be%d0%b4-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freshtel под Ubuntu</title>
		<link>http://creotiv.in.ua/freshtel-%d0%bf%d0%be%d0%b4-ubuntu/</link>
		<comments>http://creotiv.in.ua/freshtel-%d0%bf%d0%be%d0%b4-ubuntu/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:11:54 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[freshtel]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb modem]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=1032</guid>
		<description><![CDATA[Что потребуется:

вай-фай роутер
убитая машинка
сетевуха
Виндузятина ХР
Идея сего творения:

К тазику с виндой подключаем Freshtel USB Modem, сетевуху конектим к WAN порту на роутере. к роутеру подключаем уже машинки, свичи, вообщем че хотим.

Убитую машинку можно взять у друзей или купить гривен за 200. Роутер стоит гдето 400грн. Итого модем + машинка+роутер ~800грн. К тому же вы получаете домашний минисервер который можно доукомплектовать разной полезной фигней типа торента и прочего. В любом случае это лучше чем платить за какойто китайский роутер 1000-1800грн.

Процес установки:

1) Если в компе нет сетевухи то ставим онную

2) Сносим все нах что было на диске и ставим Винду ХР

3) Инсталим дрова под Freshtel USB Modem

4) Подключаем роутер и заходим в настройки.В настройка роутер ставим айпи роутера 192.168.0.1(веб интерфейса), находим настройки DHCP сервера(на роутере) и ставим автоматическую раздачу айпи с 192.168.0.3 по 192.168.0.255 и подмаску 255.255.255.0(везде где надо будет ее вводить ставить таковую не ошибетесь)

5) Заходим на нашей машинке в сетевые соединения и находим WIMAX соединение. Заходим в свойства и ставим галочку на "раздать интернет на другие машины". Теперь заходим в сетевое соединение(от сетевухи к роутеру), находим протокол TCP/IP и в свойствах онного задаем IP машинки 192.168.0.2. Теперь эта машинка шлюз к интернету.

6) Врубаем вай-фай на ноуте и подключаемся к роутеру. Наслаждаемсо инетом.

Бывает что винда не видет шлюза(192.168.0.2). В таком случае нужно зайти в настройки сетевого подлючения и прописать маршрут, шлюз и dns на 192.168.0.2. После этого инет вернеться

7) Если вы подключены к роутеру через кабель, то нужно зайти в настройки сетевого подлючения и прописать маршрут, шлюз и dns на 192.168.0.2



Именно такая конфигурация стоит сейчас у меня дома. Так как к сожалению в округе кроме Воли нифига нет. Скорость на Freshtel 10мбит/сек закачка и 3.5мбит/сек отдача + это реально анлим.

Вообщем для тех у кого рядом нет нормального инета рекомендую.
]]></description>
			<content:encoded><![CDATA[<p>Что потребуется:</p>
<ul>
<li>вай-фай роутер</li>
<li>убитая машинка</li>
<li>сетевуха</li>
<li>Виндузятина ХР</li>
</ul>
<p>Идея сего творения:</p>
<p>К тазику с виндой подключаем Freshtel USB Modem, сетевуху конектим к WAN порту на роутере. к роутеру подключаем уже машинки, свичи, вообщем че хотим.</p>
<p>Убитую машинку можно взять у друзей или купить гривен за 200. Роутер стоит гдето 400грн. Итого модем + машинка+роутер ~800грн. К тому же вы получаете домашний минисервер который можно доукомплектовать разной полезной фигней типа торента и прочего. В любом случае это лучше чем платить за какойто китайский роутер 1000-1800грн.</p>
<p>Процес установки:</p>
<p>1) Если в компе нет сетевухи то ставим онную</p>
<p>2) Сносим все нах что было на диске и ставим Винду ХР</p>
<p>3) Инсталим дрова под Freshtel USB Modem</p>
<p>4) Подключаем роутер и заходим в настройки.В настройка роутер ставим айпи роутера 192.168.0.1(веб интерфейса), находим настройки DHCP сервера(на роутере) и ставим автоматическую раздачу айпи с 192.168.0.3 по 192.168.0.255 и подмаску 255.255.255.0(везде где надо будет ее вводить ставить таковую не ошибетесь)</p>
<p>5) Заходим на нашей машинке в сетевые соединения и находим WIMAX соединение. Заходим в свойства и ставим галочку на &#8220;раздать интернет на другие машины&#8221;. Теперь заходим в сетевое соединение(от сетевухи к роутеру), находим протокол TCP/IP и в свойствах онного задаем IP машинки 192.168.0.2. Теперь эта машинка шлюз к интернету.</p>
<p>6) Врубаем вай-фай на ноуте и подключаемся к роутеру. Наслаждаемсо инетом.</p>
<p>Бывает что винда не видет шлюза(192.168.0.2). В таком случае нужно зайти в настройки сетевого подлючения и прописать маршрут, шлюз и dns на 192.168.0.2. После этого инет вернеться</p>
<p>7) Если вы подключены к роутеру через кабель, то нужно зайти в настройки сетевого подлючения и прописать маршрут, шлюз и dns на 192.168.0.2</p>
<p>Именно такая конфигурация стоит сейчас у меня дома. Так как к сожалению в округе кроме Воли нифига нет. Скорость на Freshtel 10мбит/сек закачка и 3.5мбит/сек отдача + это реально анлим.</p>
<p>Вообщем для тех у кого рядом нет нормального инета рекомендую.</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/freshtel-%d0%bf%d0%be%d0%b4-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Error OS 10048</title>
		<link>http://creotiv.in.ua/apache-error-os-10048/</link>
		<comments>http://creotiv.in.ua/apache-error-os-10048/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 17:03:59 +0000</pubDate>
		<dc:creator>Андрей Никишаев</dc:creator>
				<category><![CDATA[Настройка сервера]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[make_sock]]></category>
		<category><![CDATA[os 10048]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://creotiv.in.ua/?p=24</guid>
		<description><![CDATA[Очень каверзная ошибка]]></description>
			<content:encoded><![CDATA[<p>Млин.. это полная Жопа. Сегодня пол дня не мог вкурить с какого вдруг рака Апач не захотел подыматся под виндой. Это сьело мой мозг.. но решение всетаки было найдено)) УРА!<br />
Так как понимаю что я могу быть не одним таким невнимательным пишу вот сюда, то что узнал и нашел))</p>
<p><strong>При запуске апач матюкался следующим образом:</strong><br />
<em>&#8220;(OS 10048)╬с√ўэю ЁрчЁх°рхЄё  юфэю шёяюы№чютрэшх рфЁхёр ёюъхЄр (яЁюЄюъюы/ёхЄхтющ</em></p>
<div><em>рфЁхё/яюЁЄ).  : make_sock: could not bind to address 0.0.0.0:80</em></div>
<div><em>no listening sockets available, shutting down</em></div>
<p><em>Unable to open logs&#8221;</em></p>
<p>Если вы видите у себя что то подобное(при запуске через шел, через Апачи монитор этого не покажет), то у вас могут быть следующие траблы:<br />
1) У вас стоит уже какойто сервер на 80 порту.<br />
2) У вас поселился вирусик который занял 80 порт и там себе живет.<br />
3) Вирус мог повредить Winsock2 и его нужно заменить.<br />
4) У вас не установлен SP1 для XP.<br />
5) Ваш антивирус блокирует сервер(особенно Virus Scan from McAffee).<br />
6) Ваш фарвол блокирует сервер.<br />
7) Возможно вам нужно вписать в конце файла httpd.conf   &#8220;<strong>Win32DisableAcceptEx on</strong>&#8221;<br />
8) И самое пиздаватое, ибо зачастую незаметно. При установке Skype, он автоматически занимает 80 и 443 порты. Для решение сего, нужно убрать галочку в Настройки-&gt;соединение &#8220;использовать порты 80 и 433 как стандартные&#8221;.</p>
<p>Разработчикам Skype: Господа, я хочу что бы ваша кончина была долгой, мучительной и общественной. Потому как нужно быть ну полным сцуко мудаком, что бы ставить эту опцию по дефолту.</p>
]]></content:encoded>
			<wfw:commentRss>http://creotiv.in.ua/apache-error-os-10048/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
