<?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>Penguinspeak &#187; Linux</title>
	<atom:link href="http://macmartine.com/blog/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://macmartine.com/blog</link>
	<description>This is how I see it.</description>
	<lastBuildDate>Wed, 09 Dec 2009 23:30:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to change your hostname and domain name in Linux</title>
		<link>http://macmartine.com/blog/2009/08/how-to-change-your-hostname-and-domain-name-in-linux.html</link>
		<comments>http://macmartine.com/blog/2009/08/how-to-change-your-hostname-and-domain-name-in-linux.html#comments</comments>
		<pubDate>Mon, 31 Aug 2009 16:34:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=47</guid>
		<description><![CDATA[To change your hostname and/or domain name in Linux you need to modify two files. /etc/sysconfig/network should read: NETWORKING=yes HOSTNAME= &#8211; and &#8211; /etc/hosts 127.0.0.1 localhost locahost.localdomain Replace the terms in brackets () with your own hostname and domainname, and then reboot.]]></description>
			<content:encoded><![CDATA[<p>To change your hostname and/or domain name in Linux you need to modify two files.</p>
<p>/etc/sysconfig/network should read:<br />
NETWORKING=yes<br />
HOSTNAME=<myhostname.mydomainname.com></p>
<p>&#8211; and &#8211;</p>
<p>/etc/hosts<br />
127.0.0.1    <hostname>    <hostname.domainname.com>  localhost    locahost.localdomain</p>
<p>Replace the terms in brackets (<>) with your own hostname and domainname, and then reboot. </p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=How+to+change+your+hostname+and+domain+name+in+Linux+http://bit.ly/3lbIku" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big2.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/08/how-to-change-your-hostname-and-domain-name-in-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Coldfusion and JRun on OS X</title>
		<link>http://macmartine.com/blog/2008/04/installing_coldfusion_and_jrun_1.html</link>
		<comments>http://macmartine.com/blog/2008/04/installing_coldfusion_and_jrun_1.html#comments</comments>
		<pubDate>Thu, 10 Apr 2008 13:21:53 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=35</guid>
		<description><![CDATA[I spent a lot of time getting ColdFusion to run on Leopard. I wish I had kept better track of all the errors I sorted through on path to figuring it out, but unfortunately I didn&#8217;t. Here were the biggies though. First make sure to get Update 7 for JRun. I didn&#8217;t find the updates [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a lot of time getting ColdFusion to run on Leopard. I wish I had kept better track of all the errors I sorted through on path to figuring it out, but unfortunately I didn&#8217;t.<br />
Here were the biggies though. First make sure to get Update 7 for JRun. I didn&#8217;t find the updates at first which slowed me down.<br />
Additionally (and the most frustrating), is it turned out that setting java.home in jvm.config was not enough to make JRun use the specified JRE. I wanted it to use JVM 1.5.0. Running &#8216;./jrun -info&#8217; (from the JRun bin directory) returned &#8220;Apple Inc. 1.5.0_13-119 Java HotSpot(TM) Client VM&#8221;, so it appeared to be finding the JVM I wanted it to use, but it wasn&#8217;t working. So I set the classpath in ~/.bash_profile as well. That didn&#8217;t cut it either. Finally I found <a href="http://www.talkingtree.com/blog/index.cfm/2006/5/17/CFMX-MacOSX-JVM142">Steven Erat&#8217;s entry</a> where he had similar issues.<br />
What did resolve it was to change the CurrentJDK alias in System/Library/Frameworks/JavaVM.framework/Versions in addition to the changes already made.<br />
Steven&#8217;s entry has good directions on how to do so. It seemed to me that setting java.home in jvm.config should have taken care of everything, but it didn&#8217;t You can to set the JVM in 3 places.<br />
Once I had it running with JDK 1.5, I&#8217;d get this error:<br />
Error 500<br />
Could not invoke Java compiler, please make sure jikesw is in /Applications/JRun4/bin or put a JDK bin directory in your path.<br />
jrunx.compiler.JavaCompiler$NoCompilerFoundException: Could not invoke Java compiler, please make sure jikesw is in /Applications/JRun4/bin or put a JDK bin directory in your path.<br />
at jrunx.compiler.JavaCompiler.outProcessCompile(JavaCompiler.java:474)<br />
&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
Basically it can&#8217;t find javac, and I still have no idea why. The servers running but the sample JSP&#8217;s aren&#8217;t getting compiled. You could probably just compile the apps manually but I haven&#8217;t done that.<br />
Well, there&#8217;s no great solution here, but hopefully this&#8217;ll help you to get going with whatever you decide.  The problem with changing the CurrentJDK alias to 1.4.2 is that then everything on your system will be using that. That&#8217;s a hassle for me with all my Eclipse installs, etc where I need JDK 1.5.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Installing+Coldfusion+and+JRun+on+OS+X+http://bit.ly/1xMmvx" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big2.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2008/04/installing_coldfusion_and_jrun_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a user to sudoers file</title>
		<link>http://macmartine.com/blog/2008/04/adding_a_user_to_sudoers_file.html</link>
		<comments>http://macmartine.com/blog/2008/04/adding_a_user_to_sudoers_file.html#comments</comments>
		<pubDate>Wed, 09 Apr 2008 12:59:31 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=34</guid>
		<description><![CDATA[On Linux you&#8217;ll need to add your user account to the sudoers file so you can run certain tasks as a superuser (sudo, su). Here&#8217;s an easy way: Log in with your user account (not as root): [martine@machine ~]# sudo Password: [root@machine martine]# chmod +w /etc/sudoers [root@machine martine]# echo &#8216;martine ALL=(ALL) NOPASSWD:ALL&#8217; >> /etc/sudoers [root@machine [...]]]></description>
			<content:encoded><![CDATA[<p>On Linux you&#8217;ll need to add your user account to the sudoers file so you can run certain tasks as a superuser (sudo, su). Here&#8217;s an easy way:<br />
Log in with your user account (not as root):<br />
[martine@machine ~]# sudo<br />
Password:  <root password><br />
[root@machine martine]# chmod +w /etc/sudoers<br />
[root@machine martine]# echo &#8216;martine ALL=(ALL) NOPASSWD:ALL&#8217; >> /etc/sudoers<br />
[root@machine martine]# chmod -w /etc/sudoers</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Adding+a+user+to+sudoers+file+http://bit.ly/2KF6qu" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big2.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2008/04/adding_a_user_to_sudoers_file.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux: chcon to change security context (to solve permissions problems with mounted shares)</title>
		<link>http://macmartine.com/blog/2008/04/linux_chcon_to_change_security_1.html</link>
		<comments>http://macmartine.com/blog/2008/04/linux_chcon_to_change_security_1.html#comments</comments>
		<pubDate>Wed, 02 Apr 2008 14:03:46 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=30</guid>
		<description><![CDATA[On my Fedora server I was creating some shared folders that I could mount from my other machines. So I created a Samba share, and chmod-ed the directories. From my other machine I mounted a share and all seemed swell &#8212; that is, until I tried to add a file. It kept telling me I [...]]]></description>
			<content:encoded><![CDATA[<p>On my Fedora server I was creating some shared folders that I could mount from my other machines.<br />
So I created a Samba share, and chmod-ed the directories.<br />
From my other machine I mounted a share and all seemed swell &#8212; that is, until I tried to add a file. It kept telling me I didn&#8217;t have sufficient permissions. Finally I figured out that chmod-ing was not enough, and that I had to change the context of the directory on the linux server:<br />
chcon -R -t samba_share_t /path/to/share<br />
I could then add files from the remote machine! Phew.<br />
To get more info on the &#8216;chcon&#8217; (change context) command, run &#8216;info chcon&#8217;</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Linux%3A+chcon+to+change+security+context+%28to+solve+permissions+problems+with+mounted+shares%29+http://bit.ly/t7uYF" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big2.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2008/04/linux_chcon_to_change_security_1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
