<?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>login: root</title> <atom:link href="http://loginroot.com/feed/" rel="self" type="application/rss+xml" /><link>http://loginroot.com</link> <description>welcome</description> <lastBuildDate>Mon, 20 Feb 2012 17:33:44 +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>Creating debian template for lxc virtualization</title><link>http://loginroot.com/creating-debian-template-for-lxc-virtualization/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-debian-template-for-lxc-virtualization</link> <comments>http://loginroot.com/creating-debian-template-for-lxc-virtualization/#comments</comments> <pubDate>Mon, 20 Feb 2012 17:33:44 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[container]]></category> <category><![CDATA[create]]></category> <category><![CDATA[lxc]]></category> <category><![CDATA[template]]></category> <category><![CDATA[virtualization]]></category><guid
isPermaLink="false">http://loginroot.com/?p=312</guid> <description><![CDATA[To create debian template for lxc you need fresh copy of debian system. Well, we do have one installed recently on guruplug. All debian install on guruplug steps are here. So, lets archive all system to tar.gz. Firstly it&#8217;s a good practice to exclude unneeded files. Create /tmp/exclude file with this content: # cat /tmp/exclude [...]]]></description> <wfw:commentRss>http://loginroot.com/creating-debian-template-for-lxc-virtualization/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Adding bridge interface for lxc containers</title><link>http://loginroot.com/adding-bridge-interface-for-lxc-containers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-bridge-interface-for-lxc-containers</link> <comments>http://loginroot.com/adding-bridge-interface-for-lxc-containers/#comments</comments> <pubDate>Sat, 18 Feb 2012 11:54:18 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[br0]]></category> <category><![CDATA[bridge]]></category> <category><![CDATA[dhcp]]></category> <category><![CDATA[static]]></category><guid
isPermaLink="false">http://loginroot.com/?p=322</guid> <description><![CDATA[You can make a bridge by changing network configuration file: # cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). &#160; # The loopback network interface auto lo iface lo inet loopback &#160; # The primary network interface allow-hotplug eth0 [...]]]></description> <wfw:commentRss>http://loginroot.com/adding-bridge-interface-for-lxc-containers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Could not chdir to home directory /home/nsc: Permission denied /bin/bash: Permission denied Connection to 192.168.1.13 closed.</title><link>http://loginroot.com/could-not-chdir-to-home-directory-homensc-permission-denied-binbash-permission-denied-connection-to-192-168-1-13-closed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=could-not-chdir-to-home-directory-homensc-permission-denied-binbash-permission-denied-connection-to-192-168-1-13-closed</link> <comments>http://loginroot.com/could-not-chdir-to-home-directory-homensc-permission-denied-binbash-permission-denied-connection-to-192-168-1-13-closed/#comments</comments> <pubDate>Mon, 13 Feb 2012 08:14:25 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[chdir]]></category> <category><![CDATA[denied]]></category> <category><![CDATA[lxc]]></category> <category><![CDATA[permission]]></category> <category><![CDATA[permissions]]></category> <category><![CDATA[ssh]]></category><guid
isPermaLink="false">http://loginroot.com/?p=316</guid> <description><![CDATA[after creating lxc container, I wasn&#8217;t able to connect to it as a simple user. Also couldn&#8217;t change to simple user using &#8220;su&#8221;. All I got was an error: Could not chdir to home directory /home/nsc: Permission denied /bin/bash: Permission denied Connection to 192.168.1.13 closed. All permissions of home directory were correct, as to be [...]]]></description> <wfw:commentRss>http://loginroot.com/could-not-chdir-to-home-directory-homensc-permission-denied-binbash-permission-denied-connection-to-192-168-1-13-closed/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>sudo without password</title><link>http://loginroot.com/sudo-without-password/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sudo-without-password</link> <comments>http://loginroot.com/sudo-without-password/#comments</comments> <pubDate>Sun, 12 Feb 2012 13:27:18 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[centos]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[passwordless]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[visudo]]></category><guid
isPermaLink="false">http://loginroot.com/?p=319</guid> <description><![CDATA[This line should do the job: your_username ALL=(ALL) NOPASSWD: ALL You can edit sudoers file by entering command &#8220;visudo&#8221;.]]></description> <wfw:commentRss>http://loginroot.com/sudo-without-password/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>varnish+nginx as backend and real IP</title><link>http://loginroot.com/varnishnginx-as-backend-and-real-ip/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=varnishnginx-as-backend-and-real-ip</link> <comments>http://loginroot.com/varnishnginx-as-backend-and-real-ip/#comments</comments> <pubDate>Sun, 12 Feb 2012 12:50:13 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[centos]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[nginx]]></category> <category><![CDATA[varnish]]></category> <category><![CDATA[real ip]]></category> <category><![CDATA[real_ip_header]]></category> <category><![CDATA[server]]></category> <category><![CDATA[web]]></category> <category><![CDATA[X-Forwarded-For]]></category><guid
isPermaLink="false">http://loginroot.com/?p=310</guid> <description><![CDATA[With default config nginx all IP addresses shows as localhost. Here is configuration to show real client IP. Snippet from varnish config: sub vcl_pipe { set bereq.http.connection = &#34;close&#34;; if (req.http.X-Forwarded-For) { set bereq.http.X-Forwarded-For = req.http.X-Forwarded-For; } else { set bereq.http.X-Forwarded-For = regsub(client.ip, &#34;:.*&#34;, &#34;&#34;); } } sub vcl_pass { set bereq.http.connection = &#34;close&#34;; if [...]]]></description> <wfw:commentRss>http://loginroot.com/varnishnginx-as-backend-and-real-ip/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Replace string in all files using sed in linux</title><link>http://loginroot.com/replace-string-in-all-files-using-sed-in-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=replace-string-in-all-files-using-sed-in-linux</link> <comments>http://loginroot.com/replace-string-in-all-files-using-sed-in-linux/#comments</comments> <pubDate>Fri, 10 Feb 2012 18:08:03 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[linux]]></category> <category><![CDATA[replace]]></category> <category><![CDATA[sed]]></category> <category><![CDATA[text]]></category><guid
isPermaLink="false">http://loginroot.com/?p=303</guid> <description><![CDATA[Replaces all &#8220;OLDSTRING&#8221; to &#8220;NEWSTRING&#8221; in all files $ grep -rl OLDSTRING * &#124; sort &#124; uniq &#124; xargs sed -i -e ‘s/OLDSTRING/NEWSTRING/’ or using find: find */public_html/ -iname '*.php' -exec sed -i -e 's/OLDSTRING/NEWSTRING/' &#123;&#125; \;]]></description> <wfw:commentRss>http://loginroot.com/replace-string-in-all-files-using-sed-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing debian to guruplug SD card</title><link>http://loginroot.com/installing-debian-to-guruplug-sd-card/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-debian-to-guruplug-sd-card</link> <comments>http://loginroot.com/installing-debian-to-guruplug-sd-card/#comments</comments> <pubDate>Mon, 30 Jan 2012 21:43:00 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[guruplug]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[serial-console]]></category> <category><![CDATA[tftp]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[install]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[serial]]></category><guid
isPermaLink="false">http://loginroot.com/?p=253</guid> <description><![CDATA[Before installing debian, You need to prepare tftp server and connect to guruplug via serial console. Also You&#8217;ll need UTP cable for network connection and SD card for installing the base system. Lets prepare debian install. Download uImage and uInitrd images from debian site: ftp://ftp.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/ So, put those files to tftp server directory (on your [...]]]></description> <wfw:commentRss>http://loginroot.com/installing-debian-to-guruplug-sd-card/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Centos wordpress php-fpm + nginx + apc</title><link>http://loginroot.com/centos-wordpress-php-fpm-nginx-apc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centos-wordpress-php-fpm-nginx-apc</link> <comments>http://loginroot.com/centos-wordpress-php-fpm-nginx-apc/#comments</comments> <pubDate>Sat, 21 Jan 2012 09:47:32 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[apc]]></category> <category><![CDATA[atomic]]></category> <category><![CDATA[centos]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[nginx]]></category> <category><![CDATA[php-fpm]]></category> <category><![CDATA[php-apc]]></category> <category><![CDATA[php5.3]]></category><guid
isPermaLink="false">http://loginroot.com/?p=245</guid> <description><![CDATA[If you tired of having same old apache, and want something more fast and reliable, you can install nginx + php-fpm. Firstly you need to install new repo, to have ability to add those packages. And php-fpm works out of the box (without need to patch PHP) with version PHP 5.3. Official repository does not [...]]]></description> <wfw:commentRss>http://loginroot.com/centos-wordpress-php-fpm-nginx-apc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing uboot to guruplug server plus</title><link>http://loginroot.com/installing-uboot-to-guruplug-server-plus/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-uboot-to-guruplug-server-plus</link> <comments>http://loginroot.com/installing-uboot-to-guruplug-server-plus/#comments</comments> <pubDate>Thu, 19 Jan 2012 19:52:54 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[boot]]></category> <category><![CDATA[guruplug]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[serial-console]]></category> <category><![CDATA[tftp]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[boot image]]></category> <category><![CDATA[console]]></category> <category><![CDATA[development kit]]></category> <category><![CDATA[reinstall]]></category> <category><![CDATA[serial]]></category> <category><![CDATA[u-boot]]></category> <category><![CDATA[uboot]]></category> <category><![CDATA[usb]]></category><guid
isPermaLink="false">http://loginroot.com/?p=210</guid> <description><![CDATA[The first thing you have to do, is to read this: http://loginroot.com/disclaimer/ Before installing uboot to guruplug server plus you have to set few things. You have to be able to connect to Guruplug via serial connection. The second thing, is to have tftp server up and running. Also you need to have utp cable [...]]]></description> <wfw:commentRss>http://loginroot.com/installing-uboot-to-guruplug-server-plus/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Guruplug serial connection</title><link>http://loginroot.com/guruplug-serial-connection/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=guruplug-serial-connection</link> <comments>http://loginroot.com/guruplug-serial-connection/#comments</comments> <pubDate>Tue, 17 Jan 2012 21:11:06 +0000</pubDate> <dc:creator>nsc</dc:creator> <category><![CDATA[guruplug]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[serial-console]]></category> <category><![CDATA[connection]]></category> <category><![CDATA[development kit]]></category> <category><![CDATA[minicom]]></category> <category><![CDATA[serial]]></category> <category><![CDATA[server plus]]></category> <category><![CDATA[usb]]></category><guid
isPermaLink="false">http://loginroot.com/?p=196</guid> <description><![CDATA[If you cannot connect to guruplug for some reason via lan interface, for example sshd stopped running or just firewalled yourself out of it, you can connect to it using serial connection. When making order guruplug from original site , by adding few more bucks you can get development kit. For serial connection you need [...]]]></description> <wfw:commentRss>http://loginroot.com/guruplug-serial-connection/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 729/908 objects using memcached

Served from: loginroot.com @ 2012-02-23 02:01:04 -->
