<?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>benrobb &#187; *Nix</title>
	<atom:link href="http://benrobb.com/category/tech/nix/feed/" rel="self" type="application/rss+xml" />
	<link>http://benrobb.com</link>
	<description></description>
	<lastBuildDate>Wed, 14 Mar 2012 03:38:40 +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>Feisty Fawn, Radeon x1300, and 1920&#215;1200 Resolution</title>
		<link>http://benrobb.com/2007/05/29/feisty-fawn-radeon-x1300-and-1920x1200-resolution/</link>
		<comments>http://benrobb.com/2007/05/29/feisty-fawn-radeon-x1300-and-1920x1200-resolution/#comments</comments>
		<pubDate>Wed, 30 May 2007 01:43:01 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/05/29/feisty-fawn-radeon-x1300-and-1920x1200-resolution/</guid>
		<description><![CDATA[For all the weary googlers out there, this one is for you. I&#8217;ve recently installed Ubuntu 7.04 Feisty Fawn on my Dell Optiplex 745 Desktop which has a Dell 2407WFP Widescreen monitor plugged into it. During the LiveCD installation and afterwards, the best resolution I could get on the screen was 1600&#215;1200@60 which isn&#8217;t bad, but looks slightly wider than it should given that in Windows XP &#38; Vista (setup on different partitions) it displays [...]]]></description>
			<content:encoded><![CDATA[<p>For all the weary googlers out there, this one is for you.  I&#8217;ve recently installed Ubuntu 7.04 Feisty Fawn on my Dell Optiplex 745 Desktop which has a Dell 2407WFP Widescreen monitor plugged into it.</p>
<p>During the LiveCD installation and afterwards, the best resolution I could get on the screen was 1600&#215;1200@60 which isn&#8217;t bad, but looks slightly wider than it should given that in Windows XP &amp; Vista (setup on different partitions) it displays at 1920&#215;1200@60.  I used the <strong>Restricted Drivers Manager</strong> to install fglrx for the Radeon, but that didn&#8217;t help.</p>
<p>All my google searches related to the video card and the monitor inevitably led me to instructions dealing with installing the fglrx driver and running Beryl etc.  Nothing told me how to get my screen resolution bigger.  Basic edits to the Xorg file led me to several changes that didn&#8217;t work (and some that completely broke X, let that be a lesson to always backup before making changes&#8230;lucky for me I did).</p>
<p>I finally stumbled upon a bug that had been logged with a link to <a href="http://www.wiredfool.com/index.php?s=lcd+ubuntu&amp;sbutt=Go" title="Widescreen LCDs and Ubuntu Linux">this article</a> at WiredFool.  I followed the tips he had including cutting out a lot of the fluff in the Xorg file and used the <a href="http://xtiming.sourceforge.net/cgi-bin/xtiming.pl" title="Modeline calculator">Modeline calculator</a> that the article linked to.  I tried a few different runs through before I found one that displayed the way I wanted it.</p>
<p>I skipped everything in the &#8220;Monitor Configuration&#8221; section.  Filled in my <strong>Visible Resolution</strong> and <strong>Refresh Rate</strong> in the &#8220;Basic Configuration&#8221; section, and also checked the 16:9 <strong>Constrain Aspect Ratio box</strong>.  I left everything else the same and hit the calculate button at the bottom.  The Modeline is displayed at the top of the screen.</p>
<p>Your mileage may vary, but if perhaps you&#8217;re hardware is exactly the same as mine, here are the relevant portions of my xorg.conf file (although not formatted very well&#8230;you can add the tabs back in if you want).</p>
<p>Section &#8220;Monitor&#8221;<br />
Identifier	&#8220;DELL 2407WFP&#8221;<br />
Option		&#8220;DPMS&#8221;<br />
Modeline &#8220;1920&#215;1080@60&#8243; 182.28 1920 1952 2640 2672 1080 1102 1113 1135<br />
EndSection</p>
<p>Section &#8220;Screen&#8221;<br />
Identifier	&#8220;Default Screen&#8221;<br />
Device		&#8220;Generic Video Card&#8221;<br />
Monitor		&#8220;DELL 2407WFP&#8221;<br />
Defaultdepth	24<br />
SubSection &#8220;Display&#8221;<br />
Depth	1<br />
Modes	&#8220;1920&#215;1200&#8243;<br />
EndSubSection<br />
SubSection &#8220;Display&#8221;<br />
Depth	24<br />
Modes	&#8220;1920&#215;1200&#8243;<br />
EndSubSection<br />
EndSection</p>
<p>Good luck in all your Feisty adventures.</p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/05/29/feisty-fawn-radeon-x1300-and-1920x1200-resolution/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu Feisty Beta</title>
		<link>http://benrobb.com/2007/03/28/ubuntu-feisty-beta/</link>
		<comments>http://benrobb.com/2007/03/28/ubuntu-feisty-beta/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 22:02:10 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/03/28/ubuntu-feisty-beta/</guid>
		<description><![CDATA[So being a student I don&#8217;t have a lot of access to extra hardware to test out certain things, so I&#8217;ll freely admit that my testing of Feisty is patchy at best, because I&#8217;m limited to VMWare Fusion, but I&#8217;ll tell you what I&#8217;ve seen and beyond that, I&#8217;ve heard some good things. I saw in the news a month or so ago that Ubuntu was not going to make proprietary drivers available in Feisty. [...]]]></description>
			<content:encoded><![CDATA[<p>So being a student I don&#8217;t have a lot of access to extra hardware to test out certain things, so I&#8217;ll freely admit that my testing of Feisty is patchy at best, because I&#8217;m limited to VMWare Fusion, but I&#8217;ll tell you what I&#8217;ve seen and beyond that, I&#8217;ve heard some good things.</p>
<p>I saw in the news a month or so ago that Ubuntu was not going to make proprietary drivers available in Feisty.  This is what drove my whole <a href="http://benrobb.com/2007/02/19/a-formal-apology-to-the-gods-of-ubuntu/">gentoo experiment</a> in the first place.  The whole reason that I loved Ubuntu was the steady release and that everything worked.</p>
<p>You&#8217;ve all seen the tutorials floating around for getting XGL, AIGLX, Beryl, Compiz, etc. running on your favorite distro, but this is too much for me.  I consider myself a geek, but I don&#8217;t like wasting my time.  I&#8217;m pretty familiar with an apache.conf file, but beyond that, if it involves opening conf files or shell text editors, I&#8217;m done.  I&#8217;ll find something else.  I digress.</p>
<p>Ubuntu&#8217;s latest Feisty beta then came as a surprise.  Inside <strong>System &gt; Administration &gt; Restricted Drivers Manager</strong> you control what restricted drivers your system uses.  This is an auto-install of the proprietary drivers with an auto-detect included.  You can also control Desktop Effects grom the gui (I forget where).  If you use restricted drivers, Ubuntu will warn you that they do not support them, but they are available if you want to use them.</p>
<p>You can see my VMWare drivers in the Restricted Drivers Manager here.</p>
<p><a href="http://benrobb.com/wp-content/uploads/2007/03/restricted_drivers.png?9d7bd4" title="Restricted Drivers Manager"><img src="http://benrobb.com/wp-content/uploads/2007/03/restricted_drivers.png?9d7bd4" alt="Restricted Drivers Manager" width=460 border=0 /></a></p>
<p>What do you have that might need proprietary drivers?  Graphics cards and wireless cards are at the top of my list, and apparently, Ubuntu is good at getting the right ones.</p>
<p>Then as I began posting this, I heard another bit of news that makes this even better.  <a href="http://www.phoronix.com/scan.php?page=article&#038;item=671&#038;num=1">ATI has released their Catalyst Control Center for Linux</a>.  If you like hating on Microsoft and can&#8217;t afford Apple Computers, Linux is starting to shape up as a decent (and still free) option.</p>
<p>This is good news for Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/03/28/ubuntu-feisty-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Formal Apology to the Gods of Ubuntu</title>
		<link>http://benrobb.com/2007/02/19/a-formal-apology-to-the-gods-of-ubuntu/</link>
		<comments>http://benrobb.com/2007/02/19/a-formal-apology-to-the-gods-of-ubuntu/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 00:42:46 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/02/19/a-formal-apology-to-the-gods-of-ubuntu/</guid>
		<description><![CDATA[So I had a momentary lapse into insanity over this last President&#8217;s day weekend and tried out a few other distributions of Linux. I began with Gentoo. I believe that compiling software from source is the worst possible software distribution model, but I figure it&#8217;s always wise to know the enemy (and I saw a friend running it with some really sweet 3d animations). Gentoo I figured I&#8217;d give it a try. I will say [...]]]></description>
			<content:encoded><![CDATA[<p>So I had a momentary lapse into insanity over this last President&#8217;s day weekend and tried out a few other distributions of Linux.  I began with Gentoo.  I believe that compiling software from source is the worst possible software distribution model, but I figure it&#8217;s always wise to know the enemy (and I saw a friend running it with some really sweet 3d animations).</p>
<p><strong><a href="http://www.gentoo.org">Gentoo</a></strong><br />
I figured I&#8217;d give it a try.  I will say this for Gentoo.  There is some excellent documentation available and my knowledge of Linux and operating systems in general was greatly enriched, but it&#8217;s not for me.  I booted off their mini install CD, downloaded the stage3 tarball, unpacked it along with portage.  I partitioned disks with fdisk, I formatted partitions and put the ext2, ext3, and reiser filesystems on them.  I compiled kernels from source, and recompiled them when my ethernet drivers weren&#8217;t detected properly.  I manually configured IP addresses, I compiled X11 and got the graphical environment working.</p>
<p>I had two problems.  <strong>Problem 1:</strong> Despite excellent documentation, I still didn&#8217;t really know what to do when errors happened.  The documentation (while very good) gives you many options, but I still ran into errors that just weren&#8217;t accounted for.  <strong>Problem 2:</strong> Everything takes so long to compile.  X took hours.</p>
<p>Having done this, I can see why Gentoo could be (and probably is) much quicker than the other mainstream distros because every piece of software on the system is compiled for the exact hardware it&#8217;s running on.  If you hate software bloat, then Gentoo is the system for you, but after a weekend of experimentation, Gentoo is not for me.</p>
<p><strong>Others</strong><br />
I also gave Mandriva a run.  I downloaded the Mini iso of the 2007 distribution which promptly errored out in the install (it couldn&#8217;t find it&#8217;s own built in video drivers for my old nVidia GeForce4).  I went back to Ubuntu.  Sure it&#8217;s got a general kernel that still supports the i386 architecture, which means it doesn&#8217;t get top notch performance from my i686 processor, but it works.  It installed with no problems, updated itself, and let me configure it to work remarkably like my MacBook Pro.</p>
<p>So when it all came down in the end.  I still haven&#8217;t found a distribution that works for me as well as Ubuntu.  I don&#8217;t have the time to spend to do upkeep on a Gentoo system, and all those other mainstream distros are just so full of stuff (I&#8217;m not going to burn 4 cds just to test it out).  Ubuntu pulls through for me once again.</p>
<p>I&#8217;m sorry Ubuntu.  It won&#8217;t happen again.</p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/02/19/a-formal-apology-to-the-gods-of-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Howto: Port forward to Your Virtual Machine</title>
		<link>http://benrobb.com/2007/01/20/howto-port-forward-to-your-virtual-machine/</link>
		<comments>http://benrobb.com/2007/01/20/howto-port-forward-to-your-virtual-machine/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 18:36:49 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/01/20/howto-port-forward-to-your-virtual-machine/</guid>
		<description><![CDATA[So sometimes I do things just for the fun factor. As mentioned in a previous post, I like having Windows server, but I prefer Linux for web-hosting. I finally found the solution to do both at the same time on one machine. In the real world people have been doing this for years, but it’s a first for me. After doing all my installing, I then installed VMWare’s now free VMWare Server. I downloaded the [...]]]></description>
			<content:encoded><![CDATA[<p>So sometimes I do things just for the fun factor. As mentioned in a previous post, I like having Windows server, but I prefer Linux for web-hosting. I finally found the solution to do both at the same time on one machine. In the real world people have been doing this for years, but it’s a first for me.</p>
<p>After doing all my installing, I then installed VMWare’s now free VMWare Server. I downloaded the Ubuntu Server distro and decided on the 6.10 release dubbed Edgy Eft. It doesn’t have the LTS, but is perfect for my needs because the repositories include everything I need for my Ruby on Rails setup (including Lighttpd).</p>
<p>Then I just had to figure out how to get traffic from my host to my virtual host. I wanted to use Bridged Ethernet and did that originally, but even though my VM grabbed an IP address on my Lan, when trying to access it from another computer, I was told that there was:</p>
<p>No route to host</p>
<p>If you’re smarter than I am, you can probably figure out a way around this, but I was just trying to get it to work. I turned to NAT. Go to VM &gt; Settings &gt; Ethernet in your VMWare Server Console, select NAT, and click OK.</p>
<p>Now boot your VM log in, and run an</p>
<p>ifconfig</p>
<p>to see what your IP Address is. Again in your server console go to Host &gt; Virtual Network Settings. Select the NAT tab. Make sure to move this window so you can clearly read your VM’s IP address. VMNet8 is the default virtual adapter for NAT, so if this is your only VM go ahead and click the Edit button (if you have others, make sure to select the proper adapter for your VM from the dropdown menu, then click edit). Now click the Port Forwarding button and then the Add button. Fill in the host port, the VM ip address, and the VM port. For me this meant forwarding port 80 from the host to port 80 on the VM. Don’t forget a nice description. Click OK 4 times. Now just forward traffic through your router (as needed) and you’re good to go.</p>
<p>My Ubuntu VM is now serving Apache2+MySql+PHP5 to the world. Soon it will be serving Ruby on Rails.</p>
<p>For a graphical tutorial see:</p>
<ul>
<li><a href="http://www.vmware.com/support/ws55/doc/ws_net_nat_advanced.html" title="VMWare howto">The Official VMWare HowTo</a></li>
<li><a href="http://www.howtogeek.com/howto/vmware/allow-access-to-a-vmware-virtual-machinenat-from-another-computer/" title="How-To Geek">The How-To Geek</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/01/20/howto-port-forward-to-your-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Howto: Secure VNC through SSH Tunneling</title>
		<link>http://benrobb.com/2007/01/16/howto-secure-vnc-through-ssh-tunneling/</link>
		<comments>http://benrobb.com/2007/01/16/howto-secure-vnc-through-ssh-tunneling/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 18:26:18 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/01/16/howto-secure-vnc-through-ssh-tunneling/</guid>
		<description><![CDATA[So the my web server sits in the baby’s room at my house. It sits in the corner, and the only thing plugged into it is power and network. This is fine for just about everything that I do, but every once in awhile, I have a problem that requires a user interface. VNC to the rescue. Ubuntu comes with Vino, a little VNC Server, pre-installed. You can go to System &#62; Preferences &#62; Remote [...]]]></description>
			<content:encoded><![CDATA[<p>So the my web server sits in the baby’s room at my house. It sits in the corner, and the only thing plugged into it is power and network. This is fine for just about everything that I do, but every once in awhile, I have a problem that requires a user interface. VNC to the rescue. Ubuntu comes with Vino, a little VNC Server, pre-installed. You can go to System &gt; Preferences &gt; Remote Desktop to set a password, turn off local user verification, and turn on desktop sharing (as opposed to just viewing).</p>
<p>Then you find your favorite VNC viewer, and type in the network address of your server. This works fine as long as you’re on the local network, but what happens when you’re not on your local network. You could always forward the VNC port through your firewall (port 5900 by default), but VNC is not a secure protocol. Any password typed in would be transmitted in plain-text, and anyone in the world could intercept, and then control your computer, no hack attack needed.</p>
<p>This is where SSH comes to the rescue. SecureSHell (or SSH) creates an encrypted tunnel between two end-points over the network, and gives you a shell (command prompt for you windows folks) to the remote computer. It’s been around for years, it’s secure, and it continues to prove it’s worth as people come up with more and more uses for it. Tunneling is an example of this.</p>
<p>You can set SSH to accept traffic from a certain port on your computer, send it through an encrypted tunnel, and then end up at a certain port once it gets to the other side of the tunnel &#8211; SSH Tunneling.</p>
<p>So when I want to get a graphical interface to my server at home in my office, I can simply open my own shell (Windows users can use Putty) and type</p>
<p><code>ssh -L 5900:localhost:5900 username@remote.server.address</code></p>
<p>where the first “5900” represents the local port number and the second represents the remote port number.</p>
<p>You are then prompted for a password like any other SSH connection, and then logged in. Then you simply open your favorite VNC Viewer (I use VNCViewer on my Mac, Chicken of the VNC had serious speed issues) and connect to localhost. Your traffic which would normally be destined for port 5900 is forwarded through the tunnel and instead goes to port 5900 at the other end of the tunnel.</p>
<p>You’ve now got secure VNC.</p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/01/16/howto-secure-vnc-through-ssh-tunneling/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto: Start Subversion at Boot on Ubuntu</title>
		<link>http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/</link>
		<comments>http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 18:25:19 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/</guid>
		<description><![CDATA[I don’t know if I’ve extolled the virtues of Ubuntu on this blog yet, but they are many. They are, however, not the topic of this post. Every once in a while, I like to try different operating systems on my server, and at the moment, I’m just coming back to an Ubuntu server after a brief fling with Windows Server 2003. On the list of things to do after install was to get Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>I don’t know if I’ve extolled the virtues of Ubuntu on this blog yet, but they are many. They are, however, not the topic of this post. Every once in a while, I like to try different operating systems on my server, and at the moment, I’m just coming back to an Ubuntu server after a brief fling with Windows Server 2003.</p>
<p>On the list of things to do after install was to get Ubuntu to start the svnserve daemon at boot. I’ve taken the time to look this up enough times that I figured I’d just add it here. This procedure holds for anything you’d like to do at boot, I’m simply running my svn daemon.</p>
<p><strong>Step 1 &#8211; Create your script.</strong><br />
Simply create a new file (I called mine svnserve) and type the command you’d like to run</p>
<p><code>cd /etc/init.d/ # (thanks Alfonso)<br />
sudo touch svnserve<br />
sudo vi svnserve<br />
svnserve -d -r /usr/local/svn/repository_name</code></p>
<p><strong>Step 2 &#8211; Save the script in the /etc/init.d/ folder</strong></p>
<p><strong>Step 3 &#8211; Make the script executable</strong><br />
<code>sudo chmod +x svnserve</code></p>
<p><strong>Step 4 &#8211; Add the script to the boot sequence</strong><br />
<code>sudo update-rc.d svnserve defaults</code></p>
<p>That’s it. When you’re done you should see some output similar to</p>
<p><code>Adding system startup for /etc/init.d/svnserve ...<br />
/etc/rc0.d/K20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc1.d/K20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc6.d/K20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc2.d/S20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc3.d/S20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc4.d/S20svnserve -&gt; ../init.d/svnserve<br />
/etc/rc5.d/S20svnserve -&gt; ../init.d/svnserve</code></p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Howto: Remote Root Access to MySql</title>
		<link>http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/</link>
		<comments>http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 18:24:11 +0000</pubDate>
		<dc:creator>benrobb</dc:creator>
				<category><![CDATA[*Nix]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/</guid>
		<description><![CDATA[Very quickly, another thing that I typically like to do on my server boxes is allow root access to my Mysql database from remote computers. I don’t forward the port through my router and I use a very secure password (doesn’t everyone?). I don’t want to create a security risk, I just want to connect to the database from other computers around my network &#8211; particularly from my laptop. Again (like most of my instructions) [...]]]></description>
			<content:encoded><![CDATA[<p>Very quickly, another thing that I typically like to do on my server boxes is allow root access to my Mysql database from remote computers. I don’t forward the port through my router and I use a very secure password (doesn’t everyone?). I don’t want to create a security risk, I just want to connect to the database from other computers around my network &#8211; particularly from my laptop.</p>
<p>Again (like most of my instructions) these instructions are for Ubuntu &#8211; currently Edgy Eft.</p>
<p><code>sudo apt-get install mysql-server</code></p>
<p>Ubuntu installs Mysql at /etc/mysql/ by default. Now we need to set a root password.</p>
<p><code>mysql -u root<br />
mysql&gt; SET PASSWORD FOR 'ROOT'@'LOCALHOST"<br />
&gt; = PASSWORD('new_password');</code></p>
<p>Now while we’re still here, we’ll create a new HOST for root and allow root to login from anywhere.</p>
<p><code>mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'<br />
&gt; IDENTIFIED BY 'password' WITH GRANT OPTION;<br />
mysql&gt; FLUSH PRIVILEGES;<br />
mysql&gt; exit</code></p>
<p>Thanks to Thom for the Flush Privileges comment.  I think it depends on other settings in your MySQL setup, since I didn&#8217;t have to, but just in case, I&#8217;ve added it here.  We’re almost done now. We just have to tell Mysql to allow remote logins.</p>
<p><code>sudo vi /etc/mysql/my.cnf</code></p>
<p>Out-of-the-box, MySQL only allows connections from the localhost identified by the IP Address of 127.0.0.1.  We need to remove that restriction, so find the line that says</p>
<p>bind-address = 127.0.0.1</p>
<p>and comment it out. That’s all there is to it! Now get your favorite MySql client and start developing.</p>
]]></content:encoded>
			<wfw:commentRss>http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 4/11 queries in 0.004 seconds using disk: basic
Object Caching 808/817 objects using disk: basic

Served from: benrobb.com @ 2012-05-18 04:23:31 -->
