Mac OSX Mountain Lion 10.8.5 Just Released


Mountain Lion 10.8.5 just released and available for download. All users with 10.8.4 are recommended to upgrade.

I just upgraded my macs without any issues. All apps work fine including my Time Machine setup using shared folder in Ubuntu. No additional setting needed.


Share DVD drive in Ubuntu 11.04 for Diskless Mac using Open SSH and Macfusion

Sharing folder is one of important features that you must have if you work with multiple computers in a network. In my home office I use Ubuntu 11.04 as my file server. I have Mac and Windows boxes in the network and I have common files that are used by many users like pictures, musics, etc.

If you use diskless Macs like Macbook Air or Mac Mini, of course you would need to use the DVD drive in other machine or buy external DVD drive. I have shared to you how to Setup Shared DVD in Ubuntu for Mac OSX Lion using AFP and netatalk. It works fine, but rather slow.

There is another solution we can use is using Open-SSH. I recently test using it. It works fast, faster than using netatalk. I think comparable with SMB file sharing. And the setup is simple.

This article tells you how to set it up. We will use a very useful tool Secured Shell (SSH) using openssh in Ubuntu 11.04 Natty Narwhal. This should also work in newer Ubuntu 11.10 Oneiric Ocelot or other version of Ubuntu. Let’s start how to do this.

Setup OpenSSH

Login to your Ubuntu PC. Open terminal, then type:

sudo apt-get install openssh-server

The command will use standard setting for ssh such as use standard port 22 for ssh, and use protocol 2. You can change the setting if you like, for example if you would restrict access based on IP for your ssh server. Or just skip you don’t change anything.

sudo nano /etc/ssh/sshd_config

Setup your DVD media

You need to tell ubuntu to auto mounting the DVD drive with generic mounted volume so we can set it as shared volume.

sudo nano /etc/fstab

Add the following line at the end of the file.

/dev/dvd /media/dvd auto user,noauto,exec,utf8 0 0

Setup Macfusion

To access the server from Mac, I use OSX Fuse and Macfusion, download both software. You need OSX Fuse to run Macfusion. Install OSX Fuse and then Macfusion. Make sure you install Compatibility Layer when installing OSX Fuse. Then follow the rest of installation instruction to complete the setup.

Open MacFusion click the “+” sign at the left bottom to add new device. Then select SSHFS option. Go to SSH tab. I name it DVD, fill the IP as your SSH server IP, User Name and Password as what you have defined at your server, and fill the Path as your share folder that you setup in Ubuntu server.

Ignore the SSH Advance tab if you use the default settings at your server. Go to the Macfusion tab,  leave the Mount Point as default and fill the Volume Name as you wish to be displayed in the mounted device at your Mac, I fill it “Remote Disc”. You can change the icon if you like.

To mount your new drive, just click mount. You will be ask to enter the password, key in the password and click the check box Save Password in Keychain.

Your mounted drive will be on your desktop. To access it from any application, enable the home folder at your favorites in the Finder preference setting. Open Finder – Preferences, click Sidebar tab, click the check box of your machine under Devices.

Once completed, open Finder, click your Mac machine under Devices at Sidebar. You will see mounted DVD is on the list.

Share my DVD drive with my Mac Mini over LAN

Back to the old time of Mac Classic

Remembering the good and the bad things in the old time always make me smile. This is exactly what I feel when trying an old style theme of Mac. I found an old Mac OS 8 “Classic” theme. You see the above screenshot: the window borders, tabs, fonts. The Mac OS 8 was firstly introduced by Apple in July 26, 1997.

It’s 14 years ago, wow! What did you look like 14 years ago?

I setup the “Classic” Mac OS theme on Ubuntu 11.04 with classic desktop (of course). I activate the global menu applet, adjust the panel, set the right font, and of course the wallpaper.

To make it feel more real, I also use the old Netscape theme on the Firefox internet browser. I am still looking for the icons, could not find one yet. But I already really feel the old time when using it.

Mac OS Classic Platinum 1.0 theme
Wikipedia, Mac OS 8

Setup Shared DVD in Ubuntu for Mac OSX Lion

For you who have diskless Macs like MacMini, or Macbook Air with OSX Lion loaded will obviously need to have access and use the external DVD drive. I have Ubuntu 11.04 and would like to use its DVD drive. It’s a bit tricky to do it in Ubuntu 11.04 box. This guide will help you how to solve the problem.


Read more of this post

Install LAMP in Ubuntu Natty Narwhal

Linux, Apache, Mysql, and PHP server is my favorite web server environment that I like. This article shows how to set it up properly. First note your IP server of Ubuntu PC.

Setup MySQL

You have to run the steps as root, so be careful.

sudo su

apt-get install mysql-server mysql-client

During the setup you will be asked to change SA admin password. Please do so to make sure your database is secured.

Install Apache

apt-get install apache

After installation completed, open the browser and go to the server, enter your server IP at the browser address. You should see “It works!”, then your apache setup is working.

Apache’s default document root is /var/www on Ubuntu, and the configuration file is /etc/apache2/apache2.conf. Additional configurations are stored in subdirectories of the /etc/apache2 directory such as /etc/apache2/mods-enabled (for Apache modules), /etc/apache2/sites-enabled (for virtual hosts), and /etc/apache2/conf.d.

Install PHP

Go to terminal again and type this command.

apt-get install php5 libapache2-mod-php5

Restart apache to run the PHP engine.

/etc/init.d/apache2 restart

To test if the PHP installation is ok we create new php file.

nano /var/www/info.php

Enter this code then save the file and exit from the editor.

Test it in your browser add /info.php after your IP server. You should see PHP configuration and information. You can check if all settings are as you expected and you may add or activate service, libraries, etc. if you like.

Setup MySQL Modules In PHP5

To get MySQL support in PHP, we can install the php5-mysql package. It’s a good idea to install some other PHP5 modules as well as you might need them for your applications. You can search for available PHP5 modules like this:

apt-cache search php5

Pick the ones you need and install them like this:

apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

Now restart Apache2:

/etc/init.d/apache2 restart

Now reload info.php in your browser and scroll down to the modules section again. You should now find lots of new modules there, including the MySQL module.

And install phpmyadmin a nice database tool to manage Mysql database so easier for you to access the database from any PC or Mac in the network.

apt-get install phpmyadmin

Finished! All you need to setup LAMP in your Ubuntu are done.

Install Macbuntu in Ubuntu 11.04

After installing Natty, I want Macbuntu theme as well. Unfortunately the installation package is only available for Ubuntu 10.10. The package cannot not be installed on Natty. I read that many fans asking for 11.04 version on the Macbuntu site. While waiting for the official release of Macbuntu 11.04 let’s use the available version. It works with a bit tweaks.

I have completed the installation successfully without any problem. Here is how to do it. Read more of this post

Installing Natty Narwhal

It is not that easy for me to install the new Ubuntu 11.04 Natty Narwhall.  I decided to do a fresh installation. But I got no luck on my first try. My PC was hang at the end of installation, it didn’t want to restart. My standard procedure is to check on Google if anyone else have same experience. No story about it yet. Then I tried to install without ticking update option checked and download apps. Another problem the PC hang up again soon after I logged on.

Then after several searches I found out the problem is my Nvidia card wasn’t recognized by Natty. So I disabled the Unity and use classic option that you can choose in logon screen. After successfully log on, Natty offered me an additional driver for my graphic card. I choose the recommended driver, but it was a wrong choice, my PC hang up again. Then I choose another driver (173), it works finally!

This is my first experience with Unity. I don’t like it, yet, may be I just need to get use to it. I leave it for now. Nothing I can do with it, no setting, no preference option. I also don’t like the standard font size. I think they are too big. I am not that old, and they look ugly. I scale down the size, choose the font setting, all down sized by 1, so most of the size I use is 9 or 10 points. Now it looks pretty okay.

I also feel that performance of Natty is not as responsive as previous version. After I clicked an icon on the bar, the program is not immediately pop up, nor hour glass. May be it needs more resources than I have. I use Intel’s core 2 duo processor with 2 gb memory.

Then download important apps, check to software center, download Chromium browser, Gimp, what else? Shotwell and Rhythmbox are also nice for now so I can play music when checking new things in Natty.

I choose one photo I took last week on an Art Bazaar. Crop it using Shotwell to screen size, then setup as my wallpaper. Do you like it?