Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
vms:freenas [2015/10/08 16:28]
admin [IntelliJ IDEA Project Configuration]
vms:freenas [2015/12/07 19:05]
admin [Shortcut]
Line 11: Line 11:
  
 ---- ----
-++++|+
 ===== Shortcut ===== ===== Shortcut =====
 ---- ----
  
-OK, for the ones that do not want to take the deep dive into the gruesome details of building a FreeNAS development VM. Or if you simply don't have the time required to achieve the whole process, as it takes more than 3 hours to complete all described operations! Here is a download link to the .vdi file that is going to get build following the steps described in this article (you lucky ones!):+OK, for the ones that do not want to take the deep dive into the gruesome details of building a FreeNAS development VM. Or if you simply don't have the time required to achieve the whole process, as it takes more than 3 hours to complete all described operations! Here is a download link to the .vdi file that is going to get build following the steps described in this article ​+/- 663MB (you lucky ones!):
  
-DOWNLOAD LINK (not yet available sorry) +Note that you'll probably have to create extra virtual drives for the VM to create a "​virtual pool". 
-+++++ 
 +**{{:​vms:​freenas:​freenas-dev-9.3.1.vdi|Download FreeNAS-Dev-9.3.1.vdi}}**
 ---- ----
 ===== Create a FreeBSD 9.3 Build Environment ===== ===== Create a FreeBSD 9.3 Build Environment =====
Line 355: Line 356:
  
 > Network > Global Configuration > Network > Global Configuration
 +> Hostname: freenasDEV
 > Default Gateway : 10.0.2.1 > Default Gateway : 10.0.2.1
 > Nameserver 1 : 8.8.8.8 > Nameserver 1 : 8.8.8.8
 > Nameserver 2 : 8.8.4.4 > Nameserver 2 : 8.8.4.4
  
 +=== VM Snapshot ===
  
 +As our FreeNAS dev platform is now basicaly configured, it's time to make a snapshot of it (using VirtualBox GUI application for example).
 ---- ----
 ==== Additional Packages ==== ==== Additional Packages ====
Line 425: Line 429:
 ---- ----
 ==== Create a SAMBA Share to Ease FreeNAS GUI's Files Edition ==== ==== Create a SAMBA Share to Ease FreeNAS GUI's Files Edition ====
- 
  
 <WRAP center round tip> <WRAP center round tip>
Line 432: Line 435:
 **Another approach [[vms:​freenas#​using_sshfs_to_access_vm_s_files|using sshfs mounting]]** from the workstation to the VM might well be the easiest way to access/edit files on the FreeNAS development VM... **Another approach [[vms:​freenas#​using_sshfs_to_access_vm_s_files|using sshfs mounting]]** from the workstation to the VM might well be the easiest way to access/edit files on the FreeNAS development VM...
 </​WRAP>​ </​WRAP>​
 +
 +++++ CLICK HERE TO READ|
  
 Since we won't be able to use shared folders with FreeBSD (as described in this wiki's [[vms:​django#​using_a_shared_folder_to_host_your_projects|Python/​Django Development Environment section]]) we'll have to create a SAMBA shared folder to easily manage and edit FreeNAS GUI's files from our host system. Since we won't be able to use shared folders with FreeBSD (as described in this wiki's [[vms:​django#​using_a_shared_folder_to_host_your_projects|Python/​Django Development Environment section]]) we'll have to create a SAMBA shared folder to easily manage and edit FreeNAS GUI's files from our host system.
Line 585: Line 590:
 Let's restart our VM to check everything goes as expected once we reboot the machine. Let's restart our VM to check everything goes as expected once we reboot the machine.
  
 +----
 +++++
  
 ---- ----
Line 592: Line 599:
 Now that we have access to the FreeNAS files, we'll create an IntelliJ IDEA project to manage our development actions. Now that we have access to the FreeNAS files, we'll create an IntelliJ IDEA project to manage our development actions.
  
-Open **IntelliJ IDEA** and create a new project:+Open **IntelliJ IDEA** and create a **new project**:
  
   * Project type: Python   * Project type: Python
Line 608: Line 615:
   * No Django admin   * No Django admin
  
--> NEXT -> NEXT+-> Next -> Next
  
   * Project name: FreeNAS-9.3.1   * Project name: FreeNAS-9.3.1
Line 615: Line 622:
  
 -> Finnish -> Finnish
 +
 +Warning says files cannot be watched for external update because they are network-mounted.
 +
 +=== Initiate git repo ===
 +
 +(menu) VCS > Enable Version Control Integration : git
 +
 +
 +