Routines for setting up a new server

TBA.

Table of contents

Introduction

This is the operational note about the routines for setting up a new server for a client. The client's perspective is described in this chapter: Getting your own Drupal website.

Servers have canonical names where the first letter identify the VM or co-location provider, sometimes followed by numbers that identify the version of Ubuntu installed.

Configure DNS

  1. Set up DNS to point to canonical name for the server.

Set up LAMP

The following steps are required to set up a droplet or physical host with a environment suitable for Drupal:

  1. Activate the instance (e.g. droplet or VM).
  2. Install xterm
  3. Add the functions "dark" and "light" to end of .bashrc.
  4. Set up SSH passwordless login.
  5. Install gnu emacs.
  6. Install Apache2.
  7. Make /var/www/html/index.html (already configured) to be my welcome screen.
  8. Install MySQL.
  9. Set up Apache2 to prefer PHP files.
  10. Install zip (includes unzip),

Configure vhost

The server is now ready for having a website or websites installed. See this chapter to learn how to do this on Ubuntu.

Create Drupal site

Make sure site is set up from the start to use composer.

  1. Install composer
  2. Create DB {gisle_…}.
  3. Download Drupal.
  4. Install drush.
  5. Install Drupal.
  6. Install Devel.
  7. Install Backup and Migrate.
  8. Install Bootstrap5.
  9. Create subtheme.
  10. Set body to light and navbar and footer to dark.
  11. Add override of dark to scss/_variables_bootstrap.scss
  12. Set a custom logo and favicon.
  13. Uninstall Comment (most clients).

Final word

[TBA]


Last update: 2022-06-30 [gh].