Difference between revisions of "Template:Red Hat installation instructions"
From ERPXE Wiki
(Created page with "{{Linux installation instructions | install-tftp= yum install -y xinetd tftp-server chkconfig xinetd on chkconfig tftpd on | config-tftp= Edit "/etc/xinetd.d/tftp" servi...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
user = root | user = root | ||
server = /usr/sbin/in.tftpd | server = /usr/sbin/in.tftpd | ||
− | server_args = -m /tftpboot/ | + | server_args = -m /tftpboot/erpxe.remap -vvvvv -s /tftpboot |
per_source = 11 | per_source = 11 | ||
cps = 100 2 | cps = 100 2 | ||
Line 23: | Line 23: | ||
yum install -y httpd | yum install -y httpd | ||
chkconfig httpd on | chkconfig httpd on | ||
− | + | cp /tftpboot/bin/setup/erpxe-httpd.conf /etc/httpd/conf.d/ | |
| nfs= | | nfs= | ||
− | yum install nfs- | + | yum install nfs-utils |
chkconfig nfs on | chkconfig nfs on | ||
* The next step will overwrite your original /etc/exports !!! | * The next step will overwrite your original /etc/exports !!! | ||
− | cat /tftpboot/ | + | cat /tftpboot/bin/setup/erpxe-exports > /etc/exports |
| samba= | | samba= | ||
yum install samba | yum install samba | ||
chkconfig smb on | chkconfig smb on | ||
* The next step will overwrite your original /etc/samba/smb.conf !!! | * The next step will overwrite your original /etc/samba/smb.conf !!! | ||
− | cat /tftpboot/ | + | cat /tftpboot/bin/setup/erpxe-smb.conf > /etc/samba/smb.conf |
+ | |||
}} | }} |
Latest revision as of 18:18, 13 December 2014
Contents
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
yum install -y xinetd tftp-server
chkconfig xinetd on chkconfig tftpd on
Config TFTP service
This step is very IMPORTANT! if the erpxe.remap configuration is missing most plugins will not work.
Edit "/etc/xinetd.d/tftp"
service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -m /tftpboot/erpxe.remap -vvvvv -s /tftpboot per_source = 11 cps = 100 2 flags = IPv4 }
Add HTTP support
yum install -y httpd
chkconfig httpd on cp /tftpboot/bin/setup/erpxe-httpd.conf /etc/httpd/conf.d/
Add NFS support
yum install nfs-utils
chkconfig nfs on
- The next step will overwrite your original /etc/exports !!!
cat /tftpboot/bin/setup/erpxe-exports > /etc/exports
Add SAMBA support
yum install samba
chkconfig smb on
- The next step will overwrite your original /etc/samba/smb.conf !!!
cat /tftpboot/bin/setup/erpxe-smb.conf > /etc/samba/smb.conf
- 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
- read more on DHCP Configuration
Custom Settings
Remember to set a password!