Wednesday, June 18, 2014

Installation of Fedora 20 (64 bit)

1. Download Fedora-20-x86_64-DVD.iso (4.3 GB).

https://fedoraproject.org/en_GB/download-splash?file=http://download.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/iso/Fedora-20-x86_64-DVD.iso

2. Burn the iso file to a DVD (I used BurnAware).

3. Insert the DVD, connect the computer to Ethernet jack, restart the computer. Mine is Dell PowerEdge 1950 with one quad-core processor (2.5GHz).

4. Press F11 to enter the boot device menu. Choose "IDE CD-ROM device." IDE stands for "Integrated Drive Electronics."

5. Set  the  hostname to be pc#####.d.cwu.edu.

6. I decides to erase all previous data and system files. Click "Installation Destination."
The partition for the slave nodes:
/boot: 500 MB, standard partition,  ext4
swap: 16 GB, LVM, swap, fedora_pc89830 (8GB should be enough. 16GB just in case)
/:  412.73 GB LVM, ext4, fedora_pc89830

The partition for the master node:
/boot: 500 MB, standard partition,  ext4
swap: 16 GB, LVM, swap, fedora_pc89830
/home:  100 GB LVM, ext4, fedora_pc89830
/:  312.73 GB LVM, ext4, fedora_pc89830

The partition for the web server:
/boot: 500 MB, standard partition,  ext4
swap: 16 GB, LVM, swap, fedora_pc89830
/var:  300 GB LVM, ext4, fedora_pc89830 (webmo, etc)
/:  112.73 GB LVM, ext4, fedora_pc89830

7. The installation will start and take ~30 minutes. During which you may take time to set password for root and set up a local user account (for yourself).

8. p1p1 connected  to the internet. em1 and em2 (192.168.2.1?[1-2]) to the switch.  Open Firefox to register the computer (CWU policy). The hardware address is the MAC address of the network interface card (or NIC, network interface controller, network adapter, LAN adapter) connected to the Internet.

9. If you have several network cards like I do, only one will be connected on reboot by default. To enable all NICs, open a terminal, "cd /etc/sysconfig/network-scripts", "vi ifcfg-*", then replace every "ONBOOT=no" to "ONBOOT=yes". It is optional to enclose "yes" with double quotes. Note that p1p1 may not  connect to the internet until ifdown em1 and ifdown em2.

10. Then run "shutdown -P now" to power off the computer and wait for 5 minutes (CWU procedures) before turning on the computer. Again the computer should be connected to the Internet. Run "ifconfig" to see all NIC information including their 48-bit MAC (media access control) address.

11. Install tcsh and ncompress on all nodes. Then gcc, gfortran, and whatever is needed on  the master node.

12. "service iptables start/stop" to turn on/off the Firewall. "chkconfig iptables on/off" to turn on/off the firewall on reboot.

13. vi /etc/host* to edit hostnames, allowed and denied ones. Do NOT rush setting denied hostnames using regular expressions; this may block computers you want to connect to the server.

14. Install clamav. SELINUX must be disabled for the ifort installation. "cat /etc/selinux/config" to view the file.

15. yum install gcc-c++ (g++ is needed for ifort installation)  yum install libstdc++.so.5 before the installation of ifort and mkl.

No comments: