Know the IPv4 and IPv6 address of your server.
Go to your Domain Registrar, and add A and AAAA DNS records pointing to your IPv4 and IPv6 address respectively. Wait a while for it to propagate; check the progress here.
ssh
to your server as root (or run the commands with sudo
)
Create a new Linux user for the purpose of running the CSS
# as root run
useradd -m -s /bin/bash [user]
Switch to your new user and create a folder structure
Switch user
# as root run
su [user]
Go to home folder of [user]
# as [user] run
cd ~
Create project folder (feel free to choose different)
# as [user] run
mkdir -p ~/www/[projectname]
Ultimately, this is the folder structure we're aiming for:
www/[projectname]/
├── CommunitySolidServer/ (only if you're running CSS from github repository)
├── data/
├── mashlib/
├── run.sh
└── config.json