computer

Xtand and LogMeIn Ignition

I give credit to my buddy Brent Flink ( @indivisual ) for showing me LogMeIn and it’s super cool (and somewhat overpriced at $29.99 US) iPhone/iPad app LogMeIn Ignition.

LogMeIn is a web-based VNC service that allows you to install its free software on your Mac (or PC) and not only access, but control that computer from a supported web browser. Unfortunately, though Mobile Safari on the iPad and iPhone is one of those supported browsers, when you try to control the cursor within LogMeIn’s web-based VNC, you only end up controlling the view of the screen in the browser.

So, in order to control your Mac at home from your iPad in a coffee shop, you first need to have signed up for a FREE LogMeIn account, installed and activated the software on your Mac. Then you can share your Mac through LogMeIn. Now, when you launch LogMeIn Ignition on your iPad or iPhone, you can control your home computer from the road.

My favorite thing I’ve done with LogMeIn is use it to help me send files to clients that I couldn’t keep with me on my iPhone or iPad. While controlling my home Mac, I save the file to my Dropbox folder. This sets Dropbox to work making that file available to me online via the FREE Dropbox App on my iPad or iPhone. I still don’t actually have the file on those devices, but I can get a link to where it has been stored online by Dropbox that I can paste in an email on my iPhone and send it to my client. Problem solved.

No Flash? No problem—click here!»

My little joke at the start of the video below made use of a very cool iPhone stand called the Xtand.1 It’s a nice iMac-like stand that will hold the iPhone 3G, 3GS or 4. It sells for about $39.99 US2

As I mentioned at the end of the video, there is another service called TeamViewer that offers many of the same features of LogMeIn but offers FREE lite versions of its apps for iPhone and iPad …though its full-featured apps sell for $99.99 US for the iPhone version and $139.99 US for the iPad version. Suddenly, $29.99 US doesn’t seem so bad to me.

  1. I’m actually not sure if I’m supposed to pronounce it “EKS-tand” or “ztand”…clearly I chose “EKS-tand” []
  2. the one I used in the video is available for $35.99 CDN if you can get to MacStation in Abbotsford before they sell it icon biggrin Xtand and LogMeIn Ignition []

Web Serving Made Easy Part 4

By: Jon Gales

Alright. By now you’ve got PHP running and know how to do CGI scripts. If
you’ve forgotten, check last
week’s
column. There is some good and bad news this week. The good news
is that this is a pretty darn long/good/amazing article. The bad news is that
it’s the end of the series. if you’ve enjoyed or even just followed this series
I’d like to hear from you. PowerUser Monday
isn’t going away–just the web serving series. Also, if you’ve gotten a website
set up from this I’d like to get your link so I
can
add them
to the bottom of this page (hopefully
get you some traffic as well).

Now we’re going to install MySQL. It’s the most popular open source database
in the world and it just rocks. It’s often used with PHP and web applications
because:

  • It’s free
  • It kicks serious butt
  • It runs on Windows, *nix and OS X

Instead of downloading source code and having the joys of learning how to
compile it, we’re going to cheat and use a package made by the MySQL people.
This is new to version 4.0 (just came out) and it rocks. Visit this
page
and
download the file. Be nice and give them your info–they aren’t spammers. They
have given a good chunk of their lives for this software… Give them honest
answers. It’s a 7.1 meg download which isn’t bad for what you get.

You’ll find the downloaded file in your default downloads folder called, “mysql-standard-4.0.12.dmg“.
Just double click on it like any other DMG. Inside you’ll find a package (yep,
that’s what that those box icon thingies are)–double click it. The installer
is self explanatory.

Since it’s unix software you won’t see a GUI application. To start it up you
must delve into the terminal. If you feel inclined (you should) install a
script by Marc
Liyanage
that boots MySQL at startup. To start it without having to restart
your computer just pop open the terminal and type the following:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(Enter your password)
(Press CTRL+Z)
shell> bg
(Press CTRL+D to exit the shell)

If you have problems, refer to MySQL’s
OS X installation guide
. It sums it
all up well.

Now, you need to set your password. Enter the terminal again and type:

mysqladmin -u root password YOURNEWPASSWORD

Try to make this secure, you won’t need to type it in much and it’s important.

Now, we want to do something with our newfound database. You can download
a great Cocoa app called YourSQL that will log in for you and let you muck
around a little easier than in the Terminal. It’s free and I use it all the
time. However, the remainder of this app will focus on setting up a CMS that
uses MySQL, not MySQL (that’s another week folks).

Weblogs are hot right now and a lot of people either have or want to have
one. If you’re one in the second category wish no longer. Go to pMachine.com and
download a copy (it’s free). I use it and love it. There are lots of other
great free Content Management Systems like MovableType, PHP Nuke, and B2 but
pMachine is just plain easy (and the programmer is a big Mac guy).

Go to /Library/WebServer/Documents/ and drag all of the files
from the pMachineFree2.2.1
folder to it. Once that’s done point your browser to http://localhost/pm/install.php
and follow the on screen directions. Below are some pointers.

It will probably say you have to mess with config.php. Just open it up (it’s
in the pm directory) in a text editor and make the following changes:

$hostname = "localhost";

$dbusername = "root";

$dbpassword = "YOURNEWPASSWORD";

Obviously YOURNEWPASSWORD is what you entered prior in the MySQL installation.
If all goes well you should see some green when you refresh step two. The rest
of the installer is self explanatory. When you get to the part where it asks
for the domain make sure you don’t leave it as localhost if you’ve registered
a domain. if you need help on this, check part
2
.

You’ve now got a dynamic database powered weblog hosted off your computer!
You can administer things via http://localhost/pm/.

If you don’t like the template, feel free to change it. All it takes is a
text editor (yes, Dreamweaver or GoLive will work) and mess with the files
in /Library/WebServer/Documents/. For instance, weblog.php is the main
page. It’s pretty easy hacking. My weblog is powered by pMachine if you want an example of what can be done (don’t use mine as a high bar, it sucks icon razz Web Serving Made Easy Part 4 ).

Again, let me know how it goes. I love
feedback.Many thanks to Marc for the great
reference
he’s got. Check it out–he’s
a God send.

User submitted sites:

Colin Lochhead

Free VPN, Secure too

What is SSH tunneling?

SSH is a secure way to log on to a computer remotely. Mac OS X has SSH built-in. Tunneling is using an encrypted SSH connection to forward ports.

Why would you want to do this? SSH tunneling can secure VNC sessions over the internet. In fact, you can route any kind of TCP traffic like HTTP and FTP. The next two utilities make it easy to connect securely over an SSH connection.

Fugu

We’ve featured Fugu for its SFTP capabilities. This utility also creates tunnels for accessing other services on SSH connected machines.

fugussh Free VPN, Secure too

You’ll need to know the IP of the remote Mac and the ports you want to forward. Once connected, you can use your local IP (127.0.0.1) to connect to the remote Mac in VNC or your application of choice.

JellyfiSSH

This utility is a bookmark manager for connections to Unix machines. It will manage saved connection settings for remote Macs.

jellyfissh Free VPN, Secure too

As you can probably guess, this utility is for more than remote terminal sessions. You can save tunnel settings for each connection making it easy to reconnect your frequently used tunnels.

HamachiX

If you more of the zero-configuration type, you’ll be interested in Hamachi. This free VPN application uses a free online service to connect your and our friends’ computers to a network you create. Hamachi navigates NAT firewalls to join computers on these networks.

hamachix Free VPN, Secure too

HamachiX is a OS X front-end for a terminal client made by the Hamachi project. With a little work you can stream your iTunes to other Macs or PCs all over the ‘net.

Happy VPN tunneling!

Brian