Difference between revisions of "Ubuntu 16.04 Server"

From FOG Project
Jump to: navigation, search
Line 24: Line 24:
 
set "OpenSSH server" to be installed (optional but required for remote management. Can be installed later).
 
set "OpenSSH server" to be installed (optional but required for remote management. Can be installed later).
  
= Extra steps for Ubuntu 16 =
+
= Installing FOG =
  
Two bumps in the road, of which the forums and wiki covered. I’ll try to unify some instructions in the Ubuntu Server article.
+
* Access the terminal
 +
* Become root with sudo -i
  
Basics are exactly what has already been posted in the forums and wiki.
+
* Issue the below commands.
* When you are ready, run the installer with
+
<pre>  
<pre>php_ver='7.0' php_verAdds='-7.0' ./installfog.sh</pre>
+
apt-get update -y
* When the installer asks you to update the database, there’s 1 extra step. (in another SSH session) Go to mysql and modify the password setting with:
+
apt-get upgrade -y
<pre>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';</pre>
+
apt-get dist-upgrade -y
Then you go to the web interface and update the DB as normal, come back to the installer and complete it as usual.
+
apt-get install git -y
 +
git clone https://github.com/FOGProject/fogproject.git /root/fogproject
 +
cd /root/fogproject/bin
 +
./installfog.sh
 +
</pre>

Revision as of 02:16, 18 November 2016

Article under construction. Written for FOG Trunk, which will be the future 1.3.0 release.


Notes:

set a hostname, recommeded name is fog-server, however you can set this as anything you want.

set a username, recommended name is YOUR first name, or "tech". Do not use "fog"!

Set a password for this account.

verify password.

Encryption - optional, but not recommended.

Set a timezone because FOG Scheduled Tasks are dependent on the system time being correct.

Partitioning

no automatic updates (optional).

set "standard system utilities" to not be installed (optional, but this tutorial is aimed to be as minimal as possible).

set "OpenSSH server" to be installed (optional but required for remote management. Can be installed later).

Installing FOG

  • Access the terminal
  • Become root with sudo -i
  • Issue the below commands.
    
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get install git -y
git clone https://github.com/FOGProject/fogproject.git /root/fogproject
cd /root/fogproject/bin
./installfog.sh