Create a Cloud Instance in Vultr
To create a server in Vultr, follow the below given steps. If you want to learn How to use Vultr to manage your infrastructure in Vultr, You can refer our Vultr cloud guide.
Step 1: Go to Instance Creation Page
Vultr provides lots of different types of cloud instances. From the server creation page, you can create lots of different types of cloud instances, like Regular VMs, Dedicated, Bare Metal, Cloud GPUs and some managed services.
To access the server creation page, log in to your Vultr account and click on the Deploy New Server option from the + button given on the dashboard.
Step 2: Choose Server
You can create 4 different types of cloud instances. They are Optimised cloud compute, Cloud compute, Cloud GPU and Bare Metal. Select the one that fits your requirements.
Step 3: Choose Server Type
Based on your selection of the server in the second step, You will have to select a specific type of server. If you have selected Optimised cloud compute instance, You will see options like the following image.
Step 4: Select Server Location
Location is very important option. Make sure to select a server location closest to your major traffic source demographically. You can select locations in 5 different continents.
Step 5: Select Server Image
In simple terms, Server image is an operating system running on the server. So here, You have to select an OS for your server.
If you are managing your servers with ServerAvatar, Select Ubuntu 20.04 or Ubuntu 22.04.
Step 6: Select Server Size
Here, Select a server size according to your requirements. If you are just getting started with the project, You can start small and then upgrade according to the future requirements.
Step 7: Add Auto Backups and Additional Features
We recommend you to enable auto backups for important websites or apps. If you are creating a temporary server, You can skip the auto backups.
In additional features, You can enable DDOS Protection if needed. Enable other options according to your requirements.
Do not enable "No Public IPv4 Address" option. It will result in a server without IPv4, which is not possible to connect with ServerAvatar.
Step 8: Select an SSH Key
If you use SSH key to authenticate with the server, Select an SSH key in this section. If you haven't uploaded your key yet, You can do it by clicking on the Add New option.
SSH key is not mandatory. If you do not use SSH keys, Ignore this option. You can still connect with server using password.
Step 9: Firewall Group
If you are using Vultr firewall, You can select the firewall group from here.
If you do not have 43210 port enabled in your firewall group, you need to configure it to connect a server with ServerAvatar.
Step 10: Server Hostname and Label
You have to choose the hostname and the label for the server in this step. You can set the same hostname and label. They are used for identification purpose only.
Step 11: Deploy Now!
Finally, click on the Deploy Now button to create a server. It might take a minute or two to fully boot up your server. Once it is ready, You will see it in the Products section in Vultr.
Initial Server Configuration
Now, We have a cloud server with Ubuntu installed. However, To install any application on this server, You need to configure a tech stack on the server. ServerAvatar does that automatically for you, as well as provides you an easy user interface to manage multiple websites on the server without ever touching the command line. You can also connect more servers in a single account to manage sites on them.
To start the initial server configuration, connect with your server via SSH and execute the following commands on your server.
# wget https://srvr.so/install
# chmod +x install
# ./install
Once the requirements are checked and installation is started, You will see a link to your server panel where you can monitor the further installation on web and install applications on it using an easy to use panel.
Auto-install Joomla with ServerAvatar
Step-1. Create a PHP application
Once you are on the admin panel, access the Application tab from the sidebar and click the Create button.
Now fill up the required details in the application form, as seen in the image below.
Note that:
If you want to host Joomla CMS on your domain, then make sure to point your domain to the current IP address of your server, and for that:
-
Log in to your hosting provider site, where you buy your domain. You can check your domain information with one click.
-
Access DNS Manager to edit your DNS records(contact the support team if you don’t find them)
-
Change the IP address of A Record of your website to the current server’s IP address.
Click the Create Application button.
Step-2 Create Joomla database
Joomla installation process takes database credentials. So to create a MySQL database for Joomla, Click on the Databases tab on the server panel.
Enter the details such as Database Name, Username, and Password in the database creation form like the image below.
Click the Create Database button.
Step-3. Auto-install Joomla application
To install Joomla on a Fresh PHP application, go to your application panel and access the** Auto Deploy** tab from the sidebar.
Click the Joomla Auto Install card on the screen, as shown in the above image.
Select the supported PHP version in the given field and click the Install Now button.
Step-4. Install and Setup Joomla
Now access the site URL from the Application panel to install and set up Joomla CMS.
Joomla Installer
Select a language and Enter your Joomla site name.
Admin Login data
Enter the administrator credentials in the Login Data field like the below image.
Database Configuration
Enter the database credential that we have created above in step 2. Database details include-
- Database Type: Type MySQLi as it supports both procedural and object-oriented interfaces.
- Host Name: leave this field as it is if you host your database on the same server as the application.
- Database Username: Enter your created database username in step 2.
- Database Password: Enter Your database password.
- Database Name: Enter the name of your database.
- Database table Prefix: Set the Joomla database table prefix as your choice.
- Connection Encryption: Set it by default.
Click the Install Joomla button.
Delete Installation folder
After successfully installing Joomla, deleting the Install directory is required.
To do this, access the File Manager tab from the application panel and go to the public_html directory.
Now Delete the Installation directory like the above image.
Access Joomla admin login
The next screen allows you to access your site and the admin login page.
Click the Open Administrator to access the Joomla admin panel using admin credentials.
That’s it. You can now create a blog, e-commerce, and membership sites with an easy-to-use interface.