FTP server on MacOS X Lion

Can’t remember why, but I needed to transfer files from my MacBook using FTP. There is no way to enable FTP from the System Preferences. But you can enable/disable it from the console:

# sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist # netstat -na | grep LISTEN tcp6 0 0 *.21 *.* LISTEN tcp4 0 0 *.21 *.* LISTEN (...)

Once enabled, you can log in using the usual user account.
To disable the daemon, simply:

sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

Indeed, the best solution is to use FTP over SSH. Click the “Sharing” button in the “System Preferences”. Select “Remote Login” and allow the access for some or all users. Now, you can use sftp to transfer files in a safer way.

Mac OS X Lion on vSphere ESXi 5

I find my MacBook Pro mid-2009 quite slow when rendering my personal H.264. I would like to see if the Sandy Bridge Core i5 2500T in my hypervisor does a better job. So I installed Mac OS X Lion as a virtual machine on my ESXi v5.

I’m not sure about licensing… Purchasing Lion for App Store for your Mac, you seem to have the right to install it on every Mac you own… My Hypervisor is not a Mac… But I bought Lion… Anyway, here’s a simple way to install Mac OS X Lion in ESXi 5.

Continue reading “Mac OS X Lion on vSphere ESXi 5”