Skip to main content

Direct Method

It is very easy to connect your server with ServerAvatar. In most cases, you don't even have to use the command line to connect the server with ServerAvatar.

The server installation is a 5-minute automated process. Once the installation is complete, your server will be ready to host applications immediately! You will also be able to access the server panel to manage your server.

First of all, let's see the installation process in detail.

Prerequisites

Here is a list of things you should have before attempting to connect with ServerAvatar:

  1. Accessible Port: If your cloud platform or server provider provides a firewall, enable incoming connections on port 43210.
  2. Public IP Address: A server should have a public IP. If the IP changes, you can reconnect your server by updating the IP address in ServerAvatar.
  3. Supported OS: Ubuntu 20.04 or Ubuntu 22.04.
  4. No Conflicts: If your server is already hosting a website, you cannot connect it with ServerAvatar. You have to connect a fresh server with a clean Ubuntu OS only.

Installation with Direct method

There are a few different types of installations available with ServerAvatar. Below are the steps for connect your server directly with ServerAvatar.

Step 1: Log in to your ServerAvatar account.

Step 2: Click on the Create -> Server button at the server's top-right corner.

Dashboard

Step 3: Click on the Custom option.

Step 4: Fill in the Server Name.

  • If you have the IP address and root password of your server, then fill out the form below.

Select Cloud Service Provider

  • If you don't have the IP address and root password, check the "I don't have an IP address and root password" checkbox. In this case, you need to run the installation script manually.

Select Cloud Service Provider

Please select the appropriate radio button option based on your preference for Cleanup Server:

  • Yes: Proceed to automatically remove conflicting packages during the installation process.
  • No: Retain existing packages, even if conflicts occur.

Cleanup Server

Step 5: Select a Tech Stack.

info

When choosing your tech stack, consider the specific requirements of your project. If you decide to go with a Node Stack, it's important to note that MySQL and MariaDB are not compatible database options for this particular stack.

Select Cloud Service Provider

Step 6: Select a Database.

Select Cloud Service Provider

If you require Node.js installation, enable the toggle button.

info

If you select Node Stack as your tech stack, the Node.js installation option will not be shown, as it is inherently part of the Node Stack.

Commands to execute

If you choose the Node Stack as your tech stack, you can enable Yarn by toggling the 'Install Yarn Along with Node' toggle button.

Commands to execute

Step 7: Execute the commands on your server as a root user. (If you do not have the server IP address and root password, follow these steps to execute commands.)

Commands to execute

This command contains a unique link for server installation, specific to this server. It will download the required resources and perform the requirements check on the server. Once the inspection is complete, ServerAvatar will start the installation.

Installation Process

While the installation is ongoing, you will be able to see which service is being installed and what is being configured. Here is the complete list of steps that ServerAvatar will follow to set up your server:

  • Install a web Server (Apache or Nginx, or OLS)
  • Install PHP and all its versions (From 7.2 to 8.3)
  • Install and configure PHP-FPM
  • Install and configure MySQL
  • Install and configure Redis
  • Create a SWAP Memory
  • Create basic Virtual host files
  • Install Git and Composer
  • Finalize and Testing

The entire process should take around 5 to 15 minutes. Once the server is fully configured, it will be ready to host PHP/WordPress sites directly from the server panel. This is how you can connect a server with ServerAvatar.