Installing CentOS 7

The following instructions are designed to help you install CentOS 7.x. After installing the operating system, follow the instructions in the Installing Zixi Products on Linux section to complete the installation.

To install CentOS 7 on your computer:

  1. Download the “CentOS-7x86_64-Minimal-2009.iso” file from the following link: https://mirrors.seas.harvard.edu/centos/7.9.2009/isos/x86_64/
    A list of additional mirrors can be found at http://isoredirect.centos.org/centos/7/isos/x86_64/

  2. Copy the downloaded file to a FAT 32 formatted USB thumb drive of good quality with at least 8 GB of space.

  3. To create a bootable USB drive, download Rufus to your computer from the following link - https://rufus.akeo.ie/

  4. Right-click on the Rufus icon and choose Run as Administrator.
    The following screen is displayed:

  5. In the Device field, select the name of your USB thumb drive.

  6. In the Create bootable disk using field, select the format of the downloaded image (e.g. ISO image).

  7. Click on the disk icon to browse to the CentOS 7 ISO to install.

  8. Click Start.
    The process will take a couple minutes and the lower window will display “READY!” when done.

  9. Remove the USB and install it on the machine you will be installing CentOS on.

  10. Boot your computer by restarting it and then waiting for that first screen to be displayed.

  11. Press the boot option key as instructed on the first screen (e.g. often, it'll say something like "Press F12 to Choose Boot Device").

  12. Wait a moment to continue booting until you see a menu pop up with a list of choices on it. Highlight your USB drive and press Enter.

  13. Exit out of your BIOS, while saving your changes. Usually, this option is under "Exit" on the main menu, or available via a keyboard shortcut listed (e.g. F4) somewhere on your screen.
    Your computer should reboot. If you're prompted to "Press any key to boot from CD/DVD" do so. Your computer should boot into the USB drive instead of your normal operating system.

Make sure ALL network adapters are connected and ON in order for the Linux installation protocol to be able to SEE them. Otherwise, they will not be set to start up on boot.

14. On the following CentOS 7 prompt screen, select Install CentOS 7 and then press Enter.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To setup CentOS 7:

  1. On the CentOS welcome screen, select the desired language and click Continue.

     

  2. On the main screen, click Date & Time and then set the time zone, date, and time and then click Done (located in the upper left corner).

     

  3. On the main screen, click Keyboard and then click the big “+” button in the lower left corner and find your keyboards language (you can search), click Add to add it and then click Done (located in the upper left corner). When finished, click Done (located in the upper left corner).

  4. On the main screen, click Language Support and select the language of your choice, (default is English) and then click Done (located in the upper left corner).

  5. On the main screen, click Installation Source and select the installation USB as the installation source. When finished, click Done (located in the upper left corner).

  6. On the main screen, click Software Selection and select Minimal Installation (you may select another type of installation, but this is the minimal default requirement for installing Zixi). When finished, click Done (located in the upper left corner).

  7. On the main screen, click Installation Destination and select the device on which you would like to install. Make sure that the hard drive you want to install the system on has the check mark on it by clicking it (if it goes away when you click it, then click it again).

  8. Under the Partitioning section, select the Automatic Partitioning option (this guide will not cover manually partitioning your hard drive). When finished, click Done (located in the upper left corner).
    If your hard drive is empty, the main installation screen will be displayed.

  9. If your hard drive contains partitions, it will ask you to reclaim the space on it in a popup like shown below.

  10. Click Reclaim Space.
    The following screen is displayed.

  11. Click Delete All and then click Reclaim Space.

  12. On the main screen, click Network & Hostname. Ensure you have at least one network adapter listed on the left. If you have multiple network adapters, select the network adapter you want to use. You can use multiple network adapters by configuring network bonding, load balancing and failover schemes (see the Zixi documentation for more details).

     

  13. For each selected network adapter, toggle the ON/OFF switch to the right to turn it on. ALL network adapters need to be connected and ON in order for the Linux installation protocol to be able to SEE them. Otherwise, they will not be set to start up on boot.

  14. To configure the network adapter, select it and click Configure.
    The following screen is displayed:

     

  15. Click the IPV4 Settings tab and then click Add. Fill in the IP address you want this server to have (make sure it’s not already in use), the netmask and the gateway. When done, click Save.

If you want to receive the IP address through DHCP on your server, you can skip this step.

16. In the Hostname field, enter the name of the server (default - localhost.localdomain). When finished, click Done (located in the upper left corner).

17. On the main screen, click Begin Installation.
The installation will begin.

18. While it’s installing, you have to set the root password. Click the Root Password button in the middle of the screen.

19. Type in the password you want the root user to have in both password fields.

Select a strong password for the root user and save it in a secure location.

20. Click Done.

21. When the progress bar is at 100%, click Finish Configuration.

22. When the process ends, remove the USB thumb drive and click Reboot.
After a minute or two the following screen is displayed:

23. Type the “root” user here and press Enter.

24. Type the password and press Enter.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To update the operating system:

  1. Run the following commands as a “Root” user:

    # yum update –y # yum install –y yum-utils net-tools wget ntp network-scripts telnet
  2. After the default CentOS7 installation, NetworkManager service will be running. As networking configuration can be handled by the network-scripts package, it is advised that NetworkManager be disabled and removed. Run the following commands to disable NetworkManager:

    # systemctl stop NetworkManager # systemctl disable NetworkManager # yum remove –y NetworkManager