Difference between revisions of "Debian installation instructions"

From ERPXE Wiki
Line 52: Line 52:
  
 
  smbpasswd -a root
 
  smbpasswd -a root
 +
 +
== DHCP Configuration ==
 +
* read more on [[DHCP Configuration]]
 +
 +
== Custom Settings ==
 +
* [[Customize ERPXE Settings]]
 +
[[Customize ERPXE Settings|Remember to Set a Password!]]

Revision as of 16:12, 13 April 2012

In this manual we will use Debian 6.0 (also works on Ubuntu) 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
  • Set tftpd-hpa directory to /tftpboot/ if prompted
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
chkconfig apache2 on
ln -s /tftpboot/er/shares/http /var/www/er

Add NFS support

apt-get install nfs-server
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
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

DHCP Configuration

Custom Settings

Remember to Set a Password!