<?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>ardlian.net &#187; server</title>
	<atom:link href="http://ardlian.net/category/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://ardlian.net</link>
	<description>just another think of me</description>
	<lastBuildDate>Wed, 25 Nov 2009 08:40:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automatic Backup With Rsync And Cron On Ubuntu</title>
		<link>http://ardlian.net/2009/11/automatic-backup-with-rsync-and-cron-on-ubuntu/</link>
		<comments>http://ardlian.net/2009/11/automatic-backup-with-rsync-and-cron-on-ubuntu/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:03:29 +0000</pubDate>
		<dc:creator>ardlian</dc:creator>
				<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://ardlian.net/?p=246</guid>
		<description><![CDATA[

Keeping a directory automatically backed up somewhere is always useful. Every few months this is needed on one machine or another. Here are the steps:

First set up ssh keys so passwords are no longer needed.

Test things by verifying a ’ssh user@yourserver.com’ does require a password.
Make some ssh keys on your client and then move the [...]]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p>Keeping a directory automatically backed up somewhere is always useful. Every few months this is needed on one machine or another. Here are the steps:</p>
<ol>
<li>First set up ssh keys so passwords are no longer needed.
<ol>
<li>Test things by verifying a ’ssh user@yourserver.com’ does require a password.</li>
<li>Make some ssh keys on your client and then move the public key to the server
<ol>
<li>cd ~/.ssh</li>
<li>ls</li>
<li>ssh-keygen -t dsa (Keep the defaults by just pressing enter a few times.)</li>
<li>scp id_dsa.pub user@yoursever.com:.ssh/</li>
</ol>
</li>
<li>Now set things right on the server
<ol>
<li>ssh user@yourserver.com</li>
<li>cd ~/.ssh</li>
<li>cat id_dsa.pub &gt;&gt; authorized_keys</li>
<li>rm id_dsa.pub</li>
<li>exit</li>
</ol>
</li>
<li>Test things by verifying a ’ssh user@yourserver.com’ no longer requires a password.</li>
</ol>
</li>
<li>Determine the directory to be backed up and where it will be backed up and test the command to be used.
<ol>
<li>time rsync -atvz ~/local-directory-of-your-choosing/ user@youserver.com:remote-directory-of-your-choosing/</li>
<li>log in the server and verify the files are there…</li>
</ol>
</li>
<li>Put the command in cron. Because cron is broken in ubuntu you can’t simply do “crontab -e” anylonger. (How can something so basic be broken?!) Instead follow these instructions:
<ol>
<li>vi ~/some_file and put in the cron commands</li>
<li>@hourly rsync -atvz ~/local-directory-of-your-choosing/ user@youserver.com:remote-directory-of-your-choosing/</li>
<li>crontab ~/some_file</li>
<li>crontab -l</li>
</ol>
</li>
</ol>
<p>Now simply test it out…</p>
<blockquote><p>Sumber :</p>
<p>http://ioconnor.wordpress.com/2009/07/25/automatic-backup-with-rsync-and-cron-on-ubuntu/</p></blockquote>
</div>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ardlian.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ardlian.net/2009/11/automatic-backup-with-rsync-and-cron-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Membuat startup scripts on ubuntu</title>
		<link>http://ardlian.net/2008/10/membuat-startup-scripts-on-ubuntu/</link>
		<comments>http://ardlian.net/2008/10/membuat-startup-scripts-on-ubuntu/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 06:48:42 +0000</pubDate>
		<dc:creator>ardlian</dc:creator>
				<category><![CDATA[server]]></category>
		<category><![CDATA[server ubuntu startup scripts]]></category>

		<guid isPermaLink="false">http://ardlian.wordpress.com/?p=107</guid>
		<description><![CDATA[untuk membuat skrip yang akan di load otomatos saat start up pada ubuntu:

buatlah script yang anda butuhkan, dan pastikan script tersebut di awali dengan &#8220;#!/bin/bash&#8220;.
Buat script tersebut executable, dengan perintah &#8220;sudo chmod +x &#60;nama file&#62;&#8220;
kopikan script tersebut ke &#8220;/etc/init.d./&#8220;
langkah terakhir jalankan update-rc.d dengan command, &#8220;sudo update-rc.d &#60;nama filr&#62; defaults&#8220;.

untuk membuang file agar tidak di jalankan [...]]]></description>
			<content:encoded><![CDATA[<p>untuk membuat skrip yang akan di load otomatos saat start up pada ubuntu:</p>
<ol>
<li>buatlah script yang anda butuhkan, dan pastikan script tersebut di awali dengan &#8220;<em>#!/bin/bash</em>&#8220;.</li>
<li>Buat script tersebut executable, dengan perintah &#8220;<em>sudo chmod +x &lt;nama file&gt;</em>&#8220;</li>
<li>kopikan script tersebut ke &#8220;<em>/etc/init.d./</em>&#8220;</li>
<li>langkah terakhir jalankan update-rc.d dengan command, &#8220;<em>sudo update-rc.d &lt;nama filr&gt; defaults</em>&#8220;.</li>
</ol>
<p>untuk membuang file agar tidak di jalankan saat booting:</p>
<ol>
<li>delet file tersebut, &#8220;<em>sudo rm /etc/init.d/nama_file</em>&#8220;</li>
<li>kemudian jalan kan perintah &#8220;<em>sudo update-rc.d &lt;fnama_file&gt; remove</em>&#8220;</li>
</ol>
<p>Lihat videonya <a href="http://www.youtube.com/watch?v=d39izaupvEg">disini</a>.</p>
<p>salam</p>
<p>Ardlian</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ardlian.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ardlian.net/2008/10/membuat-startup-scripts-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
