CentOS Installation

Before installing AhnLab CPP, install CentOS 7.

 

Supported CentOS Versions

CPP Server can be installed on CentOS 7. All minimal, normal and full mode is supported.

 

Installing CentOS 7

To install CentOS 7, complete the following steps.

  1. Download the CentOS 7 ISO file (CentOS-7-x86_64-Minimal-1908.iso) and create a bootable DVD.
  2. Boot as DVD and select Install CentOS 7.
  3. Select your preferred language and click Continue. The language setting can be changed later.
  4. Select System > Installation Destination in Installation Summary.
  5. The searched disks are displayed at the top. Click the first disk, and select I will configure partitioning in Partitioning.
  6. Click the Add (+) icon to create a Swap space and specify the volume. The recommended volume is  between 4GB and 16 GB.

참고 Note

For more information about SWAP, please refer to https://access.redhat.com/solutions/15244.

  1. Select Standard Partition for Device Type and click Update settings to save.
  2. Set the /boot partition to 512MB.
  3. Select Standard Partition for Device Type and xfs for File System. Then, click Update settings.

참고 Note

- If there is an EFI boot partition, you must also create one during manual setup.
- If you cannot continue to the next step, this means that your device needs a bios boot partition.

  1. Enter a very large number to automatically allocate the remaining memory to the / partition.
  2. Select Standard Partition for Device Type and xfs for File System. Then, click Update settings.
  3. Click Done in the top left corner of the window, the Accept Changes.
  4. Click Begin Installation.
  5. Set the root password.
  6. Specify the network once CentOS is installed and the system boots again.

After the installation, the only commands available to specify network are ip and ethtool.
1) Connect the LAN cable to the server.
2) Check the existing NIC list with ip a command.
ex) Devices such as enp3s0, enp5s0 are displayed.
- NIC with Link: yes is the currently active device.
3) Open the file with vi (/etc/sysconfig/network-scripts/ifcfg-device name) and make the following changes:
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.100.100
GATEWAY=192.168.100.254
NETMASK=255.255.255.0

4) Use systemctl restart network.service or service network restart command to restart the network service.
5) If the host name must be changed, create a file with the server name in /etc/hostname and restart the server.
6) The network setting is complete.

  1. The basic settings are complete.