Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Setting up a cloned CentOS 8 server

Once the cloning of your Cloud server with CentOS as operating system is done, you can use the newly deployed machine to test your website or have a pre-production environment. To start operating with your clone you will need to provision your server with a series of prior modifications.

Preparing the environment

Access the dashboard of the cloned machine and click on the icon corresponding to the SSH console. enter image description here

Login to the cloned machine with the root user and the password of the original machine (note the special characters in the ASCII code).

enter image description here

Once you have logged into the cloned server you will need to modify the /etc/sysconfig/network-scripts/ifcfg-eth0 file, for example with the nano editor and modify the existing public IP in the file to the new public IP of the cloned machine, which you will have received by mail.

nano ifcfg-eth0

enter image description here **ifcfg-eth0 file with the initial configuration. enter image description here **E-mail with the access credentials. enter image description here **Updated ifcfg-eth0 file. enter image description here Once edited you must start the network service by executing the following commands:

nmcli networking off nmcli networking on

You can check the modification of the newly configured IP by executing the command:

ifconfig -a

enter image description here

Modifying the hosts and hostname files

Connect via SSH to the new server and modify the /etc/hosts and /etc/hostname files changing the original hostname to the hostname you received by email.

nano /etc/hosts

**Hosts file with the initial configuration. enter image description here **Hosts file with the final configuration. enter image description here

nano /etc/hostname

**hostsname file with the initial configuration. enter image description here **hostname file with the final configuration. enter image description here

Modify root user password

To change the root password, run the following command, indicating the password you received by e-mail

passwd root (enter the password that appears in your e-mail)

enter image description here In this way, the new cloned machine will have the same IP, with its corresponding root name and password finishing the cloning process and starting up the cloned server.

IMPORTANT: to save the changes with the nano editor remember to you will have to press the keys control + x of the keyboard.

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.