It was the PRAM

Last week I bought another Kingston 96GB SSD drive from Newegg. This was my second SSD from Kingston. I’ve had a great experience with the first one so I figured why not get another, plus the price was good… pretty much $1 per GB.

Anyway, I had a nightmare getting this installed on my new 2011 MBP 15″. First I tried to clone the old HDD with the new SSD using the Acronis utility software that came with my first SSD. That didn’t work because it didn’t recognize the OS X partition. Then I tried to use Disk Utility to do a restore. Found out it won’t work because the original drive is 500GB while the SSD is only 96GB. So I get an error that says it won’t work because there’s not enough room. Then I tried to do a clean install onto the SSD after I installed it on my MBP, I kept getting an error.

It reminds of the errors I’d get using Windows. You know, the short and sweet ones that don’t explain anything.

The next thing I did was I put the SSD into a USB enclosure then plugged it into my iMac. I was able to install Lion 10.7 on there so that tells me the DVD isn’t messed up and the SSD drive is working. With Lion finally installed, I installed the SSD back on my MBP and it ran weird and slow. I tried to do a clean install again, and again the error (There was a problem installing “Mac OS X”. Try reinstalling.).

I finally Googled the error and found people resetting their PRAM (hold Option+Command+P+R while your Mac boots up… let go once it restarts). This fixed the issue and I was able to do a clean install… finally.

I have installed Lion using a DVD and a pen drive. The DVD install took 30-40 minutes while the USB pen drive took 1.5 hours. It’s weird but that’s what I got. Maybe my pen drive sucks. My guess was the USB install would’ve been quicker but I was wrong.

Now my 2nd Gen i7 with 8GB of ram is using SSD (SATA2 – 3Gbps). It’s running great. Once the SATA3 SSDs become more affordable, I may upgrade again.

 

 

 

Installing PEAR on Godaddy shared accounts

I recently found out how to install PEAR on a Godaddy shared hosting account.

  1. Visit http://pear.php.net/go-pear. Save the text displayed onto your desktop and name it go-pear.php. Upload this to your server. If you’re hosting multiple domains on the account, it’s best that you should upload this file in your root folder. Run this file on your browser and follow the on-screen instructions.
  2. After completing the installation, it is time to edit your php.ini file. If you are running PHP4, there should be a file in the root directory called php.ini. If you are running PHP5, there should be a file in the root directory called php5.ini. If not, create one and add the following: include_path = “.:/usr/local/php5/lib/php:/home/content/s/a/m/sample/html/PEAR”. Keep in mind that /s/a/m/sample is just an example. Doing this will ensure that every page, you create, will look in the PEAR directory so that you it will use the installed packages.
  3. This installation will include Pear_Frontend_Web which is the web-based admin interface. It may have created an index.php file in the directory where PEAR is installed (root). If not you can get a copy from PEAR/docs/PEAR_Frontend_Web/docs/index.php.txt. I would suggest creating a folder called pear_admin in the root directory and storing this file there. If you didn’t install PEAR in the root directory, you may need to edit this file accordingly.
  4. You will need to create a .htaccess and .htpasswd file in the same directory as the index.php file. An example of how the .htaccess file should look as follows:
    AuthUserFile /home/content/s/a/m/sample/html/pear_admin/.htpasswd
    AuthType Basic
    AuthName “Web-based PEAR Frontend”
    Require valid-user

    An example of how the .htpasswd file should look as follows:


    admin:cGyUX9QugYMgE

    This will create “admin” as the user name and “password” as the password. You can generate your own by going to this link – http://www.htaccesstools.com/htpasswd-generator/

    Be aware that files beginning with a dot are invisible. You may have to edit your settings on the FTP app you’re using so that you can see them.

Once the files are created and saved, you can now go to http://your-domain.com/pear_admin/index.php. It will ask for the user name and password. Once you are logged in, you can now manage Pear via web browser. That’s it! Now you can run PEAR on a shared account from Godaddy. One less complaint :)