Difference between revisions of "Debian installation instructions"
From ERPXE Wiki
Line 21: | Line 21: | ||
TFTP_DIRECTORY="/tftpboot/" | TFTP_DIRECTORY="/tftpboot/" | ||
TFTP_ADDRESS="0.0.0.0:69" | TFTP_ADDRESS="0.0.0.0:69" | ||
− | TFTP_OPTIONS="-m /tftpboot/er.remap -vvvvv" | + | TFTP_OPTIONS="-m /tftpboot/er.remap -vvvvv -s" |
== Add Shares == | == Add Shares == |
Revision as of 16:01, 13 April 2012
In this manual we will use Debian 6.0 (also works on Ubuntu) as an example:
Contents
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
/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 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