Oracle Cloud

From Wildsong
Revision as of 16:47, 11 January 2024 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

This wiki is running in an Oracle Cloud virtual machine. Its database is replicated and its file storage is synced every day.

Cloudflare Zero Trust makes the site available publicly while keeping the IP address hidden.

Set up

Set up an account at https://oraclecloud.com and opt for the free service level.

I think it required TOTP for authentication.

See "Create a VM Instance" https://cloud.oracle.com/compute/instances/create?region=us-sanjose-1

At the free level you get a choice of 1 AMD core and 1GB of RAM or an ARM CPU with one core and 6 GB of RAM.

When I tried to create an ARM CPU it told me there were none available in the San Jose data center.

Cloud Shell (not what you want)

They let you spin up a little shell in a separate container if you want. Under the Developer tab. It is transient, the whole container goes away when you exit.

Provisioning

yum update

yum install mysql-server

yum install php php-cli php-mysqlnd php-fpm

yum install nginx

systemctl enable nginx

systemctl start ngninx

firewall-cmd --permanent --zone=public --add-service=http

firewall-cmd --permanent --zone=public --add-service=https

firewall-cmd --reload

systemctl enable mysqld

systemctl start mysqld

mysql_secure_installation

Database replication

Daily backup