<?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>postIt &#187; config</title>
	<atom:link href="https://lakm.us/postit/tag/config/feed/" rel="self" type="application/rss+xml" />
	<link>https://lakm.us/postit</link>
	<description>Post-It sticky notes with PasteBin sense</description>
	<lastBuildDate>Thu, 02 Jan 2025 01:33:57 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.18</generator>
	<item>
		<title>Check apache2 enabled modules:


$ su &#8230;</title>
		<link>https://lakm.us/postit/2013/02/check-apache2-enabled-modules-su/</link>
		<comments>https://lakm.us/postit/2013/02/check-apache2-enabled-modules-su/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 10:31:19 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2013/02/check-apache2-enabled-modules-su/</guid>
		<description><![CDATA[Check apache2 enabled modules: $ sudo apache2ctl -M Loaded Modules: core_module &#40;static&#41; log_config_module &#40;static&#41; logio_module &#40;static&#41; mpm_prefork_module &#40;static&#41; ... mod_rewrite (rewrite_module usually manipulated in .htaccess) and ssl (for HTTPS) for examples aren&#8217;t enabled by default in Ubuntu&#8217; installation of apache2. Enable one or more of them via: $ sudo a2enmod]]></description>
				<content:encoded><![CDATA[<p>Check <code>apache2</code> enabled modules:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apache2ctl</span> <span style="color: #660033;">-M</span>
Loaded Modules:
 core_module <span style="color: #7a0874; font-weight: bold;">&#40;</span>static<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 log_config_module <span style="color: #7a0874; font-weight: bold;">&#40;</span>static<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 logio_module <span style="color: #7a0874; font-weight: bold;">&#40;</span>static<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 mpm_prefork_module <span style="color: #7a0874; font-weight: bold;">&#40;</span>static<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 ...</pre></td></tr></table></div>

<p><code>mod_rewrite</code> (<code>rewrite_module</code> usually manipulated in <code>.htaccess</code>) and <code>ssl</code> (for HTTPS) for examples aren&#8217;t enabled by default in Ubuntu&#8217; installation of <code>apache2</code>.</p>
<p>Enable one or more of them via:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2013/02/check-apache2-enabled-modules-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Single permanent IP (up on boot) on one  &#8230;</title>
		<link>https://lakm.us/postit/2010/06/single-permanent-ip-up-on-boot-on-one/</link>
		<comments>https://lakm.us/postit/2010/06/single-permanent-ip-up-on-boot-on-one/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 04:47:44 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://xp-racy.lan/postit/?p=98</guid>
		<description><![CDATA[Single permanent IP (up on boot) on one interface: /etc/inet/hosts content: # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.40.91 cxnode01 .cxnode01 loghost 192.168.40.92 cxnode02 The interface where you want to bind the above ip: /etc/hostname.e1000g2 containing cxnode01]]></description>
				<content:encoded><![CDATA[<p>Single permanent IP (up on boot) on one interface:<br />
</code>/etc/inet/hosts</code> content:<br />
<code>#<br />
# Internet host table<br />
#<br />
::1     localhost<br />
127.0.0.1       localhost<br />
<b>192.168.40.91   cxnode01</b>        .cxnode01       loghost<br />
192.168.40.92   cxnode02</code></p>
<p>The interface where you want to bind the above ip:  <code>/etc/hostname.<b>e1000g2</b></code> containing<br />
<code><b>cxnode01</b></code></p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2010/06/single-permanent-ip-up-on-boot-on-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling mod_rewrite in Apache:

$ sud &#8230;</title>
		<link>https://lakm.us/postit/2010/05/enabling-mod_rewrite-in-apache-sud/</link>
		<comments>https://lakm.us/postit/2010/05/enabling-mod_rewrite-in-apache-sud/#comments</comments>
		<pubDate>Thu, 06 May 2010 02:59:23 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[config]]></category>

		<guid isPermaLink="false">http://xp-racy.lan/postit/?p=90</guid>
		<description><![CDATA[Enabling mod_rewrite in Apache: $ sudo cp /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ and restart Apache. This also may need editing /etc/apache2/sites-available/default to AllowOverride all: &#60;virtualHost *:80&#62; ServerAdmin webmaster@localhost &#160; DocumentRoot /var/www &#60;directory /&#62; Options FollowSymLinks AllowOverride all]]></description>
				<content:encoded><![CDATA[<p>Enabling <code>mod_rewrite<code> in Apache:</p>
<p><code>$ sudo cp /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/</code></p>
<p>and restart Apache. This also may need editing <code>/etc/apache2/sites-available/default</code> to <code>AllowOverride all</code>:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>virtualHost <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">80</span><span style="color: #000000; font-weight: bold;">&gt;</span>
        ServerAdmin webmaster<span style="color: #000000; font-weight: bold;">@</span>localhost
&nbsp;
        DocumentRoot <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
        <span style="color: #000000; font-weight: bold;">&lt;</span>directory <span style="color: #000000; font-weight: bold;">/&gt;</span>
                Options FollowSymLinks
                AllowOverride all</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2010/05/enabling-mod_rewrite-in-apache-sud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To run AT+command to my modem (HSDPA Hua &#8230;</title>
		<link>https://lakm.us/postit/2010/04/to-run-atcommand-to-my-modem-hsdpa-hua/</link>
		<comments>https://lakm.us/postit/2010/04/to-run-atcommand-to-my-modem-hsdpa-hua/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 03:29:40 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[MODEM]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://xp-racy.lan/postit/?p=65</guid>
		<description><![CDATA[To run AT+command to my modem (HSDPA Huawei E220), the software must be configured 115200 bps, 8 bits, stop bit 1, parity none, hardware handshake. I use Cutecom or minicom.]]></description>
				<content:encoded><![CDATA[<p>To run AT+command to my modem (HSDPA Huawei E220), the software must be configured 115200 bps, 8 bits, stop bit 1, parity none, hardware handshake.</p>
<p>I use Cutecom or minicom.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2010/04/to-run-atcommand-to-my-modem-hsdpa-hua/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change hostname etc.


/etc/hosts
/e &#8230;</title>
		<link>https://lakm.us/postit/2010/04/change-hostname-etc-etchostse/</link>
		<comments>https://lakm.us/postit/2010/04/change-hostname-etc-etchostse/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 13:13:17 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://xp-racy.lan/postit/?p=62</guid>
		<description><![CDATA[Change hostname etc. /etc/hosts /etc/nodenames /etc/hostname.[device] /etc/defaultrouter /etc/defaultdomain /etc/nodename]]></description>
				<content:encoded><![CDATA[<p>Change hostname etc.</p>
<p><code><br />
/etc/hosts<br />
/etc/nodenames<br />
/etc/hostname.[device]<br />
/etc/defaultrouter<br />
/etc/defaultdomain<br />
/etc/nodename<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2010/04/change-hostname-etc-etchostse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After installation in Ubuntu, snmp will  &#8230;</title>
		<link>https://lakm.us/postit/2010/03/after-installation-in-ubuntu-snmp-will/</link>
		<comments>https://lakm.us/postit/2010/03/after-installation-in-ubuntu-snmp-will/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:52:17 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://xp-racy.lan/postit/?p=28</guid>
		<description><![CDATA[After installation in Ubuntu, snmp will run as follow: $ ps -ef &#124; grep snmp snmp 9879 1 0 09:58 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1 Omitting 127.0.0.1 from /etc/default/snmpd: 8 SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid' will allow other host to listen to ours.]]></description>
				<content:encoded><![CDATA[<p>After installation in Ubuntu, snmp will run as follow:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> snmp
snmp      <span style="color: #000000;">9879</span>     <span style="color: #000000;">1</span>  <span style="color: #000000;">0</span> 09:<span style="color: #000000;">58</span> ?        00:00:00 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>snmpd <span style="color: #660033;">-Lsd</span> <span style="color: #660033;">-Lf</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #660033;">-u</span> snmp <span style="color: #660033;">-I</span> <span style="color: #660033;">-smux</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>snmpd.pid 127.0.0.1</pre></td></tr></table></div>

<p>Omitting 127.0.0.1 from <code>/etc/default/snmpd</code>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SNMPDOPTS</span>=<span style="color: #ff0000;">'-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'</span></pre></td></tr></table></div>

<p>will allow other host to listen to ours.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2010/03/after-installation-in-ubuntu-snmp-will/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
