<?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>Apache &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/category/webservers/apache/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Sun, 22 Oct 2023 18:19:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Configure apache solr with tomcat</title>
		<link>https://arunns.net/configure-apache-solr-with-tomcat/</link>
					<comments>https://arunns.net/configure-apache-solr-with-tomcat/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Fri, 03 May 2013 20:42:58 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache solr]]></category>
		<category><![CDATA[apache solr tomcat 6]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=755</guid>

					<description><![CDATA[Install tomcat $ sudo yum install tomcat6 Download and extract apache solr : http://lucene.apache.org/solr/ $ cp apache-solr-3.6.2.war /var/lib/tomcat6/webapps/solr.war $ cp -r /data/apache-solr-3.6.2/example/solr /var/lib/tomcat6/ $ cat /etc/tomcat6/Catalina/localhost/solr.xml $ chown -R tomcat: /var/lib/tomcat6/solr/ $ sudo service tomcat6 restart Access url : http://&#60;server_name/ip&#62;:8080/solr/admin]]></description>
										<content:encoded><![CDATA[<p>Install tomcat</p>
<blockquote><p>$ sudo yum install tomcat6</p></blockquote>
<p>Download and extract apache solr : http://lucene.apache.org/solr/</p>
<blockquote><p>
$ cp apache-solr-3.6.2.war /var/lib/tomcat6/webapps/solr.war<br />
$ cp -r /data/apache-solr-3.6.2/example/solr /var/lib/tomcat6/</p>
<p>$ cat /etc/tomcat6/Catalina/localhost/solr.xml<br />
$ chown -R tomcat: /var/lib/tomcat6/solr/<br />
$ sudo service tomcat6 restart</p></blockquote>
<p>Access url : http://&lt;server_name/ip&gt;:8080/solr/admin</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/configure-apache-solr-with-tomcat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Create CSR and implement in apache</title>
		<link>https://arunns.net/creating-csr-and-implement-in-apache/</link>
					<comments>https://arunns.net/creating-csr-and-implement-in-apache/#comments</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Wed, 03 Apr 2013 19:56:21 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Creating CSR and implement in apache]]></category>
		<category><![CDATA[CSR]]></category>
		<category><![CDATA[generate CSR]]></category>
		<category><![CDATA[implement verisign certificate in apache]]></category>
		<category><![CDATA[intermediate certificate]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=746</guid>

					<description><![CDATA[These steps are used to generate a CSR to get the SSL certificate signed with verisign. The filenames used are just examples. $ /usr/bin/openssl genrsa -rand /dev/urandom -out &#60;web_root&#62;/domain_name.key 2048 $ /usr/bin/openssl req -new -key &#60;web_root&#62;/domain_name.key -out &#60;web_root&#62;/domain_name.csr Country Name (2 letter code) [GB]: State or Province Name (full name) [Berkshire]: Locality Name (eg, city) [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>These steps are used to generate a CSR to get the SSL certificate signed with verisign. The filenames used are just examples.</p>
<blockquote><p>$ /usr/bin/openssl genrsa -rand /dev/urandom -out &lt;web_root&gt;/domain_name.key 2048<br />
$ /usr/bin/openssl req -new -key &lt;web_root&gt;/domain_name.key -out &lt;web_root&gt;/domain_name.csr</p>
<p>Country Name (2 letter code) [GB]:<br />
State or Province Name (full name) [Berkshire]:<br />
Locality Name (eg, city) [Newbury]:<br />
Organization Name (eg, company) [My Company Ltd]:<br />
Organizational Unit Name (eg, section) []:<br />
Common Name (eg, your name or your server&#8217;s hostname) []:&lt;make sure it matches exactly with your domain&gt;<br />
Email Address []:</p></blockquote>
<p>Create the certificate without passphrase if you dont want passphrase to be prompted for every webserver restart.</p>
<p>Upload the CSR to the Certificate Authority and get the signed certificate and save it as domain_name.crt. If it is from verisign get both intermediate certificates and add it to a file (eg: intermediate.ca.crt)</p>
<p>In virtual host configuration</p>
<blockquote><p>SSLEngine on</p>
<p>SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:+EXP:!EXP-EDH-RSA-DES-CBC-SHA:!EXP-DES-CBC-SHA!EXP-RC2-CBC-MD5!EXP-RC4-MD5</p>
<p>SSLCertificateFile &lt;web_root&gt;/domain_name.crt</p>
<p>SSLCertificateKeyFile &lt;web_root&gt;/domain_name.key</p>
<p>SSLCACertificateFile &lt;web_root&gt;/intermediate.ca.crt</p></blockquote>
<p>Restart webservice and verify the certificate, you may use the verisign cert checker (https://ssl-tools.verisign.com/#certChecker)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/creating-csr-and-implement-in-apache/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Racktable, Apache+LDAP authentication</title>
		<link>https://arunns.net/racktable-apacheldap-authentication/</link>
					<comments>https://arunns.net/racktable-apacheldap-authentication/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 14 Jun 2011 12:59:21 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Racktables]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=537</guid>

					<description><![CDATA[Login to the Rack tables as admin: Add the following line under configuration&#8211;&#62; permission allow {$tab_default} * This is for read only account, assign extra permissions if required Configure Apache + LDAP &#60; Directory /var/www/racktables &#62; Options +Indexes FollowSymLinks MultiViews DirectoryIndex index.php AuthName "Rack Tables" AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPURL "ldaps://ldaphost.com/dc=company,dc=com?uid?sub?(objectClass=&#60; depends_on_ldap &#62;)" [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Login to the Rack tables as admin:</strong></p>
<p>Add the following line under configuration&#8211;&gt; permission</p>
<blockquote><p><code>allow {$tab_default}</code></p></blockquote>
<p>* This is for read only account, assign extra permissions if required</p>
<p><strong>Configure Apache + LDAP</strong></p>
<blockquote><p><code> &lt; Directory /var/www/racktables &gt;<br />
Options +Indexes FollowSymLinks MultiViews<br />
DirectoryIndex index.php<br />
AuthName "Rack Tables"<br />
AuthType Basic<br />
AuthBasicProvider ldap<br />
AuthzLDAPAuthoritative on<br />
AuthLDAPURL "ldaps://ldaphost.com/dc=company,dc=com?uid?sub?(objectClass=&lt; depends_on_ldap &gt;)"</code></p>
<p><code> </code></p>
<p><code> # Bind if required<br />
AuthLDAPBindDN  "uid=userid,ou=people,dc=company,dc=com"<br />
AuthLDAPBindPassword "xxxxxx"<br />
AuthLDAPGroupAttribute uniqueMember<br />
AuthLDAPGroupAttributeIsDN on<br />
require ldap-group cn=group_name,dc=company,dc=com<br />
require ldap-attribute cn=group-name-allowed<br />
&lt; /Directory &gt;</code></p></blockquote>
<p><em>* Most of LDAP configs based on your setup</em></p>
<p><strong>Configure Rack Tables:</strong></p>
<p><strong> </strong>Edit the inc/secret.php</p>
<p>Set :</p>
<blockquote><p><code>$user_auth_src = 'httpd';<br />
$require_local_account = FALSE;</code></p></blockquote>
<p><strong> </strong><em>NOTE: to get the logout working properly make sure the Apache AuthName matches with the one configured for Rack tables authentication.</em></p>
<p><strong> </strong><strong> </strong>Referene : <a href="http://sourceforge.net/apps/mediawiki/racktables/index.php?title=RackTablesAdminGuide" target="_blank" rel="noopener">http://sourceforge.net/apps/mediawiki/racktables/index.php?title=RackTablesAdminGuide</a></p>
<p>Reference</p>
<p><strong> </strong>./arun</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/racktable-apacheldap-authentication/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Enable IPv6 on Linux (2010)</title>
		<link>https://arunns.net/enable-ipv6-on-linux/</link>
					<comments>https://arunns.net/enable-ipv6-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 09 Mar 2010 14:09:55 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=242</guid>

					<description><![CDATA[IPv6 is the future of internet addressing, and Linux, with its robust kernel support, makes it remarkably easy to enable IPv6 on your system. In this guide, we&#8217;ll explore the process of setting up IPv6 on a Linux system, with a focus on Red Hat Linux. However, the principles and steps discussed here are applicable [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>IPv6 is the future of internet addressing, and Linux, with its robust kernel support, makes it remarkably easy to enable IPv6 on your system. In this guide, we&#8217;ll explore the process of setting up IPv6 on a Linux system, with a focus on Red Hat Linux. However, the principles and steps discussed here are applicable to all Linux distributions. By the end of this guide, you&#8217;ll have a clear understanding of how to configure and utilize IPv6 effectively.</p>
<p><strong>Step 1: Ensure IPv6 Support in the Kernel</strong></p>
<p>Before diving into the configuration, you need to confirm that IPv6 support is enabled in your kernel. Most modern kernels have IPv6 support enabled by default. However, it&#8217;s always a good idea to double-check.</p>
<ul>
<li>To do this, open the file <code>/etc/modprobe.conf</code> and comment out the following lines if they exist:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">#alias ipv6 off<br />
</code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">#alias net-pf-10 off<br />
</code></div>
</div>
<p><strong>Step 2: Enable IPv6 Networking</strong></p>
<p>The next step is to enable IPv6 networking. To do this:</p>
<ul>
<li>Open the file <code>/etc/sysconfig/network</code>.</li>
<li>Add or modify the following line to read:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">NETWORKING_IPV6=yes<br />
</code></div>
</div>
<p><strong>Step 3: Configure the IPv6 Address</strong></p>
<p>To configure your IPv6 address:</p>
<ul>
<li>Edit the appropriate network configuration file. For example, if you&#8217;re using Ethernet, you would typically edit <code>/etc/sysconfig/network-scripts/ifcfg-eth0</code>. If you&#8217;re using bond interfaces, the same principles apply.</li>
<li>Add or modify the following lines to specify your IPv6 address details:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6INIT=yes<br />
</code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6ADDR=your_ipv6_address<br />
IPV6ADDR_SECONDARIES=any_additional_ipv6_addresses<br />
IPV6_DEFAULTGW=your_ipv6_gateway </code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6_AUTOCONF=yes/no<br />
</code></div>
</div>
<p><strong>Step 4: Restart the Network</strong></p>
<p>After making these changes, restart your network to apply the new IPv6 configurations. Your system should now be assigned an IPv6 address, and you&#8217;ll be ready to utilize IPv6 networking.</p>
<p><strong>Step 5: Software Configuration</strong></p>
<p>Most Linux software works seamlessly with IPv6. However, for certain services like Apache, you may need to make some adjustments. For Apache, ensure you do the following:</p>
<ul>
<li>Add the IPv6 listen address to your Apache configuration.</li>
<li>Enable name virtual host for IPv6 addresses if necessary.</li>
</ul>
<p><strong>Step 6: Testing IPv6 Connectivity</strong></p>
<p>You can verify your IPv6 connectivity by using the <code>ping6</code> command. For instance, to test your connection to Google&#8217;s IPv6 address, you can run:</p>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">bash</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ ping6 ipv6.google.com<br />
</code></div>
</div>
<p>This command will help you confirm that your system is effectively communicating over IPv6.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/enable-ipv6-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
