Fedora 23 Server

From FOG Project
Revision as of 14:59, 30 November 2015 by Wayne-workman.28155 (talk | contribs)
Jump to: navigation, search

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


Fedora 23 partitioning.png


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