<?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>[LINICKX].com &#187; redhat</title>
	<atom:link href="http://www.linickx.com/tag/redhat/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Thu, 17 May 2012 10:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CentOS/Redhat IPSEC and EC2</title>
		<link>http://www.linickx.com/3195/centosredhat-ipsec-and-ec2</link>
		<comments>http://www.linickx.com/3195/centosredhat-ipsec-and-ec2#comments</comments>
		<pubDate>Thu, 27 Jan 2011 20:17:54 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[IPSEC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=3195</guid>
		<description><![CDATA[So it turns out my 5 minute vpn doesn&#8217;t work in EC2 because the ESP/AH protocols (50 and 51) are blocked on the AWS network. This is no big deal tho, as NAT-T allows one to tunnel IPSEC over UDP&#8230; &#8230; <a href="http://www.linickx.com/3195/centosredhat-ipsec-and-ec2">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So it turns out my <a href="http://www.linickx.com/archives/3181/5-minute-centosrhel-vpn">5 minute vpn</a> doesn&#8217;t work in EC2 because the ESP/AH protocols (50 and 51) are blocked on the AWS network.</p>
<p>This is no big deal tho, as <a href="http://en.wikipedia.org/wiki/NAT-T">NAT-T</a> allows one to tunnel IPSEC over UDP&#8230; however getting it to work on CentOS required a bit of a hack.</p>
<p>If you have already tried setting up an IPSEC vpn, shut it down with <code>ifdown ipsec1</code> and remove your /etc/racoon/192.168.56.101.conf (<i>or whatever IP yours is</i>).</p>
<p>To start the hack on BOTH boxes, you need to edit /etc/sysconfig/network-scripts/ifup-ipsec. Around line 215 you need to insert <code> nat_traversal force;</code>&#8230; like this&#8230;.</p>
<p>BEFORE:</p>
<pre class="brush: bash; title: ; notranslate">
        case &quot;$IKE_METHOD&quot; in
           PSK)
              cat &gt;&gt; /etc/racoon/$DST.conf &lt;&lt; EOF
        my_identifier address;
        proposal {
                encryption_algorithm $IKE_ENC;
                hash_algorithm $IKE_AUTH;
                authentication_method pre_shared_key;
                dh_group $IKE_DHGROUP;
        }
}
</pre>
<p>AFTER:</p>
<pre class="brush: bash; title: ; notranslate">
        case &quot;$IKE_METHOD&quot; in
           PSK)
              cat &gt;&gt; /etc/racoon/$DST.conf &lt;&lt; EOF
        my_identifier address;
        nat_traversal force;
        proposal {
                encryption_algorithm $IKE_ENC;
                hash_algorithm $IKE_AUTH;
                authentication_method pre_shared_key;
                dh_group $IKE_DHGROUP;
        }
}
</pre>
<p>Again, on both boxes update your /etc/sysconfig/network-scripts/ifcfg-ipsec1 files so that AH is disabled&#8230; because AH doesn&#8217;t like NAT&#8230; like this&#8230;.</p>
<pre class="brush: bash; title: ; notranslate">

[root@CentOS2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ipsec1
DST=192.168.56.101
TYPE=IPSEC
ONBOOT=yes
IKE_METHOD=PSK
AH_PROTO=none
[root@CentOS2 ~]#
</pre>
<p>On your iptables policy make sure that UDP 500 and UDP 4500 are permitted and volia.</p>
<pre class="brush: plain; title: ; notranslate">
# tcpdump -n -i eth1 port not 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
20:26:49.257590 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xa), length 116
20:26:49.261076 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xa), length 116
20:26:50.260942 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xb), length 116
20:26:50.262939 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xb), length 116
20:26:51.261298 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xc), length 116
20:26:51.264974 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xc), length 116
20:26:52.262289 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xd), length 116
20:26:52.265488 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xd), length 116
20:26:53.264008 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xe), length 116
20:26:53.267003 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xe), length 116
20:26:54.265655 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0xf), length 116
20:26:54.267264 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0xf), length 116
20:26:55.267459 IP 192.168.56.101.ipsec-nat-t &gt; 192.168.56.102.ipsec-nat-t: UDP-encap: ESP(spi=0x08de7c32,seq=0x10), length 116
20:26:55.269678 IP 192.168.56.102.ipsec-nat-t &gt; 192.168.56.101.ipsec-nat-t: UDP-encap: ESP(spi=0x03787bd0,seq=0x10), length 116
14 packets captured
14 packets received by filter
0 packets dropped by kernel
#
</pre>
<p>IPSEC VPN Tunnelling over UDP&#8230;. done!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/3195/centosredhat-ipsec-and-ec2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RedHat Cluster &#8211; How to Disable Fencing</title>
		<link>http://www.linickx.com/3191/redhat-cluster-how-to-disable-fencing</link>
		<comments>http://www.linickx.com/3191/redhat-cluster-how-to-disable-fencing#comments</comments>
		<pubDate>Tue, 25 Jan 2011 19:37:06 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[fencing]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=3191</guid>
		<description><![CDATA[I&#8217;ve spent far too long googling how to disable fencing&#8230;. I can only guess that because you shouldn&#8217;t really disable fencing no-one wants to post a how to&#8230; so for the hard of hearing. Do NOT disable fencing on your &#8230; <a href="http://www.linickx.com/3191/redhat-cluster-how-to-disable-fencing">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent far too long googling how to disable fencing&#8230;. I can only guess that because you shouldn&#8217;t really disable fencing no-one wants to post a how to&#8230; so for the hard of hearing.</p>
<p><strong>Do NOT disable fencing on your RedHat Cluster unless you really know what you&#8217;re doing! Fencing is designed to protect your data from corruption, if you disable fencing your data is at RISK, you have been warned!</strong></p>
<p>I however am working on building a GFS DRBD cluster, as far as I can gather DRBD doesn&#8217;t need fencing, and the bottom line is my data is personal data not mission critical and if my website goes down due to my disabling fencing then it&#8217;s no big deal.</p>
<p>Rant over, here we go&#8230;.. To disable fencing, create a custom fence agent.</p>
<p>Fence agents are simply scripts in /sbin, I&#8217;ve created /sbin/myfence and here are the contents.</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
echo &quot;success: myfence $2&quot;
exit 0
</pre>
<p>Next, change your cluster.conf&#8230;</p>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;cluster alias=&quot;linickx&quot; config_version=&quot;41&quot; name=&quot;linickx&quot;&gt;
        &lt;cman expected_votes=&quot;1&quot; two_node=&quot;1&quot; /&gt;

        &lt;clusternodes&gt;
                &lt;clusternode name=&quot;CentOS1&quot; nodeid=&quot;1&quot; votes=&quot;1&quot;&gt;
                         &lt;fence&gt;
                                &lt;method name=&quot;1&quot;&gt;
                                        &lt;device nodename=&quot;CentOS1&quot; name=&quot;myfence&quot;/&gt;
                                &lt;/method&gt;
                        &lt;/fence&gt;
                &lt;/clusternode&gt;

                &lt;clusternode name=&quot;CentOS2&quot; nodeid=&quot;2&quot; votes=&quot;1&quot;&gt;
                        &lt;fence&gt;
                                &lt;method name=&quot;2&quot;&gt;
                                        &lt;device nodename=&quot;CentOS2&quot; name=&quot;myfence&quot;/&gt;
                                &lt;/method&gt;
                        &lt;/fence&gt;
                &lt;/clusternode&gt;
        &lt;/clusternodes&gt;

        &lt;fencedevices&gt;
                &lt;fencedevice agent=&quot;myfence&quot; name=&quot;myfence&quot;/&gt;
        &lt;/fencedevices&gt;
        &lt;rm/&gt;
&lt;/cluster&gt;
</pre>
<p>If you&#8217;re running SELINUX don&#8217;t forget to update that! &#8230; start with <code>restorecon /sbin/myfence</code>  then update your policy.</p>
<p>This is the policy I&#8217;ve created&#8230;</p>
<pre class="brush: plain; title: ; notranslate">
module fenced 1.0;

require {
        type fenced_t;
        type shell_exec_t;
        class file { read execute };
}

#============= fenced_t ==============
allow fenced_t shell_exec_t:file { read execute };
</pre>
<p>If you save the above as fenced.te, then run this to install it..</p>
<pre class="brush: plain; title: ; notranslate">
checkmodule -M -m -o fenced.mod fenced.te
semodule_package -o fenced.pp -m fenced.mod
semodule -i fenced.pp
</pre>
<p>You should now be able to start cman, fencing will start but will return success for any fencing issues without actually doing anything!</p>
<p>Happy non-fencing!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/3191/redhat-cluster-how-to-disable-fencing/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GRE example for CentOS/RHEL</title>
		<link>http://www.linickx.com/3185/gre-example-for-centosrhel</link>
		<comments>http://www.linickx.com/3185/gre-example-for-centosrhel#comments</comments>
		<pubDate>Mon, 24 Jan 2011 18:02:29 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[gre]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=3185</guid>
		<description><![CDATA[I&#8217;m not sure why GRE isn&#8217;t in RedHat&#8217;s Documentation, but setting up a GRE tunnel between two RedHat boxes is quite straight forward&#8230; On Host1 (192.168.56.101)&#8230; On host2 (192.168.56.102) &#8230;. Bring the interfaces up&#8230;. .. on host2&#8230; And we&#8217;re done! &#8230; <a href="http://www.linickx.com/3185/gre-example-for-centosrhel">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure why GRE isn&#8217;t in <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-other.html">RedHat&#8217;s Documentation</a>, but setting up a GRE tunnel between two RedHat boxes is quite straight forward&#8230;</p>
<p>On Host1 (192.168.56.101)&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-tun0
DEVICE=tun0
BOOTPROTO=none
ONBOOT=no
TYPE=GRE
PEER_OUTER_IPADDR=192.168.56.102
PEER_INNER_IPADDR=192.168.168.2
MY_INNER_IPADDR=192.168.168.1
[root@CentOS1 ~]#
</pre>
<p>On host2 (192.168.56.102) &#8230;.</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-tun0
DEVICE=tun0
BOOTPROTO=none
ONBOOT=no
TYPE=GRE
PEER_OUTER_IPADDR=192.168.56.101
PEER_INNER_IPADDR=192.168.168.1
MY_INNER_IPADDR=192.168.168.2
[root@CentOS1 ~]#
</pre>
<p>Bring the interfaces up&#8230;.</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# ifup tun0
</pre>
<p>.. on host2&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS2 ~]# ifup tun0
</pre>
<p>And we&#8217;re done! &#8230; see the proof in the pudding below&#8230;.</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# ifconfig tun0
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-05-08-80-3C-00-00-00-00-00-00-00-00
          inet addr:192.168.168.1  P-t-P:192.168.168.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1476  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:168 (168.0 b)  TX bytes:756 (756.0 b)

[root@CentOS1 ~]# ping 192.168.168.2
PING 192.168.168.2 (192.168.168.2) 56(84) bytes of data.
64 bytes from 192.168.168.2: icmp_seq=1 ttl=64 time=1.51 ms
64 bytes from 192.168.168.2: icmp_seq=2 ttl=64 time=2.13 ms
64 bytes from 192.168.168.2: icmp_seq=3 ttl=64 time=2.12 ms

--- 192.168.168.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.511/1.921/2.132/0.289 ms
[root@CentOS1 ~]#
</pre>
<p>The other end&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS2 ~]# ifconfig tun0
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-05-08-80-4C-00-00-00-00-00-00-00-00
          inet addr:192.168.168.2  P-t-P:192.168.168.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1476  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3528 (3.4 KiB)  TX bytes:4536 (4.4 KiB)

[root@CentOS2 ~]# ping 192.168.168.1
PING 192.168.168.1 (192.168.168.1) 56(84) bytes of data.
64 bytes from 192.168.168.1: icmp_seq=1 ttl=64 time=4.39 ms
64 bytes from 192.168.168.1: icmp_seq=2 ttl=64 time=1.41 ms
64 bytes from 192.168.168.1: icmp_seq=3 ttl=64 time=2.57 ms

--- 192.168.168.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 1.419/2.795/4.393/1.224 ms
[root@CentOS2 ~]#
</pre>
<p>Here we show the tunnelled packets&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# tcpdump -n -i eth1 proto 47
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
13:45:59.429315 IP 192.168.56.102 &gt; 192.168.56.101: GREv0, length 88: IP 192.168.168.2 &gt; 192.168.168.1: ICMP echo request, id 55053, seq 7, length 64
13:45:59.429315 IP 192.168.56.101 &gt; 192.168.56.102: GREv0, length 88: IP 192.168.168.1 &gt; 192.168.168.2: ICMP echo reply, id 55053, seq 7, length 64
13:46:00.530528 IP 192.168.56.102 &gt; 192.168.56.101: GREv0, length 88: IP 192.168.168.2 &gt; 192.168.168.1: ICMP echo request, id 55053, seq 8, length 64
13:46:00.530686 IP 192.168.56.101 &gt; 192.168.56.102: GREv0, length 88: IP 192.168.168.1 &gt; 192.168.168.2: ICMP echo reply, id 55053, seq 8, length 64
13:46:01.418447 IP 192.168.56.102 &gt; 192.168.56.101: GREv0, length 88: IP 192.168.168.2 &gt; 192.168.168.1: ICMP echo request, id 55053, seq 9, length 64
13:46:01.418526 IP 192.168.56.101 &gt; 192.168.56.102: GREv0, length 88: IP 192.168.168.1 &gt; 192.168.168.2: ICMP echo reply, id 55053, seq 9, length 64

6 packets captured
6 packets received by filter
0 packets dropped by kernel
[root@CentOS1 ~]#
</pre>
<p>Since we can see the ICMP packets inside the GRE tunnel that show&#8217;s us that GRE is in clear text&#8230; to add some security <a href="http://www.linickx.com/archives/3181/5-minute-centosrhel-vpn">setup a simple IPSEC VPN</a> <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Reference: <a href="http://juliano.info/en/Blog:Memory_Leak/Bridges_and_tunnels_in_Fedora">http://juliano.info/en/Blog:Memory_Leak/Bridges_and_tunnels_in_Fedora</a></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/3185/gre-example-for-centosrhel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security updates only for Fedora 7 / RHEL &amp; Centos 5</title>
		<link>http://www.linickx.com/311/security-updates-only-for-fedora-7-rhel-centos-5</link>
		<comments>http://www.linickx.com/311/security-updates-only-for-fedora-7-rhel-centos-5#comments</comments>
		<pubDate>Mon, 24 Sep 2007 15:32:06 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/311/security-updates-only-for-fedora-7-rhel-centos-5/</guid>
		<description><![CDATA[I found this on redhat.com the other day&#8230;. It is now possible to limit yum to install security updates only. To do so, simply install the yum-security plugin and run the following command: yum update &#8211;security Hopefully this will allow &#8230; <a href="http://www.linickx.com/311/security-updates-only-for-fedora-7-rhel-centos-5">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found this on <a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/release-notes/RELEASE-NOTES-U1-ppc-en.html">redhat.com </a>the other day&#8230;.</p>
<blockquote><p> It is now possible to limit yum to install security updates only. To do so, simply install the yum-security plugin and run the following command:</p>
<p>yum update &#8211;security</p></blockquote>
<p>Hopefully this will allow fedora users to have the option of running a &#8220;stable&#8221; install <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/311/security-updates-only-for-fedora-7-rhel-centos-5/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USB Networking with Fedora 7 &amp; n800</title>
		<link>http://www.linickx.com/315/usb-networking-with-fedora-7-n800</link>
		<comments>http://www.linickx.com/315/usb-networking-with-fedora-7-n800#comments</comments>
		<pubDate>Fri, 14 Sep 2007 18:14:56 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[n800]]></category>
		<category><![CDATA[770]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/315/usb-networking-with-fedora-7-n800/</guid>
		<description><![CDATA[There are times where you cannot use WiFi, for example my workplace&#8217;s WLAN uses LEAP, which maemo doesn&#8217;t support. I found that setting up USB networking on my n800 was a bit of a pain since there isn&#8217;t a single &#8230; <a href="http://www.linickx.com/315/usb-networking-with-fedora-7-n800">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are times where you cannot use WiFi, for example my workplace&#8217;s WLAN uses LEAP, which maemo doesn&#8217;t support. I found that setting up USB networking on my n800 was a bit of a pain since there isn&#8217;t a single document&#8230; if you check <a href="http://del.icio.us/linickx">my del.icio.us feed</a> you&#8217;ll see I bookmarked all I could find with a <a href="http://del.icio.us/linickx/usbnet">usbnet</a> tag.</p>
<p>These are the steps I ran through to enable usb networking between my nokia n800 and my fedora 7 laptop.</p>
<p>First we&#8217;ll start with the basic setup&#8230; I&#8217;ll assume you&#8217;ve read a getting started article similar to <a href="http://www.linickx.com/blog/archives/292/n800-getting-started-n00b-guide-part-one/">mine</a> and already have root &amp; xterm. By default n800 has a usb interface configured, you just need to enable it, so on your n800 type:<br />
<code><br />
sudo gainroot<br />
insmod /mnt/initfs/lib/modules/2.6.18-omap1/g_ether.ko<br />
ifup usb0<br />
</code><br />
The default settings add an interface with a static ip of 192.168.2.15/24 with a default gateway of 192.168.2.14.</p>
<p>Now lets set up something similar on Fedora, you need to create a file in <code>/etc/sysconfig/network-scripts</code> called <code>ifcfg-usb0</code> with the following&#8230;<br />
<code><br />
DEVICE=usb0<br />
BOOTPROTO=static<br />
IPADDR=192.168.2.14<br />
BROADCAST=192.168.2.255<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=no<br />
MII_NOT_SUPPORTED=no<br />
</code><br />
Now plug the usb cable into both devices, and on your fedora box (<em>as root</em>) type<br />
<code><br />
ifup usb0<br />
</code><br />
You now have connectivity, of course if you have a default fedora install pinging 192.168.2.15 will fail because of the firewall, it is probably best to temporarily disable the firewall (<code>/etc/init.d/iptables stop</code>) to see if it works, if so move onto configuring your firewall correctly (<code>/etc/init.d/iptables start</code> <em>starts it again</em>) <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You may also get usb conflicts, you can try <code></code></p>
<p><code>rmmod uhci_hcd</code></p>
<p>but it will disable any USB devices, you have been warned.</p>
<p>With this basic connectivity setup you&#8217;ll have two issues; you only have connectivity between fedora &amp; n800 nothing else works, and opening any application on n800 causes it to try and connect to your wifi, so lets look at those&#8230;.</p>
<p>I&#8217;m going to assume you used system-config-securitylevel to configure your firewall, its worth noting that any changes you make now will be overwritten by any future use of system-config-securitylevel  so it&#8217;s probably best to take a backup of <code>/etc/sysconfig/ipatbles</code> now and later when you&#8217;re finished.</p>
<p>So as root type:<br />
<code><br />
iptables -I RH-Firewall-1-INPUT 2 -i usb -j ACCEPT<br />
iptables -I FORWARD 1 -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
iptables -I FORWARD 1 -s 192.168.2.0/24 -j ACCEPT<br />
iptables --table nat --append POSTROUTING --out-interface eth0 -s 192.168.2.0/24 -j MASQUERADE<br />
/etc/init.d/iptables save<br />
</code><br />
This will allow all connectivity in from the usb interface allowing the n800 to send packets into the fedora box whilst the firewall is running, it will also NAT any traffic from the usb network hiding the n800 behind fedora so that you get onward connectivity. To get the NAT to work you need to enable ip forwarding, this allows fedora to pass pakets between interfaces, to do that type <code></code></p>
<p><code>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</code></p>
<p>and to get it to survive a reboot update <code>/etc/sysctl.conf</code> with <code></code></p>
<p><code>net.ipv4.ip_forward = 1</code></p>
<p>The final part is to enable name resolution (DNS), on n800, I updated <code>/etc/resolv.conf</code> with the <a href="http://www.opendns.com/">opendns</a> servers&#8230;<br />
<code><br />
nameserver 208.67.222.222<br />
nameserver 208.67.220.220<br />
</code><br />
All things being equal you should now be able to ping www.google.com from your n800 <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>
<p>To get applications to connect, I found on the latest version of ITOS that the <a href="http://maemo.org/community/wiki/dummyiap/">DUMMY IAP</a> didn&#8217;t work, so I stumbled across <a href="http://www.internettablettalk.com/forums/showpost.php?p=52174&amp;postcount=5">this solution</a>.</p>
<p>Create an &#8220;ad hoc&#8221; wifi connection with static IPs&#8230; anything it doesn&#8217;t matter, and when that&#8217;s connected in xterm (<em>as root</em>) type <code>ifconfig wlan0 down</code> , you should now be able to connect to the web with your browser / skype etc over your usb network&#8230; sweet!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/315/usb-networking-with-fedora-7-n800/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smolt RPM for CentOS, RHEL, etc</title>
		<link>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc</link>
		<comments>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc#comments</comments>
		<pubDate>Fri, 06 Jul 2007 10:00:33 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[smolt]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/302/smolt-rpm-for-centos-rhel-etc/</guid>
		<description><![CDATA[I after installing Fedora7 I thought I&#8217;d take a look at the stats the project had gathered, I saw some centos devices, but couldn&#8217;t find a rpm. I&#8217;ve had a go at building one, it mostly works (this is my &#8230; <a href="http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I after installing Fedora7 I thought I&#8217;d take a look at <a href="http://smolt.fedoraproject.org/stats">the stats</a> the project had gathered, I saw some centos devices, but couldn&#8217;t find a rpm.</p>
<p>I&#8217;ve had a go at building one, it mostly works (<a href="http://smolt.fedoraproject.org/show?UUID=251cf847-28b3-4d33-bb27-9fa6aecb5e61">this is my nagios box</a>), it&#8217;s a rebuild of the f7 source, I have to frig about with the spec file, so I&#8217;ve published <a href="http://www.linickx.com/files/rpm/whitebox/4/SRPMS/smolt-0.9.8.1-1.src.rpm">my source rpm here</a>, search for Nick in the .spec file, you&#8217;ll see my bodge.</p>
<p>The smolt rpms are in <a href="http://www.linickx.com/files/rpm/linickx-whitebox.repo">my yum repo</a>, feel free to download the packages and have a go.</p>
<ul>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-0.9.8.1-1.noarch.rpm">smolt-0.9.8.1-1.noarch.rpm</a></li>
<li>s<a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-firstboot-0.9.8.1-1.noarch.rpm">molt-firstboot-0.9.8.1-1.noarch.rpm</a></li>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-gui-0.9.8.1-1.noarch.rpm">smolt-gui-0.9.8.1-1.noarch.rpm</a></li>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-server-0.9.8.1-1.noarch.rpm">smolt-server-0.9.8.1-1.noarch.rpm</a></li>
</ul>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP Compression on Redhat / CentOS / Fedora</title>
		<link>http://www.linickx.com/268/http-compression-on-redhat-centos-fedora</link>
		<comments>http://www.linickx.com/268/http-compression-on-redhat-centos-fedora#comments</comments>
		<pubDate>Thu, 21 Jun 2007 16:37:21 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/268/http-compression-on-redhat-centos-fedora/</guid>
		<description><![CDATA[I was doing some testing on my server the other day, and realised that http compression within apache (httpd) was not enabled by default. Further digging showed me that mod_defate was what I needed, and infact it was installed by &#8230; <a href="http://www.linickx.com/268/http-compression-on-redhat-centos-fedora">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was doing some <a href="http://www.port80software.com/products/zipenable/compresscheck">testing</a> on my server the other day, and realised that http compression within apache (httpd) was not enabled by default. Further digging showed me that <a href="http://httpd.apache.org/docs/2.0/mod/mod_deflate.html">mod_defate</a> was what I needed, and infact it was installed by default on my CentOS box.</p>
<p>How to enable mod_default on Centos: Create <strong>/etc/httpd/conf.d/deflate.conf</strong> with the following contents</p>
<pre>
     # Insert filter
     SetOutputFilter DEFLATE

     # Netscape 4.x has some problems...
     BrowserMatch ^Mozilla/4 gzip-only-text/html

     # Netscape 4.06-4.08 have some more problems
     BrowserMatch ^Mozilla/4.0[678] no-gzip

     # MSIE masquerades as Netscape, but it is fine
     BrowserMatch bMSIE !no-gzip !gzip-only-text/html

     # Don't compress images
     SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

        # Don't compress already compressed stuff !
        SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
        SetEnvIfNoCase Request_URI .pdf$ no-gzip dont-vary

     # Make sure proxies don't deliver the wrong content
     Header append Vary User-Agent env=!dont-vary

        # Log Stuff !
#        DeflateFilterNote Input input_info
#        DeflateFilterNote Output output_info
#        DeflateFilterNote Ratio ratio_info
#        LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
#        CustomLog /var/log/httpd/deflate_log deflate</pre>
<p>restart httpd (<strong>/etc/init.d/httpd restart</strong>) and your done <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>References:</p>
<ul>
<li> <a href="http://www.port80software.com/products/zipenable/compresscheck">port80software.com &#8211; compresscheck</a></li>
<li> <a href="http://httpd.apache.org/docs/2.0/mod/mod_deflate.html">apache.org</a></li>
<li> <a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server">Linux Home Networking</a></li>
<li> <a href="http://www.howtoforge.org/apache2_mod_deflate">How To Forge</a></li>
</ul>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/268/http-compression-on-redhat-centos-fedora/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Intel 3945ABG Wireless / WiFi Card on CentOS 5</title>
		<link>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5</link>
		<comments>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5#comments</comments>
		<pubDate>Thu, 24 May 2007 10:39:49 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/291/intel-3945abg-wireless-wifi-card-on-centos-5/</guid>
		<description><![CDATA[I&#8217;ve taken to using CentOS on my servers, and fedora on my Laptop. New job, means new laptop, and to avoid fedora update hell, I thought I&#8217;d try CentOS on my laptop. All seems good other than my wifi card &#8230; <a href="http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken to using CentOS on my servers, and fedora on my Laptop. New job, means new laptop, and to avoid fedora update hell, I thought I&#8217;d try CentOS on my laptop.</p>
<p>All seems good other than my wifi card not being detected, and for some reason googling for &#8220;<a href="http://www.google.com/search?q=%22centos+5%22+intel+3945">centos 5 intel 3945</a>&#8221; didn&#8217;t provide a working anserwer, actually I found the answer by googling for &#8220;<a href="http://www.google.com/search?q=Supplementary+disc+%22centos+5%22">supplementary disk centos 5</a>&#8221; which finds <a href="http://www.centos.org/modules/newbb/viewtopic.php?post_id=26959&amp;topic_id=8469">this thread</a> that says&#8230;</p>
<p>Install dag&#8217;s repo (<em><a href="http://dag.wieers.com/rpm/packages/rpmforge-release/">this rpm</a></em>), and then install dkms-ipw3945 (<em>yum will pick up the dependancies</em>)</p>
<pre class="brush: plain; title: ; notranslate">yum install dkms-ipw3945</pre>
<p>Next enable network manager&#8230;</p>
<pre class="brush: plain; title: ; notranslate">
chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on
</pre>
<p>reboot (seriously) and when you next log in you&#8217;ll get a little icon in you system tray where you can manage your WiFi <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5/feed</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>A Linux / Command line: how to upload to wordpress  wp-plugins.org via subversion ( SVN )</title>
		<link>http://www.linickx.com/276/a-linux-command-line-how-to-upload-to-wordpress-wp-pluginsorg-via-subversion-svn</link>
		<comments>http://www.linickx.com/276/a-linux-command-line-how-to-upload-to-wordpress-wp-pluginsorg-via-subversion-svn#comments</comments>
		<pubDate>Sun, 06 May 2007 16:47:11 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/276/a-linux-command-line-how-to-upload-to-wordpress-wp-pluginsorg-via-subversion-svn/</guid>
		<description><![CDATA[Could that title get any longer ! Hopefully you get the point, sometimes you need different tools for different jobs, if you want a full development platform with SVN support I suggest you take a look at eclipse (with subclipse &#8230; <a href="http://www.linickx.com/276/a-linux-command-line-how-to-upload-to-wordpress-wp-pluginsorg-via-subversion-svn">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Could that title get any longer !</p>
<p>Hopefully you get the point, sometimes you need different tools for different jobs, if you want a full development platform with SVN support I suggest you take a look at <a href="http://www.eclipse.org/">eclipse</a> (<em>with <a href="http://subclipse.tigris.org/">subclipse</a></em> ) but what if you already have done the development and you just want to do a quick upload.</p>
<p>My <a href="http://www.linickx.com/index.php?content=php#phpbb_recent_topics.txt">phpbb_recent_topics plugin</a> is hosted here, and when the nice guys at wordpress gave me an svn account, I just wanted a quick way to upload what I&#8217;ve done. Now I must stress this may not be the &#8220;proper&#8221; way to use svn (<em>there&#8217;s <a href="http://svnbook.red-bean.com/">a book</a> for that</em>) but it is enough to achieve what we want, a straight forward upload.</p>
<p>I&#8217;m using redhat, so the 1st step was to install <a href="http://dag.wieers.com/rpm/packages/subversion/">dag&#8217;s subversion rpm</a> , I also needed to setup an &#8220;editor&#8221; variable for commenting.</p>
<pre>SVN_EDITOR=vi
export SVN_EDITOR</pre>
<p>Then, I went into a directory onto my server, and downloaded a copy of the existing subversion directory structure.</p>
<pre>[nick@SERVER wp_plugins]$ svn checkout https://svn.wp-plugins.org/phpbb-recent-topics/
A    phpbb-recent-topics/trunk
A    phpbb-recent-topics/branches
A    phpbb-recent-topics/tags
Checked out revision 9232.
[nick@SERVER wp_plugins]$</pre>
<p>My plugin (<em>at the time</em>) was on version 1, so my 1st steps were to create a version 1 tag, add it to svn, get the stable copy of my plugin, add that to svn.</p>
<pre>[nick@SERVER wp_plugins]$ cd phpbb-recent-topics/
[nick@SERVER phpbb-recent-topics]$ ls
branches  tags  trunk
[nick@SERVER phpbb-recent-topics]$ cd tags/
[nick@SERVER tags]$ mkdir 0.1
[nick@SERVER tags]$ cd ..
[nick@SERVER wp_plugins]$ svn add phpbb-recent-topics/tags/*
A         phpbb-recent-topics/tags/0.1
[nick@SERVER wp_plugins]$ cd phpbb-recent-topics/tags/0.1/
[nick@SERVER 0.1]$ wget http://www.linickx.com/files/php/phpbb_recent_topics.txt
[nick@SERVER 0.1]$ mv phpbb_recent_topics.txt phpbb_recent_topics.php
[nick@SERVER 0.1]$ svn add phpbb_recent_topics.php
A         phpbb_recent_topics.php
[nick@SERVER 0.1]$</pre>
<p>Finally I updated everything, and uploaded (committed) my files.</p>
<pre>[nick@SERVER 0.1]$ cd ../../../
[nick@SERVER wp_plugins]$ svn update phpbb-recent-topics/
At revision 9232.
[nick@SERVER wp_plugins]$ svn --username linickx commit phpbb-recent-topics/
Adding         phpbb-recent-topics/tags/0.1
Adding         phpbb-recent-topics/tags/0.1/phpbb_recent_topics.php
Transmitting file data .......
Committed revision 9233.
[nick@SERVER wp_plugins]$</pre>
<p>Remember this doesn&#8217;t publish your plugin on <a href="http://wordpress.org/extend/plugins/">wordpress.org</a>, to do that you need <a href="http://wordpress.org/extend/plugins/about/readme.txt">a valid readme.txt</a> in the trunk directory, but as you can see once you&#8217;ve created all the files on your local box, it&#8217;s just a few commands to get your work uploaded.</p>
<p><small> Did you notice that the wordpress svn supports SSL ? </small></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/276/a-linux-command-line-how-to-upload-to-wordpress-wp-pluginsorg-via-subversion-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rkhunter rpm for Centos / RedHat</title>
		<link>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat</link>
		<comments>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat#comments</comments>
		<pubDate>Sun, 29 Apr 2007 11:47:02 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[root kit]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/284/rkhunter-rpm-for-centos-redhat/</guid>
		<description><![CDATA[Whilst doing some routine maintenance, I noticed that I never published the rkhunter rpm I built, the software is officially supported at rootkit.nl but for ease I wanted a yum available rpm Copyright &#169; 2012 [LINICKX].com. This Feed is for &#8230; <a href="http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Whilst doing some routine maintenance, I noticed that I never published the <a href="http://www.linickx.com/files/rpm/whitebox/4/i386/rkhunter-1.2.9-1.noarch.rpm">rkhunter rpm I built</a>, the software is <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">officially supported at rootkit.nl</a> but for ease I wanted a yum available rpm <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

