<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Service on Rishav's Digital Garden</title><link>https://blog.rishavs.in/tags/service/</link><description>Recent content in Service on Rishav's Digital Garden</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 15 May 2025 17:37:00 +0000</lastBuildDate><atom:link href="https://blog.rishavs.in/tags/service/index.xml" rel="self" type="application/rss+xml"/><item><title>NFS</title><link>https://blog.rishavs.in/posts/nfs/</link><pubDate>Thu, 15 May 2025 17:37:00 +0000</pubDate><guid>https://blog.rishavs.in/posts/nfs/</guid><description>&lt;p>Install &lt;code>nfs-kernel-server&lt;/code>&lt;/p>
&lt;p>&lt;code>mkdir ~/Public&lt;/code>&lt;/p>
&lt;p>Export the rootfs folder&lt;/p>
&lt;p>Add the following entry to &lt;code>/etc/exports&lt;/code>:&lt;/p>
&lt;pre tabindex="0">&lt;code>/home/rishav/Public *(rw,async,nohide,insecure,no_root_squash,no_subtree_check)
&lt;/code>&lt;/pre>&lt;p>Update the NFS server&amp;rsquo;s exports&lt;/p>
&lt;pre tabindex="0">&lt;code>sudo exportfs -arv
&lt;/code>&lt;/pre>&lt;p>Make the NFS server serve over UDP
Add the following to &lt;code>/etc/nfs.conf&lt;/code>&lt;/p>
&lt;pre tabindex="0">&lt;code>[nfsd]
udp=y
vers2=y
&lt;/code>&lt;/pre>&lt;p>Restart the NFS server&lt;/p>
&lt;pre tabindex="0">&lt;code>systemctl restart nfs-server.service
&lt;/code>&lt;/pre></description></item><item><title>Format Comparison</title><link>https://blog.rishavs.in/posts/format-comparison/</link><pubDate>Wed, 07 Aug 2024 09:37:00 +0000</pubDate><guid>https://blog.rishavs.in/posts/format-comparison/</guid><description>&lt;h2 id="compression-format-comparison">Compression Format Comparison&lt;/h2>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Format&lt;/th>
&lt;th>Compression Ratio&lt;/th>
&lt;th>Speed (Compression/&lt;br>Decompression)&lt;/th>
&lt;th>Encryption&lt;/th>
&lt;th>Speciality/Uniqueness&lt;/th>
&lt;th>Open Source/ License&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>gz (&lt;code>.gz&lt;/code>)&lt;/td>
&lt;td>Moderate&lt;/td>
&lt;td>Fast / Fast&lt;/td>
&lt;td>No native (use &lt;code>gpg&lt;/code>)&lt;/td>
&lt;td>Widely supported and fast for most general uses.&lt;/td>
&lt;td>Yes&lt;br>GNU GPL&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>bzip2 (&lt;code>.bz2&lt;/code>)&lt;/td>
&lt;td>Better than gzip&lt;/td>
&lt;td>Slow / Moderate&lt;/td>
&lt;td>No native (use &lt;code>gpg&lt;/code>)&lt;/td>
&lt;td>Higher compression ratio and robust error detection.&lt;/td>
&lt;td>Yes&lt;br>BSD&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>xz (&lt;code>.xz&lt;/code>)&lt;/td>
&lt;td>Best&lt;/td>
&lt;td>Very slow / Fast&lt;/td>
&lt;td>No native (use &lt;code>gpg&lt;/code>)&lt;/td>
&lt;td>Highest compression ratio; slow compression speed.&lt;/td>
&lt;td>Yes&lt;br>GNU GPL&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>zip (&lt;code>.zip&lt;/code>)&lt;/td>
&lt;td>Moderate&lt;/td>
&lt;td>Fast / Fast&lt;/td>
&lt;td>Built-in encryption&lt;/td>
&lt;td>Commonly used with built-in encryption and wide software support.&lt;/td>
&lt;td>Yes&lt;br>Various (Info-ZIP)&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>tar (&lt;code>.tar&lt;/code>)&lt;/td>
&lt;td>Depends on method&lt;/td>
&lt;td>Fast (archive only) / Fast (archive only)&lt;/td>
&lt;td>No native (use &lt;code>gpg&lt;/code>)&lt;/td>
&lt;td>Primarily used for archiving; compression depends on additional tools.&lt;/td>
&lt;td>Yes&lt;br>GNU GPL&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>7z (&lt;code>.7z&lt;/code>)&lt;/td>
&lt;td>Excellent&lt;/td>
&lt;td>Moderate / Slow at high settings&lt;/td>
&lt;td>AES-256 encryption&lt;/td>
&lt;td>Excellent compression with advanced encryption options.&lt;/td>
&lt;td>Yes&lt;br>LGPL&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>rar (&lt;code>.rar&lt;/code>)&lt;/td>
&lt;td>Good&lt;/td>
&lt;td>Moderate / Moderate&lt;/td>
&lt;td>AES-256 encryption&lt;/td>
&lt;td>Includes error recovery and strong encryption; proprietary format.&lt;/td>
&lt;td>No&lt;br>Proprietary&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>lzma (&lt;code>.lzma&lt;/code>)&lt;/td>
&lt;td>Very high&lt;/td>
&lt;td>Very slow / Moderate&lt;/td>
&lt;td>No native (use &lt;code>gpg&lt;/code>)&lt;/td>
&lt;td>High compression ratio with reliable decompression; requires separate decompressor.&lt;/td>
&lt;td>Yes&lt;br>GNU GPL&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="key-points">Key Points&lt;/h2>
&lt;ul>
&lt;li>&lt;code>gz (.gz)&lt;/code>: Well-rounded for speed and compatibility, commonly used for general purposes.&lt;/li>
&lt;li>&lt;code>bzip2 (.bz2)&lt;/code>: Provides a higher compression ratio compared to gzip, though slower.&lt;/li>
&lt;li>&lt;code>xz (.xz)&lt;/code>: Offers the best compression ratio but at the cost of slower compression speed.&lt;/li>
&lt;li>&lt;code>zip (.zip)&lt;/code>: Convenient with built-in encryption and broad compatibility.&lt;/li>
&lt;li>&lt;code>tar (.tar)&lt;/code>: Primarily an archiving format; often used in combination with other compression methods.&lt;/li>
&lt;li>&lt;code>7z (.7z)&lt;/code>: Excellent compression and strong encryption; requires specific software for full support.&lt;/li>
&lt;li>&lt;code>rar (.rar)&lt;/code>: Known for robust recovery features and encryption, but is proprietary.&lt;/li>
&lt;li>&lt;code>lzma (.lzma)&lt;/code>: Delivers a high compression ratio and reliable decompression, though it’s slow.&lt;/li>
&lt;/ul></description></item></channel></rss>