Difference between revisions of "Template:Linux installation instructions"

From ERPXE Wiki
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
  
 
== Config TFTP service ==
 
== Config TFTP service ==
  '''This step is very IMPORTANT! if the er.remap configuration is missing most plugins will not work.'''
+
  '''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 ==

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!