Showing posts with label Mac OS X. Show all posts
Showing posts with label Mac OS X. Show all posts

Sunday, March 02, 2014

How-to: Install Ubuntu 14.04 Trusty Tahr On Macbook Pro [updated to 16.04]

Installing Ubuntu 14.04 Trusty Tahr on Macbook Pro 13" i7 now can be done easily. Here are step-by-step to make Ubuntu Trusty works on MBP:
  1. Download the Ubuntu for Mac ISO image (daily build), listed here.
  2. Make the iso file bootable from usb or external harddisk by using start up disk creator (Dash >> Startup Disk Creator).
  3. Make partition for Ubuntu allocation from Mac using Disk Utility
  4. Install rEFIt on Mac, make sure the installation was succesfull. If it can't be instaled, change the setting in System Preference to allow installion from outside applel store. I prefer rEFIt than rEFInd.
  5. Reboot, Install Ubuntu from the disk (ubs or external harddisk)
  6. After installation, some features are not working properly. Please refer to this page, download the Ubuntu driver for mbp and install it. However, it didn't work, we skip this step, but we need it to install additional driver from mactel-support.
  7. Install Macfan: sudo apt-get install macfanctld Install MBP Fan daemon
    cd /usr/local/src
    git clone https://github.com/dgraziotin/Fan-Control-Daemon.git
    cd Fan-Control-Daemon
    make
    sudo make install
    sudo cp mbpfan.upstart /etc/init/mbpfan.conf
    sudo start mbpfan
  8. (not)Finish! enjoy your Ubuntu on mbp and keep fighting to face the problem :)
Trusty on MBP, still without wlan

Wednesday, November 30, 2011

Solve Save Figure Problem On Octave (Ubuntu and Mac)

When I use the "print" command on GNU Octave to save figure/plot I got the following error. The errors were occurred in both Ubuntu 11.10 and Mac OS X.

Warning: query
error: value on right hand side of assignment is undefined
error: `tmp' undefined near line 57 column 11
error: evaluating argument list element number 1
error: evaluating argument list element number 1
error: called from:
error:   /usr/share/octave/3.2.4/m/strings/cstrcat.m at line 57, column 2
error:   /usr/share/octave/3.2.4/m/plot/print.m at line 707, column 7
The, I ask my friend and he give me the solution. The solution is to comment two lines in cstrcat.m according to the error.
sudo nano /usr/share/octave/3.2.4/m/strings/cstrcat.m
 Find the following line,

Tuesday, November 08, 2011

Enable SSH File Sharing in Mac OS X


Sometimes, we need to communicate or transfer data among our laptops/PCs. Instead of using storage media such as removable disk, the use of network connection is better and faster. This article will briefly explain, how to share your file in Mac OS to other PCs like Ubuntu Linux and Windows. Let's start.
The Apple Mac OS X has SSH by default has installed. Nevertheless, the SSH daemon is not enabled by default. It means you can not login remotely or do remote copies from another PC until you enable the SSH.
So, to enable SSH, just go to System Preferences in your Mac. Under Internet & Networking there is a Sharing icon. Please, click that icon. In the list appears on screen you can check the Remote Login and File Sharing option.
Sharing Menu on Mac OS X
This steps begins the SSH daemon immediately. Now, you can remotely login using your username and password. The Sharing screen at the bottom shows the name and IP address to use. You can also find this out using whoami and ifconfig from the Mac Unix Terminal.

Now, you can access your Mac from another PC. Just, install the required program in another PC such as openssh. In ubuntu, you can use the following commant (in terminal) to install openssh.

sudo apt-get install openssh
That enables ubuntu to access your Mac from terminal or nautilus file management.
Related Posts Plugin for WordPress, Blogger...