<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wise</id>
		<title>FOG Project - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wise"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Special:Contributions/Wise"/>
		<updated>2026-05-01T05:55:21Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Change_NFS_location&amp;diff=7658</id>
		<title>Change NFS location</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Change_NFS_location&amp;diff=7658"/>
				<updated>2012-06-27T02:12:57Z</updated>
		
		<summary type="html">&lt;p&gt;Wise: /* Change NFS location */  updated directory paths to .php files for centos 6 and likely other distro&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Change NFS location ===&lt;br /&gt;
&lt;br /&gt;
This is '''not about a seperate NFS server''' in general, but about how to '''change the local storage directory''' and export it correctly.&lt;br /&gt;
&lt;br /&gt;
As FOG sets the default location to /images in your / -partition you may want to have it in your /home-directory or partition. &lt;br /&gt;
&lt;br /&gt;
You have to change these values and config files:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''1.''' Edit /var/www/fog/commons/config.php. (on centos 6 see /var/www/html/fog/commons/config.php)&lt;br /&gt;
Change the values of '''STORAGE_DATADIR''' and '''STORAGE_DATADIR_UPLOAD''' to &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;/home/fog/images/&amp;quot;''' &lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;/home/fog/images/dev/&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
for example. &lt;br /&gt;
&lt;br /&gt;
If you already have created images with FOG, '''don't forget to move the complete directory /images to the new place'''. &lt;br /&gt;
Be sure that the correct access rights are granted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''2.''' Edit your '''exports file''' (in /etc/exports) to export the new location via NFS:&lt;br /&gt;
&lt;br /&gt;
/home/fog/images                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)&lt;br /&gt;
&lt;br /&gt;
/home/fog/images/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure)&lt;br /&gt;
&lt;br /&gt;
After that tell the running NFS-server to read the new config:&lt;br /&gt;
&lt;br /&gt;
exportfs -a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''3.''' Edit your storage-node definition:&lt;br /&gt;
&lt;br /&gt;
Go to '''Storage -&amp;gt; All storage nodes''' and edit the entry of the '''&amp;quot;Image Location:&amp;quot;''' to your new target for your '''Storage Node &amp;quot;DefaultMember&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
After that your &amp;quot;'''Disk Information'''&amp;quot; (Free / Used / Total) at the dashboard may not be correct anymore. Edit the file '''freespace.php''' in your web-root (/var/www/fog/status/) (on centos 6 see /var/www/html/fog/status):&lt;br /&gt;
&lt;br /&gt;
define( &amp;quot;SPACE_DEFAULT_STORAGE&amp;quot;, &amp;quot;/home/fog/images/&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
You may also need to modify the permissions for the /home/fog directory. It is suggested that you use:&lt;br /&gt;
&lt;br /&gt;
'''chmod 701 /home/fog'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''4.''' Create .mntcheck file in your new &amp;quot;images&amp;quot; and &amp;quot;dev&amp;quot; folders :&lt;br /&gt;
&lt;br /&gt;
touch .mntcheck&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That's all!&lt;/div&gt;</summary>
		<author><name>Wise</name></author>	</entry>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Upgrading_the_FOG_Server&amp;diff=3082</id>
		<title>Upgrading the FOG Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Upgrading_the_FOG_Server&amp;diff=3082"/>
				<updated>2011-02-27T20:41:29Z</updated>
		
		<summary type="html">&lt;p&gt;Wise: Added note about the location of installation option values, wasted a bunch of time because I couldn't find the file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading the FOG Server ==&lt;br /&gt;
&lt;br /&gt;
'''It is highly recommended that you backup your data before you perform the upgrade.'''&lt;br /&gt;
&lt;br /&gt;
Upgrading from one version of FOG to a newer version is as easy as running the installer for the new version of FOG.  It will update your system while leaving your data in place.&lt;br /&gt;
&lt;br /&gt;
Remember install settings are in &amp;lt;install directory&amp;gt;/fog/.fogsettings.  If anything has changed since the last install make updates to .fosettings before running the install.&lt;br /&gt;
&lt;br /&gt;
FOG will '''NOT''' modify:&lt;br /&gt;
&lt;br /&gt;
*Any modified reports&lt;br /&gt;
*Image Files&lt;br /&gt;
*All database settings&lt;br /&gt;
&lt;br /&gt;
FOG '''WILL''' modify:&lt;br /&gt;
&lt;br /&gt;
*Any Custom changes to php/init.gz file.&lt;br /&gt;
*Any changes to dhcpd.conf.&lt;br /&gt;
*Any changes to  /etc/xinetd.d/tftp.&lt;br /&gt;
*Any changes to /etc/vsftpd/vsftpd.conf.&lt;br /&gt;
*Any changes to /etc/exports.&lt;br /&gt;
*Any changes to php config files on /var/www/fog and /opt/fog&lt;/div&gt;</summary>
		<author><name>Wise</name></author>	</entry>

	</feed>