How to do it...

Follow these steps to deploy a Django project on a Linux server with Virtualmin:

  1. Log into Virtualmin as the root user and set bash (instead of sh) as the default shell for the server's users. This can be done by navigating to Virtualmin | System Customization | Custom Shells, as shown in the following screenshot:
  1. Create a virtual server for your project by navigating to Virtualmin | Create Virtual Server. Enable the following features: Setup website for domain? and Create MySQL database?. The Custom username and Administration password that you set for the domain will also be used for the SSH connections, FTP, and MySQL ...

Get Django 2 Web Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.