How to Crearte a RAID 1 (Mirror) Without a Reformat (0)
http://www.afp548.com/article.php?story=20040827122302975




So if you're like me... you love VNC - a brilliant, open source, remote display technology, that's platform agnostic.
Take control your OS X Mac from a PC, Linux, Palm or just about anything.
Thankfully the server has been available for OS X for quite some time courtesy of OSXvncOften I find myself in a situation where I'd like to use VNC on a machine that I only have SSH access to. Problem you say?
Hardly... just a few simple command and you'll be up and running!
- SSH to the machine you want desktop/aqua access to
- Download VNC
- curl -O http://aleron.dl.sourceforge.net/sourceforge/osxvnc/OSXvnc1.33.dmg
- Mount the DMG and copy the files to the Utilities folder
- hdiutil mount OSXvnc1.33.dmg
- cd /Volumes/OSXvnc
- cp -R OSXvnc.app /Applications/Utilities
- cd /Applications/Utilities/OSXvnc.app
- We need to setup a password file before launching VNC, so
- ./storepasswd mysecurepassword .osxvncauth
- That's pretty much it... we're ready to go. Launch the server with
- ./OSXvnc-server -rfbport 5900 -desktop mymac.local -dontdisconnect -restartonuserswitch N -keyboardLoading N -pressModsForKeys N -swapButtons -rfbauth /Applications/Utilities/OSXvnc.app/.osxvncauth &
We now can connect to the IP of the machine using the password of "mysecurepassword" Just fire up your favorite VNC client on whatever operating system you choose, and connect to the server. Since we used the '&' to load the process in the background, use ps to grab the PID and kill the server when you're done. Also, I've assumed that you aren't running a firewall blocking the vnc port - if you can't connect you might want to check that out.
There's lots of other great options, like tunneling the VNC server through your SSH connection and setting up VNC as a startup item from the command line. Perhaps I can cover that in another article if anyone's interested.
As for me -- I'm Adam Lavelle -- Consultant and Trainer for MOST. I can be contacted at Adam[at]MostConsulting.com
Sure, we all know Video Lan Client (VLC) as the best media player available for OS X.
Did you know Video Lan Client also will function as a streaming server?
Sure you could setup Video Lan Server (VLS) to
stream video but really it's not necessary.
So let's cover the theory first:

For this demo I'll stick to streaming a DVD from my G5 (OS X 10.3.4 Panther).
After downloading the latest
version, and launching the application you should
see:

Now you're ready to watch your favorite movie, but lets look at streaming it too:

I'm going to check Advanced output, then click on settings.

Settings:

I've checked the stream option, set the type as HTTP, and added my IP address.
I'm going to leave the Port as 1234, and MPEG TS as the Encapsulation Method.
The play locally option will also show the movie on your computer.
Otherwise you won't see the media that you chose to stream.
Unless you've got a G4 or higher, I'd skip the play locally option.
Hit the OK button twice, and your streaming the file using HTTP.
You'll either see the movie on your machine, or just the progress indicator
depending your play locally selection.
Address field notes: The address field can be either a unicast or multicast
address.
Also, if you are using something other then HTTP, you would typically put the
address of the client you are streaming to.
Transcode options: If network speed is a concern, consider transcoding your
video to a lower bitrate.
Keep in mind, streaming a DVD using HTTP will likely use 4-9Mbps per client.
Stream Announcing: This applies more if you intend to stream with UDP and
perhaps multiple media files at the same time.
For HTTP it's not an option.
It's as simple as that! Your ready to connect other VLC(s).
Assuming we've gone to another machine, and have launched VLC.
Choose the Open Network option.
Type the IP and Port (IP:PORT) addresses you specified earlier.

Hit OK and your now viewing the media streamed through HTTP!

Piece of cake right?
So perhaps you've noticed that the movie picks up at the location of the media
file based on the streaming machine.
Since you don't have a remote, VLC ensures you can still pause,
skip,
or
whatever.
On the streaming machine simply turn on the web interface:

Now you can connect to the machine and control everything.
Simply point your web browser to http://(IP Address):8080

Voila, you've got full control of the streaming machine!
Video Lan Client is an amazing program, that can easily be used for a variety
of tasks.
Streaming a DVD is great, but how about streaming your latest office training
video?
Perhaps you want to give people a sneak peak at the documentary you've been
working on?
In this article we've really only scratched the surface of what VLC is capable
of.
If you're interested in learning more check out www.videolan.org .
As for me -- I'm Adam Lavelle -- Consultant and Trainer for MOST. I can be contacted at Adam[at]MostConsulting.com
Unix
The best way to protect yourself is NOT to use any Microsoft Products if possible, and to make sure your servers have the latest Security Updates to Apache, and other Internet-available Services. Enjoy OS X!