Steps to install:
- clean install 1.2.0:
download from https://sourceforge.net/projects/freeghost/files/latest/download
tar xzf fog_1.2.0.tar.gz
cd fog_1.2.0/bin
./installfog.sh
Installation steps:
..#######:. ..,#,.. .::##::.
.:###### .:;####:......;#;..
...##... ...##;,;##::::.##...
,# ...##.....##:::## ..::
## .::###,,##. . ##.::#.:######::.
...##:::###::....#. .. .#...#. #...#:::.
..:####:.. ..##......##::## .. #
# . ...##:,;##;:::#: ... ##..
.# . .:;####;::::.##:::;#:..
# ..:;###..
###########################################
# FOG #
# Free Computer Imaging Solution #
# #
# http://www.fogproject.org/ #
# #
# Developers: #
# Chuck Syperski #
# Jian Zhang #
# Peter Gilchrist #
# Tom Elliott #
# GNU GPL Version 3 #
###########################################
Version: 1.2.0 Installer/Updater
What version of Linux would you like to run the installation for?
1) Redhat Based Linux (Redhat, CentOS, Mageia)
2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
Choice: [2]
Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
FOG Server installation modes:
* Normal Server: (Choice N)
This is the typical installation type and
will install all FOG components for you on this
machine. Pick this option if you are unsure what to pick.
* Storage Node: (Choice S)
This install mode will only install the software required
to make this server act as a node in a storage group
More information:
http://www.fogproject.org/wiki/index.php?title=InstallationModes
What type of installation would you like to do? [N]
What is the IP address to be used by this FOG Server? [adr:X.X.X.X
Would you like to setup a router address for the DHCP server? [Y/n]
What is the IP address to be used for the router on the DHCP server? [X.X.X.X]
Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n]
What is the IP address to be used for DNS on the DHCP server and client boot image? [X.X.X.X]
Would you like to change the default network interface from eth0?
If you are not sure, select No. [y/N]
Would you like to use the FOG server for DHCP service? [Y/n] n
This version of FOG has internationalization support, would
you like to install the additional language packs? [y/N]
Would you like to donate computer resources to the FOG Project
to mine cryptocurrency? This will only take place during active
tasks and should NOT have any impact on performance of your
imaging or other tasks. The currency will be used to pay for
FOG Project expenses and to support the core developers working
on the project. For more information see:
http://fogproject.org/?q=cryptocurrency
Would you like to donate computer resources to the FOG Project? [y/N]
#####################################################################
FOG now has everything it needs to setup your server, but please
understand that this script will overwrite any setting you may
have setup for services like DHCP, apache, pxe, tftp, and NFS.
It is not recommended that you install this on a production system
as this script modifies many of your system settings.
This script should be run by the root user on Redhat or with sudo on Ubuntu.
** Notice ** Redhat users will need to disable SELinux and iptables in
order to use FOG
Please see our wiki for more information at http://www.fogproject.org/wiki
Here are the settings FOG will use:
Base Linux: Debian
Detected Linux Distribution: Ubuntu
Installation Type: Normal Server
Server IP Address: X.X.X.X
DHCP router Address: X.X.X.X
DHCP DNS Address: X.X.X.X
Interface: eth0
Using FOG DHCP: 0
Internationalization: 0
Donate: 0
DHCP will NOT be setup but you must setup your
current DHCP server to use FOG for PXE services.
On a Linux DHCP server you must set:
next-server
On a Windows DHCP server you must set:
option 066 & 067
Option 066 is the IP of the FOG Server: (e.g. X.X.X.X)
Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
Are you sure you wish to continue (Y/N)
Run the command for the database
1.2.0 is working…
I updated some password for fog user and tftp
- svn
sudo apt-get update && apt-get install git
cd /root/fogproject
git pull
cd bin
./installfog.sh
+------------------------------------------+
| ..#######:. ..,#,.. .::##::. |
|.:###### .:;####:......;#;.. |
|...##... ...##;,;##::::.##... |
| ,# ...##.....##:::## ..:: |
| ## .::###,,##. . ##.::#.:######::.|
|...##:::###::....#. .. .#...#. #...#:::. |
|..:####:.. ..##......##::## .. # |
| # . ...##:,;##;:::#: ... ##.. |
| .# . .:;####;::::.##:::;#:.. |
| # ..:;###.. |
| |
+------------------------------------------+
| Free Computer Imaging Solution |
+------------------------------------------+
| Credits: http://fogproject.org/Credits |
| http://fogproject.org/Credits |
| Released under GPL Version 3 |
+------------------------------------------+
Version: 7334 Installer/Updater
* Found FOG Settings from previous install at: /opt/fog/.fogsettings
* Performing upgrade using these settings
Starting Debian based Installation
######################################################################
# FOG now has everything it needs for this setup, but please #
# understand that this script will overwrite any setting you may #
# have setup for services like DHCP, apache, pxe, tftp, and NFS. #
######################################################################
# It is not recommended that you install this on a production system #
# as this script modifies many of your system settings. #
######################################################################
# This script should be run by the root user. #
# It will prepend the running with sudo if root is not set #
######################################################################
# ** Notice ** FOG is difficult to setup securely #
# SELinux and IPTables are usually asked to be disabled #
# There have been strides in adding capabilities #
# The recommendations would now be more appropriate #
# to set SELinux to permissive and to disable firewall for now. #
# You can find some methods to enable SELinux and maintain firewall #
# settings and ports. If you feel comfortable doing so please do #
######################################################################
# Please see our wiki for more information at: #
######################################################################
# https://wiki.fogproject.org/wiki/index.php #
######################################################################
* Here are the settings FOG will use:
* Base Linux: Debian
* Detected Linux Distribution: Ubuntu
* Server IP Address: 172.23.3.68
* Server Subnet Mask:
* Interface: eth0
* Installation Type: Normal Server
* Donate: 0
* Internationalization: 0
* Image Storage Location: /images
* Using FOG DHCP: No
* DHCP will NOT be setup but you must setup your
| current DHCP server to use FOG for PXE services.
* On a Linux DHCP server you must set: next-server and filename
* On a Windows DHCP server you must set options 066 and 067
* Option 066/next-server is the IP of the FOG Server: (e.g. X.X.X.X)
* Option 067/filename is the bootfile: (e.g. undionly.kpxe)
* Are you sure you wish to continue (Y/N) y
* Installation Started
* Installing required packages, if this fails
| make sure you have an active internet connection.
* Adding needed repository....................................OK
* Preparing Package Manager...................................OK
* Packages to be installed:
apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5 libapache2-mod-evasive
* Skipping package: apache2...................................(Already Installed)
* Skipping package: php5......................................(Already Installed)
* Installing package: php5-json...............................Failed!
root@ubufog2:~/fogproject/bin# apt-get install php5-json
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
php5-json est déjà la plus récente version disponible.
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
libbsd0
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 127 non mis à jour.
12 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ?
Paramétrage de libapr1 (1.5.2-2+deb.sury.org~precise+1) ...
Paramétrage de libaprutil1 (1.5.4-1+deb.sury.org~precise+1) ...
Paramétrage de libvpx1 (1.0.0-1) ...
Paramétrage de libgd3 (2.1.1-4.1+deb.sury.org~precise+1) ...
Paramétrage de liblua5.2-0 (5.2.0-2ubuntu0.1) ...
Paramétrage de apache2-utils (2.4.20-1+deb.sury.org~precise+3) ...
Paramétrage de libaprutil1-dbd-sqlite3 (1.5.4-1+deb.sury.org~precise+1) ...
Paramétrage de libaprutil1-ldap (1.5.4-1+deb.sury.org~precise+1) ...
Paramétrage de php5 (5.6.20+dfsg-1+deb.sury.org~precise+1) ...
Paramétrage de php5-curl (5.6.20+dfsg-1+deb.sury.org~precise+1) ...
Creating config file /etc/php5/mods-available/curl.ini with new version
php5_invoke: Enable module curl for cli SAPI
php5_invoke: Enable module curl for cgi SAPI
Paramétrage de php5-gd (5.6.20+dfsg-1+deb.sury.org~precise+1) ...
Creating config file /etc/php5/mods-available/gd.ini with new version
php5_invoke: Enable module gd for cli SAPI
php5_invoke: Enable module gd for cgi SAPI
Paramétrage de php5-mysql (5.6.20+dfsg-1+deb.sury.org~precise+1) ...
Creating config file /etc/php5/mods-available/mysql.ini with new version
php5_invoke: Enable module mysql for cli SAPI
php5_invoke: Enable module mysql for cgi SAPI
Creating config file /etc/php5/mods-available/mysqli.ini with new version
php5_invoke: Enable module mysqli for cli SAPI
php5_invoke: Enable module mysqli for cgi SAPI
Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
php5_invoke: Enable module pdo_mysql for cli SAPI
php5_invoke: Enable module pdo_mysql for cgi SAPI
Traitement des actions différées (« triggers ») pour « libc-bin »...
ldconfig deferred processing now taking place
root@ubufog2:~/fogproject/bin# ./installfog.sh
+------------------------------------------+
| ..#######:. ..,#,.. .::##::. |
|.:###### .:;####:......;#;.. |
|...##... ...##;,;##::::.##... |
| ,# ...##.....##:::## ..:: |
| ## .::###,,##. . ##.::#.:######::.|
|...##:::###::....#. .. .#...#. #...#:::. |
|..:####:.. ..##......##::## .. # |
| # . ...##:,;##;:::#: ... ##.. |
| .# . .:;####;::::.##:::;#:.. |
| # ..:;###.. |
| |
+------------------------------------------+
| Free Computer Imaging Solution |
+------------------------------------------+
| Credits: http://fogproject.org/Credits |
| http://fogproject.org/Credits |
| Released under GPL Version 3 |
+------------------------------------------+
Version: 7334 Installer/Updater
* Found FOG Settings from previous install at: /opt/fog/.fogsettings
* Performing upgrade using these settings
Starting Debian based Installation
######################################################################
# FOG now has everything it needs for this setup, but please #
# understand that this script will overwrite any setting you may #
# have setup for services like DHCP, apache, pxe, tftp, and NFS. #
######################################################################
# It is not recommended that you install this on a production system #
# as this script modifies many of your system settings. #
######################################################################
# This script should be run by the root user. #
# It will prepend the running with sudo if root is not set #
######################################################################
# ** Notice ** FOG is difficult to setup securely #
# SELinux and IPTables are usually asked to be disabled #
# There have been strides in adding capabilities #
# The recommendations would now be more appropriate #
# to set SELinux to permissive and to disable firewall for now. #
# You can find some methods to enable SELinux and maintain firewall #
# settings and ports. If you feel comfortable doing so please do #
######################################################################
# Please see our wiki for more information at: #
######################################################################
# https://wiki.fogproject.org/wiki/index.php #
######################################################################
* Here are the settings FOG will use:
* Base Linux: Debian
* Detected Linux Distribution: Ubuntu
* Server IP Address: 172.23.3.68
* Server Subnet Mask:
* Interface: eth0
* Installation Type: Normal Server
* Donate: 0
* Internationalization: 0
* Image Storage Location: /images
* Using FOG DHCP: No
* DHCP will NOT be setup but you must setup your
| current DHCP server to use FOG for PXE services.
* On a Linux DHCP server you must set: next-server and filename
* On a Windows DHCP server you must set options 066 and 067
* Option 066/next-server is the IP of the FOG Server: (e.g. 172.23.3.68)
* Option 067/filename is the bootfile: (e.g. undionly.kpxe)
* Are you sure you wish to continue (Y/N) y
* Installation Started
* Installing required packages, if this fails
| make sure you have an active internet connection.
* Adding needed repository....................................OK
* Preparing Package Manager...................................OK
* Packages to be installed:
apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5 libapache2-mod-evasive
* Skipping package: apache2...................................(Already Installed)
* Skipping package: php5......................................(Already Installed)
* Skipping package: php5-json.................................(Already Installed)
* Skipping package: php5-gd...................................(Already Installed)
* Skipping package: php5-cli..................................(Already Installed)
* Skipping package: php5-curl.................................(Already Installed)
* Skipping package: mysql-server..............................(Already Installed)
* Skipping package: mysql-client..............................(Already Installed)
* Skipping package: tftpd-hpa.................................(Already Installed)
* Skipping package: tftp-hpa..................................(Already Installed)
* Skipping package: nfs-kernel-server.........................(Already Installed)
* Skipping package: vsftpd....................................(Already Installed)
* Skipping package: net-tools.................................(Already Installed)
* Skipping package: wget......................................(Already Installed)
* Skipping package: xinetd....................................(Already Installed)
* Skipping package: sysv-rc-conf..............................(Already Installed)
* Skipping package: tar.......................................(Already Installed)
* Skipping package: gzip......................................(Already Installed)
* Skipping package: build-essential...........................(Already Installed)
* Skipping package: cpp.......................................(Already Installed)
* Skipping package: gcc.......................................(Already Installed)
* Skipping package: g++.......................................(Already Installed)
* Skipping package: m4........................................(Already Installed)
* Skipping package: htmldoc...................................(Already Installed)
* Skipping package: lftp......................................(Already Installed)
* Skipping package: openssh-server............................(Already Installed)
* Skipping package: php-gettext...............................(Already Installed)
* Installing package: php5-mcrypt.............................OK
* Installing package: php5-mysqlnd............................OK
* Installing package: curl....................................OK
* Skipping package: libc6.....................................(Already Installed)
* Skipping package: libcurl3..................................(Already Installed)
* Skipping package: zlib1g....................................(Already Installed)
* Installing package: php5-fpm................................OK
* Installing package: libapache2-mod-php5.....................OK
* Installing package: libapache2-mod-evasive..................Failed!
I tried to remove mysql* apache2* php* and start again the install of the svn but it failed at the same point. I remember that i had that kind of problem last time.
I ll try to install a all new ubuntu 12.04 tomorrow but question… To install the svn, do it need to install fog 1.2.0 first ?
thx