Skip to main content

Cent OS

note

Cent OS 7 and 8 servers are provided as OVF files. Send a ticket to the technical unit to receive the file.

User Root access#

To execute commands or upload files, the software must have access to the root user. So the following password must be set on the root user:

AdminRasa123

If you use another password, click on the Edit icon in the Template Section in the software and set the new password.

Set the IP#

To set the IP on these types of templates, file contents software

/etc/sysconfig/network-scripts/ifcfg-[ether name]

Saves as follows:

DEVICE = [DEVICE_ID]
HWADDR = [MAC Address]
TYPE = [Ethernet Type]
UUID = [UUID]
ONBOOT = yes
BOOTPROTO = static
IPADDR = [IP Address]
NETMASK = [Subnet Mask]
GATEWAY = [Gateway]
DNS1 = [DNS 1]
DNS2 = [DNS 2]

Then execute the following commands to restart the network card

systemctl restart network
ifdown [ether name]
ifup [ether name]

Set the password#

The following command is executed to set the password

echo -e "[New Password]\n[New Password]" | passwd root

Extend the disk space#

To increase the usable volume in the operating system after increasing the disk size, the following command is executed

growpart /dev/sda 2 && resize2fs /dev/sda2
caution

The above command is for extending the second partition to Linux (83). Other types of partitions (such as LVM) are not yet available. In the next updates, support for various partition types will be added.