Installing Netbeans and VMware

When using VMware you are allowed the option to share your folders with the host OS. Having a Windows VM will set the user’s home directory to “\\vmware-host\Shared Folders” which allows the guest and host OS to share the documents, downloads, and desktop. This is a great feature but can sometimes cause issues when installing certain applications. In my instance when trying to install Netbeans on my Windows VM I would receive an error: “Cannot create local directory: \\vmware-host\Shared Folders\.nbi” Fortunately for us, the Netbeans installer accepts some command-line arguments. We need to set the NBI Working Directory to something other than the default home directory. To do this execute the Netbeans installer using the –userdir argument.

<PATH TO NETBEANS INSTALLER EXE> --userdir "C:\Users\<YOUR USERNAME>"

If your folder in the Users folder has a space in it then make sure to put quotes around the entire file path to avoid errors.

Another tip/trick to quickly open up a new command prompt window and cd into a directory is to shift right click in the folder and click “Open command window here.”

Advertisements

#installing, #issue, #nbi, #netbeans, #vmware, #windows

Add SASS/SCSS Support to Netbeans 7.X

Overview:

What this post will go over is how to set up SASS/SCSS support for Netbeans 7.X (Please do not follow this page if you are using Netbeans 8.0 or higher). In this example I am running Mac OSX but the steps should be similar for Windows or Linux (other than file locations).

What You’ll Need:

  1. Netbeans 7.4
  2. Ruby (this comes with Mac OSX)
  3. Ruby Gems
  4. Sass Gem

Preface

This page was written for Netbeans 7.X and below. As of Netbeans 8.0 and above they have added support for SASS and LESS natively! You do NOT have to follow these steps if you are using Netbeans 8.0 and above.

Continue reading

#css, #less, #netbeans, #sass, #scss

Connecting to a Vagrant Box using SSH for FTP and MySQL

Overview:

What this post will go over is how to connect to a FTP and MySQL server using a Vagrant environment provided by a PuPHPet VM.

What You’ll Need:

  1. Vagrant set up on your dev box
  2. A PuPHPet local VM set up (in this example I run CentOS 6.4)
  3. a MySQL database management software (in this example I use MySQL Workbench)
  4. a FTP client (in this example I use FileZilla)

Continue reading

#ftp, #mysql, #puphpet, #vagrant