WooCommerce is a free and open-source WordPress eCommerce plugin that makes it easy to create online stores and shopping websites. The platform is easy to set up and allows flexible scaling depending on your eCommerce needs. This article explains how to set up WooCommerce on a Ubuntu 20.04 server.
By default, the Vultr Marketplace WordPress application runs on a LEMP (Nginx, MySQL, PHP) stack. On top of that, Nginx is pre-optimized depending on your virtual server specifications for best performance for all hosted WordPress websites.
To ensure correct optimization for WordPress, confirm
worker process and
worker_connection values in the nginx.conf file.
$ cat /etc/nginx/nginx.conf
worker_processes is set to
worker_connections matches your server memory, then your server is well optimized for WordPress.
user nginx; worker_processes auto; worker_connections 1024;
To get started, you must download the latest WooCommerce file from the WordPress Plugin page. In this article, we install version 5.8, consider checking for the latest version.
$ wget https://downloads.wordpress.org/plugin/woocommerce.5.8.0.zip
Extract the downloaded
.zip archive file
$ unzip woocommerce.5.8.0.zip
Move the extracted files to your WordPress plugins installation directory at
$ mv woocommerce /var/www/html/wordpress/wp-content/plugins
To avoid WordPress errors arising from improper permissions, change directory ownership to the user
www-data and group
$ chown -R www-data:www-data woocommerce/
With WooCommerce files available in the WordPress Plugins directory, you can now activate WooCommerce by visiting your serverâs IP address to access the WordPress Admin Dashboard and locate Plugins on the main sidebar menu.
Once activated, enter details about your store such as a business address, base country of operation, city, email address, industry/category, type of products that will be listed, and projected statistics for your online store.
Next, choose a preferred theme for your new online store. You can select from hundreds of already prebuilt themes to create a customer-friendly shopping website.
You will be prompted to connect your WordPress account to Jetpack since itâs required by WooCommerce. Once connected, you will be redirected back to the WordPress dashboard.
Congratulations, you have successfully installed and set up WooCommerce on a Ubuntu 20.04 server.
In this article, you installed WooCommerce using Vultrâs One-Click WordPress application. You can manage your online store products, set up payment methods, use marketing tools and personalize your store through the main WordPress dashboard.