Difference between revisions of "Debian installation instructions"

From ERPXE Wiki
(Created page with "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 "/" di...")
 
Line 13: Line 13:
 
  apt-get install tftpd-hpa chkconfig
 
  apt-get install tftpd-hpa chkconfig
 
  if asked set tftpd-hpa directory to /tftpboot/
 
  if asked set tftpd-hpa directory to /tftpboot/
 +
 
  /sbin/chkconfig tftpd-hpa on
 
  /sbin/chkconfig tftpd-hpa on
  

Revision as of 15:50, 13 April 2012

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

	server_args		= -m /tftpboot/er.remap -vvvvv -s /tftpboot

Add Shares

Add HTTP support

apt-get install apache2
/sbin/chkconfig apache2 on
ln -s /tftpboot/er/shares/http /var/www/html/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