Debian installation instructions

From ERPXE Wiki
Revision as of 15:56, 13 April 2012 by Admin (talk | contribs)

In this manual we will use Debian 6.0 as an example:

Download ERPXE

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

Extract ERPXE to root "/" directory

tar -xvfz erpxe.current.tar.gz 

Install a TFTP Service

apt-get install tftpd-hpa chkconfig
  • if asked set tftpd-hpa directory to /tftpboot/
/sbin/chkconfig tftpd-hpa on

Config TFTP service

Edit "/etc/default/tftpd-hpa"

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot/"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-m /tftpboot/er.remap -vvvvv -s"

Add Shares

Add HTTP support

apt-get install apache2
/sbin/chkconfig apache2 on
ln -s /tftpboot/er/shares/http /var/www/er

Add NFS support

apt-get install nfs-server
/sbin/chkconfig nfs on
  • The next step will overwrite your original /etc/exports !!!
cat /tftpboot/doc/setup/exports > /etc/exports

Add SAMBA support

apt-get install samba
/sbin/chkconfig smb on
  • The next step will overwrite your original /etc/samba/smb.conf !!!
cat /tftpboot/doc/setup/smb.conf > /etc/samba/smb.conf

Set password for user erpxe to "erpxe":

smbpasswd -a erpxe

Set password for user "root" to your password:

smbpasswd -a root