Difference between revisions of "Template:Linux installation instructions"

From ERPXE Wiki
 
Line 43: 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!