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
- 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:
- Activate the instance (e.g. droplet or VM).
- Install xterm
- Add the functions "dark" and "light" to end of
.bashrc
. - Set up SSH passwordless login.
- Install gnu emacs.
- Install Apache2.
- Make
/var/www/html/index.html
(already configured) to be my welcome screen. - Install MySQL.
- Set up Apache2 to prefer PHP files.
- 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.
- Install composer
- Create DB
{gisle_…}
. - Download Drupal.
- Install drush.
- Install Drupal.
- Install Devel.
- Install Backup and Migrate.
- Install Bootstrap5.
- Create subtheme.
- Set body to light and navbar and footer to dark.
- Add override of
dark
toscss/_variables_bootstrap.scss
- Set a custom logo and favicon.
- Uninstall Comment (most clients).
Final word
[TBA]
Last update: 2022-06-30 [gh].