Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Install Vesta control panel in Ubuntu 18.04

by | Feb 15, 2021

Wondering how to Install Vesta control panel in Ubuntu? We can help you.

VestaCP offers a simple web-based interface for its users. With VestaCP, we can install more than 439 apps with one click installer.

As part of our Server Management Services, we assist our customers with several Ubuntu queries.

Today, let us see how to install the Vesta control panel in Ubuntu 18.04.

 

Vesta control panel in Ubuntu

A free, open-source, and powerful website control panel that comes with website, email, database, and DNS functionalities, VestaCP is lightweight, resource-friendly, and easy to install compared to other control panels.

VestaCP offers us:

  • A very neat Web interface open-source and written in PHP. So compatibility is a guarantee.
  • Vesta core is written in bash. Hence, we can execute 381 commands on Core.
  • Its license is GNU GPL3. Its source code can be studied and modified
  • A powerful CLI ready to give us control of what happens on the server.
  • Commercial plugins.

In order to begin, our Support Techs suggest having a server running Ubuntu 18.04.0 and a root password set up on our server.

 

Install Vesta control panel in Ubuntu

Initially, we update the system completely to have everything ready.

$ apt update -y
$ apt upgrade -y

Next, we change the hostname of the server since it can be an issue later.

nano /etc/hostname

Then we change the entry from “localhost” to the name of the domain.

Now, we change the hosts’ file to reflect the changes we made:

nano /etc/hosts

Next to the line after “localhost” we add the IP address, hit the tab key then add the domain name.

VestaCP has a pretty competent installer that we have to download using curl.

$ curl -O http://vestacp.com/pub/vst-install.sh

Once we download it, we can run it with the following command:

$ bash vst-install.sh

This will start the wizard.

The first thing it will ask is our Email and the FQDN of the server.

Then, it will start the whole installation, which will take a while.

When the installation is complete we will be met with a congratulatory message and that you may log in at the address listed above with the username and password provided.

 

  • Test VestaCP on Ubuntu 18.04

Now in order to access the tool, open any web browser and go to https://your-server:8083 where we will see the login screen.

Since it is using a self-signed certificate, we will get an SSL warning. Click to proceed anyway. The exact steps may vary by the web browser.

For Chrome, click Advanced and then click Proceed. Once we’re at the login screen, enter the two credentials displayed in the server console after installation. These credentials will also be emailed to us using the email we entered at the beginning of the install.

 

  • Configure VestaCP

Within the administration console, there are a few changes that we need to make, to get VestaCP to work properly.

We must change the nameserver entries to match the nameservers we created through the domain registrar’s website.

  1. Hover the mouse over the admin user and click on edit.
  2. Change the Default parameters into the nameservers we created earlier, then save the changes.
  3. Now move over to the DNS tab, click on “edit”.
  4. Here we must change the “Template” to “child-ns” and the SOA to the first nameserver and save changes. Go back to the DNS tab.
  5. Hover once again over your domain but this time click on “List Records”.
  6. Scroll all the way down and make sure NS records reflect the nameservers; if not do change them now.
  7. On the right side of the top bar is “Packages”, click on that and edit all the tabs.
  8. Scroll down to the Name Server options and make the necessary changes.
  9. Now go to the domain tab and edit your domain.
  10. Check the box labeled “SSL support”, then check the box labeled “Lets Encrypt Support”; then click save, this will generate an SSL certificate.

Note that we may have to wait for up to 72 hours for the DNS records to fully propagate from the domain registrar. Once done, move on to the next step.

Now we will create the SSL certificate for the control panel itself, to do this we need to go back to the SSH terminal and key in the code below.

source /etc/profile PATH=$PATH:/usr/local/vesta/bin && export PATH
v-add-letsencrypt-domain ‘admin’ domainname ” ‘yes’
v-update-host-certificate admin domainname

Now we can access the admin page from our domain name, just be sure to append the port number to it.

We should see no errors by the browser as the SSL certificate has been installed.

 

Few common errors

Moving ahead, let us have a look at a few errors we may come across during these processes.

  • Error: apt-get upgrade failed

While installing VestaCP on Ubuntu, after inputting the install command we may encounter:

Error: apt-get upgrade failed

In order to solve this, we run the command:

# apt-get -f install

Then reinstall the Vesta control panel.

  • Connection to IMAP Server Failed

After installing the Vesta control panel, we may receive the following error while accessing the mail account using Roundcube:

Connection to IMAP Server Failed
Authentication is working fine.

In order to solve this:

  1. Check whether “inbox=yes” in /etc/dovecot/conf.d/15-mailboxes.conf
  2. If it is not, run the command:
    # sed -i “s#namespace inbox {#namespace inbox {\n inbox = yes#” /etc/dovecot/conf.d/15-mailboxes.conf
  3. Then restart dovecot

[Stuck with any error? We’d be happy to assist]

 

Conclusion

In short, VestaCP is a control panel for Linux with many features that facilitate the administration of a server. Today, we saw how our Support Techs install Vesta control panel in Ubuntu in a very simple way.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF