Difference between revisions of "Upgrade to trunk"

From FOG Project
Jump to: navigation, search
m (Methods)
m (Methods)
Line 2: Line 2:
 
*There are a few methods to update to the most resent revision. Each method has its pros so, you will need to figure out which you will use.
 
*There are a few methods to update to the most resent revision. Each method has its pros so, you will need to figure out which you will use.
 
**'''SVN'''
 
**'''SVN'''
**'''btsync'''
+
**'''BTsync'''
 
**'''wget'''
 
**'''wget'''
 
*Remember these are mostly betas so there are bound to be bugs, but with bugs also comes fixes of the issues found in the "Stable Release"
 
*Remember these are mostly betas so there are bound to be bugs, but with bugs also comes fixes of the issues found in the "Stable Release"

Revision as of 17:29, 27 January 2015

Methods

  • There are a few methods to update to the most resent revision. Each method has its pros so, you will need to figure out which you will use.
    • SVN
    • BTsync
    • wget
  • Remember these are mostly betas so there are bound to be bugs, but with bugs also comes fixes of the issues found in the "Stable Release"
  • If you have nodes they will also need to be upgraded! (Excluding Beta Windows Nodes)


SVN

  • Install as seen in SVN
svn co https://svn.code.sf.net/p/freeghost/code/trunk /some/local/folder
  • Then navigate to the folder you specified and run:
sudo /some/local/folder/bin/./installfog.sh

Update from prior downloaded SVN

cd  /some/local/folder/
svn up
cd bin
./installfog.sh
  • NOTE: You must run svn up in the "/some/local/folder/" and not in ".../fog/bin" nor in ".../fog"



BTSync

If you want the latest, get on the BTsync :) You could have changes within 20-30 seconds of them being made.

Fog Read only Secret: BAU3NUY3XTKVMHHEZO6C7OH55AN2PCGJV
Kernels Read only Secret: B7AGQ6JVIP4MF5LCRL3XURQBYC53UIS25
  • Create the location that you want to have synced.
sudo mkdir /fog
sudo mkdir /kernels
sudo chrmod 777 /fog
sudo chrmod 777 /kernels
  • Install BTsync:
sudo add-apt-repository ppa:tuxpoldo/btsync
sudo apt-get update
sudo apt-get install btsync
cd Downloads
tar xzpf btsync_i386.tar.gz (I have downloaded 32 bit. So check your version)
./btsync
  • Open a webpage: <IP Address>:8888
Add Folder:
Secret: BAU3NUY3XTKVMHHEZO6C7OH55AN2PCGJV
Path: /fog

Add Folder:
Secret: B7AGQ6JVIP4MF5LCRL3XURQBYC53UIS25
Path: /kernels
  • Then Any time you see an update. Open up your terminal:
cd /fog/bin/
sudo ./installfog.sh

And you are updated quite quickly!


~Sources: [AskUbuntu]


wget

wget --no-check-certificate http://mastacontrola.com/fog_trunk.tar.bz2
  • Once downloaded you'll need to unpack the bz2 file using the command:
tar -xjf fog_trunk.tar.bz2
  • Then go into the unextracted file. Follow these steps:
  cd fog_trunk/bin
  ./installfog.sh

Congratulations

  • Congrats! You have now upgraded to the "bleeding edge" of FOG deployment. It is your responsibility to keep upgraded until the next "Stable Release". Until then you will see in the cloud of your Web Gui rXXXX. This indicates the revision you are now on.
  • You can check for updates to the revisions under Config.png Fog Configuration. This will state the version you are on and what the lastest revision is.