New Server migration

Software Antelope Ltd hosts most of its domains on a Cloud Server running Ubuntu Linux 16.04 which was the LTS version for years, but now is no longer supported. A new server has been created and this post documents the process

SAL Projects

retire old projects server ubuntu-s-2vcpu-2gb-lon1-01 159.65.21.121

snapshot image created (4 x backups can be deleted)

SAL Sites

choose new server – Ubuntu Linux with fast dual AMD CPUS
3.sfsw.net
amd.sfsw.net

ipv4: 134.209.180.151
ipv6:  2a03:b0c0:1:d0::fb9:7001

installs
apt install net-tools
apt install nginx
apt install PHP 8

apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt update
apt install php8.0 libapache2-mod-php8.0
apt install php8.0-fpm libapache2-mod-fcgid
a2enmod proxy_fcgi setenvif
a2enconf php8.0-fpm

apt install mysql server and client
configure webservices and databases
configure rsync to securely copy a website instance from old to new
e.g.
rsync -avz -e “ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null” –progress /var/www/* 134.209.180.151:/var/www

TEST: chaosandmatter.com (wordpress site) PHP-FPM 8.1 and 8.0 did not work with permlinks, but PHP-7.4 does. There seems to be a spacing difference but that is not a breaking issue.

TEST: Install latest Laravel and make a site for test.sfsw.net

https://computingforgeeks.com/how-to-install-php-on-ubuntu-linux-system/ has php 8.1 extensions installers, this may be necessary? It is for Laravel composer installs


backup all databases
create a dedicated database server

Major issue:
wordpress nginx configuration appears to not work for permalinks

Published
Categorized as News

Leave a comment

Your email address will not be published.