Difference between revisions of "Template:Linux installation instructions"

From ERPXE Wiki
 
(19 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Extract ERPXE to root "/" directory ==
 
== Extract ERPXE to root "/" directory ==
  
  tar -xvfz erpxe.current.tar.gz  
+
  tar -xvzf erpxe.current.tar.gz  
  
 
== Install a TFTP Service ==
 
== Install a TFTP Service ==
  
 
{{{install-tftp}}}
 
{{{install-tftp}}}
This step is very IMPORTANT! if skipped, some plugins will not work.
 
  
 
== Config TFTP service ==
 
== Config TFTP service ==
 +
'''This step is very IMPORTANT! if the erpxe.remap configuration is missing most plugins will not work.'''
  
 
{{{config-tftp}}}
 
{{{config-tftp}}}
Line 30: Line 30:
  
 
* The next step will overwrite your original /etc/samba/smb.conf !!!
 
* The next step will overwrite your original /etc/samba/smb.conf !!!
  cat /tftpboot/doc/setup/smb.conf > /etc/samba/smb.conf
+
  cat /tftpboot/bin/setup/erpxe-smb.conf > /etc/samba/smb.conf
  
Set password for user erpxe to "erpxe":
+
Create a Unix user called "erpxe":
 +
 
 +
useradd --no-create-home -s /dev/null erpxe
 +
 
 +
Set SAMBA password for user erpxe to "erpxe":
  
 
  smbpasswd -a erpxe
 
  smbpasswd -a erpxe
Line 39: Line 43:
  
 
  smbpasswd -a root
 
  smbpasswd -a root
 +
 +
== SELinux Configuration ==
 +
* Run the following command to set the correct security context after deploying ERPXE base and plugins.
 +
restorecon -r /tftpboot
  
 
== DHCP Configuration ==
 
== DHCP Configuration ==
Line 44: Line 52:
  
 
== Custom Settings ==
 
== Custom Settings ==
* [[Customize ERPXE Settings]]
+
* [[ERPXE:Customize ERPXE Settings]]
  [[Customize ERPXE Settings|Remember to Set a Password!]]
+
  [[ERPXE:Customize ERPXE Settings#Passwords|Remember to set a password!]]

Latest revision as of 18:19, 13 December 2014

Download ERPXE

Download erpxe.current.tar.gz at http://www.erpxe.com/download/.

Extract ERPXE to root "/" directory

tar -xvzf erpxe.current.tar.gz 

Install a TFTP Service

{{{install-tftp}}}

Config TFTP service

This step is very IMPORTANT! if the erpxe.remap configuration is missing most plugins will not work.

{{{config-tftp}}}

Add Shares

Add HTTP support

{{{http}}}

Add NFS support

{{{nfs}}}

Add SAMBA support

{{{samba}}}

  • The next step will overwrite your original /etc/samba/smb.conf !!!
cat /tftpboot/bin/setup/erpxe-smb.conf > /etc/samba/smb.conf

Create a Unix user called "erpxe":

useradd --no-create-home -s /dev/null erpxe

Set SAMBA password for user erpxe to "erpxe":

smbpasswd -a erpxe

Set password for user "root" to your password:

smbpasswd -a root

SELinux Configuration

  • Run the following command to set the correct security context after deploying ERPXE base and plugins.
restorecon -r /tftpboot

DHCP Configuration

Custom Settings

Remember to set a password!