Difference between revisions of "Fedora 21 Server"

From FOG Project
Jump to: navigation, search
Line 46: Line 46:
 
SSH is the ONLY thing that isn't blocked in Fedora by default. The default firewall in Fedora has everything locked down except SSH. All other versions of Linux that I know of come with the firewall disabled. This hints at SSH's importance!
 
SSH is the ONLY thing that isn't blocked in Fedora by default. The default firewall in Fedora has everything locked down except SSH. All other versions of Linux that I know of come with the firewall disabled. This hints at SSH's importance!
 
<pre>ssh -l root x.x.x.x</pre>
 
<pre>ssh -l root x.x.x.x</pre>
Note: this is for SSH'ing in from another linux computer. From windows, you can try PuTTY
+
Note: this is for SSH'ing in from another linux computer. From windows, you can use PuTTY
 
[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html].
 
[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html].
  

Revision as of 01:44, 7 April 2015

Currently Under Construction! Expect an amazing article soon! Last modified: April 6th, 2015.

Notes... Fedora 21 server does not have a GUI. This guide, however, will guide you through installing FOG totally (with various setups).


lets see...


READ FIRST, COMPLETE FIRST ---Prerequisites CHECKLIST... Choosing a password for FOG user and root. Deciding where images will be stored. Full FOG DHCP or ProxyDHCP ?


Installing Fedora 21 server

configuring the /images directory during Fedora installation (optional)

Formatting & mounting a 2nd drive (optional)

mounting a smb share/NAS at boot to store images(optional)

cd /
mkdir images
sudo chmod -R 777 images
//x.x.x.x/RemoteSharedFolder /images cifs username=UserNameHere,password=PasswordHere,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

Where x.x.x.x is the remote share's IP. Replace the username and password. Please note that you're password will be stored in plain-text. You MIGHT want to create a user on the hosting server, and give that user a non-critical password, and assign that user ownership to the share with full control, and disallow everyone else.



Installing SVN (required)

yum install svn
(installs Beta of Subversion)


Updating Fedora (optional)

yum update

SSH'ing into your server (optional, but strongly recommended). SSH is the ONLY thing that isn't blocked in Fedora by default. The default firewall in Fedora has everything locked down except SSH. All other versions of Linux that I know of come with the firewall disabled. This hints at SSH's importance!

ssh -l root x.x.x.x

Note: this is for SSH'ing in from another linux computer. From windows, you can use PuTTY [1].


Static IP address.. yum install system-config-network cd /usr/bin ./system-config-network to setup a static ip address.


Disable firewall and SELinux.


Installing FOG

dnsmasq setup