New Servers
cesine opened this issue · comments
Instance
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html
- create instance
Couchdb
https://docs.couchdb.org/en/stable/install/unix.html
https://www.scaleway.com/en/docs/tutorials/install-configure-couchdb/
https://www.tecmint.com/install-couchdb-in-ubuntu/
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apache.jfrog.io/artifactory/couchdb-deb focal InRelease' doesn't support architecture 'arm64'
https://forums.developer.nvidia.com/t/the-problem-about-skipping-acquire-of-configured-file/122395/4
We can see it is missing in the list
https://apache.jfrog.io/ui/native/couchdb-deb/dists/focal/main/
https://docs.couchdb.org/en/3.2.0/whatsnew/3.0.html
#2436, #2455: CouchDB now regression tests against, and officially supports, running on the arm64v8 (aarch64) and ppc64le (ppc64el) machine architectures. Convenience binaries are generated on these architectures for Debian 10.x (“buster”) packages, and for the Docker containers.
#1875, #2437, #2423: CouchDB now supports linking against SpiderMonkey 60 or SpiderMonkey 1.8.5. SpiderMonkey 60 provides enhanced support for ES5, ES6, and ES2016+. Full compatibility information is available at the ECMAScript compatibility table: click on “Show obsolete platforms,” then look for “FF 60 ESR” in the list of engine types.
However, it was discovered that on some ARM 64-bit distributions, SM 60 segfaults frequently, including the SM 60 packages on CentOS 8 and Debian 10.
As a result, CouchDB’s convenience binaries only link against SM 60 on the x86_64
and ppc64le
architectures. This includes the Docker image for these architectures.
At present, CouchDB ships with SM 60 linked in on the following binary distributions:
Debian buster (10.x)
CentOS / RedHat 8.x
macOS (10.10+)
Windows (7+)
Docker (3.0.0)
FreeBSD (CURRENT)
We expect to add SM 60 support to Ubuntu with Focal Fossa (20.04 LTS) when it ships in April 2020.
Switched from t4g to t3a
- install
- customize (config moved), set up required dbs https://docs.couchdb.org/en/stable/setup/single-node.html
- test with repos/new auth https://github.com/FieldDB/AuthenticationWebService/runs/5284432383?check_suite_focus=true
- replicate
Node.js
https://nodejs.org/en/download/
- install
- repos
- env variables
- upgrade package.jsons to node16
- set up crontab
$ rsync -avzh --progress --exclude 'node_modules' fielddb@authdev.example.org:/data/fielddbhome .
sent 1.32M bytes received 3.09G bytes 1.67M bytes/sec
total size is 7.11G speedup is 2.30
Elastic Search
https://www.elastic.co/fr/blog/elasticsearch-on-arm
NGINX
https://www.nginx.com/blog/setting-up-nginx/
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04
Before
nginx version: nginx/1.10.3 (Ubuntu)
After
nginx version: nginx/1.18.0 (Ubuntu)
- install
- clone config
- set up certbot
- copy config
- update dns