<?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>RubberNeck Designs &#187; UNIX / LINIX</title>
	<atom:link href="http://www.rubberneckdesigns.com/category/unix-linix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rubberneckdesigns.com</link>
	<description>Drupal Web Developer Notes &#38; Sharing</description>
	<lastBuildDate>Tue, 31 Jan 2012 00:28:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP and MySQL command line with MAMP on OSX</title>
		<link>http://www.rubberneckdesigns.com/mamp/php-and-mysql-command-line-with-mamp-on-osx/</link>
		<comments>http://www.rubberneckdesigns.com/mamp/php-and-mysql-command-line-with-mamp-on-osx/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:31:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[UNIX / LINIX]]></category>

		<guid isPermaLink="false">http://www.rubberneckdesigns.com/?p=434</guid>
		<description><![CDATA[I found a handy article named &#8220;Getting command line access to PHP and MySQL running MAMP on OSX&#8221; by  Joaquin Lippincott . It was very helpful for getting PHP and MySQL acces from the terminal on a mac. In addition, one of the comments by Matthew Bacon was about getting the ZEND FRAMWORK up and running [...]]]></description>
			<content:encoded><![CDATA[<p>I found a handy article named</p>
<p>&#8220;<a title="PHP and MySQL command line with MAMP on OSX" href="http://www.metaltoad.com/blog/getting-command-line-access-php-and-mysql-running-mamp-osx">Getting command line access to PHP and MySQL running MAMP on OSX</a>&#8221;</p>
<p>by  <a href="http://www.metaltoad.com/people/joaquin">Joaquin Lippincott .</a></p>
<p>It was very helpful for getting PHP and MySQL acces from the terminal on a mac.</p>
<p>In addition, one of the comments by Matthew Bacon was about getting the ZEND FRAMWORK up and running with the command line. I have copied it here for your convenience. I hope this helps someone.</p>
<p><span style="color: #666699;"><small> Posted by Matthew Bacon on <time datetime="2010-01-07T10:38:16-08:00" pubdate="pubdate">January 7, 2010. [<a href="http://www.metaltoad.com/comment/reply/71/457"><span style="color: #666699;">Reply</span></a>] </time></small></span></p>
<div>
<div>
<div>
<div>
<p><span style="color: #666699;">To anyone who is having problems getting Zend_Tool working on their MAC OS X (10.6) in Terminal, this is how to solve the problem.</span></p>
<p><span style="color: #666699;">Step 1</span><br />
<span style="color: #666699;"> &#8212;</span><br />
<span style="color: #666699;"> Download the Zend Framework to your downloads folder. Once downloaded, rename the folder ZendFramework</span></p>
<p><span style="color: #666699;">Step 2</span><br />
<span style="color: #666699;"> &#8212;</span><br />
<span style="color: #666699;"> Open Terminal and type: sudo cp -r ~/Downloads/ZendFramework /usr/local/ZendFrameworkCli</span></p>
<p><span style="color: #666699;">Step 3</span><br />
<span style="color: #666699;"> &#8212;</span><br />
<span style="color: #666699;"> In Terminal, type: open ~/.bash_profile</span></p>
<p><span style="color: #666699;">Note: If file is not found&#8230;</span><br />
<span style="color: #666699;"> &#8212;</span><br />
<span style="color: #666699;"> Open the application TextEdit. Create a new file and make sure you are typing in plain text only. Type the following: alias zf=/usr/local/ZendFrameworkCli/bin/zf.sh</span></p>
<p><span style="color: #666699;">Save and exit TextEdit</span></p>
<p><span style="color: #666699;">Step 4</span><br />
<span style="color: #666699;"> &#8212;</span><br />
<span style="color: #666699;"> In Terminal, type: zf show version</span></p>
<p><span style="color: #666699;">Done!</span></p>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubberneckdesigns.com/mamp/php-and-mysql-command-line-with-mamp-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL from the Command Line (terminal) in MAMP PRO</title>
		<link>http://www.rubberneckdesigns.com/mamp/mysql-from-the-command-line-terminal-in-mamp-pro/</link>
		<comments>http://www.rubberneckdesigns.com/mamp/mysql-from-the-command-line-terminal-in-mamp-pro/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 22:52:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[UNIX / LINIX]]></category>

		<guid isPermaLink="false">http://www.rubberneckdesigns.com/?p=425</guid>
		<description><![CDATA[To get to the command line for MySQL for MAMP or MAMP PRO just open up you terminal and enter the following:   /Applications/MAMP/Library/bin/mysql &#8211;host=localhost -uroot -proot You can see all the databases by using the following command: If you type the MySQL command : USE &#60;table name&#62;  you can then start using that particular [...]]]></description>
			<content:encoded><![CDATA[<p>To get to the command line for MySQL for MAMP or MAMP PRO just open up you terminal and enter the following:</p>
<address> </address>
<address>/Applications/MAMP/Library/bin/mysql &#8211;host=localhost -uroot -proot</address>
<p>You can see all the databases by using the following command:</p>
<p><a href="http://www.rubberneckdesigns.com/wp-content/uploads/2011/10/Screen-shot-2011-10-09-at-6.44.47-PM.png"><img class="alignnone size-full wp-image-427" title="mysql command line command SHOW DATABASES" src="http://www.rubberneckdesigns.com/wp-content/uploads/2011/10/Screen-shot-2011-10-09-at-6.44.47-PM.png" alt="mysql command line command show databases" width="244" height="403" /></a></p>
<p>If you type the MySQL command : USE &lt;table name&gt;  you can then start using that particular database.</p>
<p>Another convenient command is SHOW TABLES. Can you figure out what that does?</p>
<p>Now you can type MySQL commands right from the command line.</p>
<address> </address>
<address> </address>
<address> </address>
]]></content:encoded>
			<wfw:commentRss>http://www.rubberneckdesigns.com/mamp/mysql-from-the-command-line-terminal-in-mamp-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Virtual Hosts ON Your MAC for MAMP</title>
		<link>http://www.rubberneckdesigns.com/mamp/virtual-host-mamp/</link>
		<comments>http://www.rubberneckdesigns.com/mamp/virtual-host-mamp/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 01:12:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[UNIX / LINIX]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://rubberneckdesigns.com/?p=158</guid>
		<description><![CDATA[Open up the terminal. 1)    Web-Two:~ webtwo$  cd /etc &#60;&#8211;change directory to the etc directory 2)    Web-Two:etc webtwo$ sudo nano hosts &#60;&#8211;super user do (does not stay logged in),  editor, file=hosts 3)    Password: *******  &#60;&#8211; enter password 4)   Editor opens up. You will see something like this&#8230; # # Host Database # # localhost is [...]]]></description>
			<content:encoded><![CDATA[<p>Open up the terminal.<br />
1)    Web-Two:~ webtwo$  <span style="color: #bf9000;">cd /etc</span> <span style="color: #0000ff;">&lt;&#8211;change directory to the etc directory</span></p>
<p>2)    Web-Two:etc webtwo$ <span style="color: #bf9000;">sudo nano hosts </span><span style="color: #0000ff;">&lt;&#8211;super user do (does not stay logged in),  editor, file=hosts</span></p>
<p>3)    Password: *******  <span style="color: #0000ff;">&lt;&#8211; enter password<br />
</span><br />
4)   Editor opens up. You will see something like this&#8230;</p>
<p><span style="font-size: xx-small;">#<br />
# Host Database<br />
#<br />
# localhost is used to configure the loopback interface<br />
# when the system is booting.  Do not change this entry.<br />
##<br />
127.0.0.1       localhost<br />
255.255.255.255 broadcasthost<br />
::1             localhost<br />
fe80::1%lo0     localhost</span><br />
5)  Type in the local IP followed by the name of the site you wish to make a virtual host for:<br />
<span style="font-size: x-small;">ie. </span><span style="font-size: x-small;"><span style="color: #b45f06;">127.0.0.1 yoursite.you</span> <span style="color: #0000ff;">&lt;&#8211; replace this with your name</span></span><br />
You should do this for each site you wish to make a virtual host for , line by line.<br />
Your /etc/hosts   file should now look more like this:<br />
<span style="font-size: xx-small;">#<br />
# Host Database<br />
#<br />
# localhost is used to configure the loopback interface<br />
# when the system is booting.  Do not change this entry.<br />
##<br />
127.0.0.1       localhost<br />
255.255.255.255 broadcasthost<br />
::1             localhost<br />
fe80::1%lo0     localhost<br />
127.0.0.1 yoursite.you</span><br />
<span style="font-size: xx-small;">127.0.0.1 anothersite.you<br />
</span><span style="font-size: xx-small;">127.0.0.1 yetanothersite.you</span></p>
<p>6)  Exit your editor, in this example I used, nano. <span style="color: #0000ff;">Note: Be sure to SAVE the file</span>.</p>
<p>7)  OK, now navigate to the file:    Applications/MAMP/conf/apache/httpd.conf  and open it in a text only editor ( like BBedit or Smultron or something )</p>
<p>8)  Scroll to the bottom of the httpd.conf file. For <strong>each</strong> site type in the following:</p>
<p><span style="font-size: xx-small;">&lt;VirtualHost *&gt;<br />
DocumentRoot &#8220;/Users/yourusername/Sites/site-folder-name&#8221;  <span style="color: #0000ff;">&lt;&#8211; replace with your own appropriate info</span><br />
ServerName  localsite.you </span><span style="font-size: xx-small;"><span style="color: #0000ff;">&lt;&#8211; replace with your own appropriate info</span></span><br />
<span style="font-size: xx-small;"> ServerAlias </span><span style="font-size: xx-small;">localsite.you</span> <span style="font-size: xx-small;"><span style="color: #0000ff;">&lt;&#8211; replace with your own appropriate info</span></span><br />
<span style="font-size: xx-small;"> &lt;Directory &#8220;/Applications/MAMP/htdocs&#8221;&gt; </span><span style="font-size: xx-small;"><span style="color: #0000ff;">&lt;&#8211; do NOT change for MAMP</span></span><br />
<span style="font-size: xx-small;"> AllowOverride all  <span style="color: #0000ff;">&lt;&#8211; this allows the htacces file to work properly</span><br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</span></p>
<p>9) Save the Applications/MAMP/conf/apache/httpd.conf    file and RESTART your MAMP server.</p>
<p>Now, when you type in the  site   www.localsite.you  followed by your MAMP port (usually 8888) like this:</p>
<p><strong>http://www.localsite.you:8888</strong> your site will come up!</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubberneckdesigns.com/mamp/virtual-host-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewing the Websites You Are Developing Locally on Your Computer Using MAMP</title>
		<link>http://www.rubberneckdesigns.com/mamp/viewing-the-websites-you-are-developing-locally-on-your-computer-using-mamp/</link>
		<comments>http://www.rubberneckdesigns.com/mamp/viewing-the-websites-you-are-developing-locally-on-your-computer-using-mamp/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 00:50:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[UNIX / LINIX]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://rubberneckdesigns.com/?p=154</guid>
		<description><![CDATA[Normally, when using MAMP ( I am presently using the FREE version of MAMP) you view the site you are working on in a couple of ways. Put your web site in the    /Applications/MAMP/htdocs/     folder and point your browser to   http://locahost:8888/ or (This is what I like to do for multiple site management) Put [...]]]></description>
			<content:encoded><![CDATA[<p>Normally, when using MAMP ( I am presently using the FREE version of MAMP) you view the site you are working on in a couple of ways.</p>
<p>Put your web site in the    /Applications/MAMP/htdocs/     folder and point your browser to   http://locahost:8888/</p>
<p><em><strong>or </strong></em>(This is what I like to do for multiple site management)</p>
<p>Put your sites in appropriately named folders under the &#8220;Sites&#8221; folder.<br />
Click on MAMP Preferences and select the &#8220;Apache&#8221; tab. Then click the &#8220;Select&#8221; button and browse to the &#8220;Sites&#8221; folder.</p>
<p>That way, you can easily get to any of the folders by typing in the URL http://localhost:8888/. You will be presented with a list of folders (as links). These folders are the sites you are developing under the Sites directory. Just click the folder (link) you wish to view and you&#8217;re there.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubberneckdesigns.com/mamp/viewing-the-websites-you-are-developing-locally-on-your-computer-using-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

