Difference between revisions of "Fedora 23 Server"

From FOG Project
Jump to: navigation, search
Line 2: Line 2:
  
  
 
+
<embedvideo service="youtube">https://www.youtube.com/watch?v=_yfpGxF5vMY</embedvideo>
[[File:Fedora 23 partitioning.png]]
 
  
  

Revision as of 17:42, 5 March 2016

Article under construction - below you'll find notes/gibberish on the topic. Expect an article soon.



Create boot, root, images, home, and swap partitions - keep things seperate, prevent OS from crashing if images fill it's partition, likewise with home.


Fedora 23 minimal.


setup firewall

for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done
systemctl restart firewalld.service


#Install subversion, a utility used to retrieve versions of fog.
dnf install -y subversion

#Move to the current user's home directory.
cd ~

#Make a directory called svn, into which we will download Fog's installation files.
mkdir svn

#Go into the svn directory.
cd svn

#Retrieve the latest developmental version of FOG from SourceForge.
svn checkout https://svn.code.sf.net/p/freeghost/code/trunk

#Install needed programs for building an SELinux policy.
yum install -y selinux-policy-devel gcc make

#Move into the ~/svn/trunk/SELinux directory.
cd ~/svn/trunk/SELinux

#Build the custom SELinux module for FOG.
make -f /usr/share/selinux/devel/Makefile fog.pp

#Install the newly built module.
semodule -i fog.pp

#reboot the server
reboot

#Move to the bin directory to get ready to install fog.
cd ~/svn/trunk/bin

#Install FOG.
./installfog.sh