The first step in deploying Oxy is to provision a server where your Oxy instance will run.
The following deployment guides assume you will be using Ubuntu as your operating system and “ubuntu” as your username. While Oxy can work on other Linux distributions and usernames, the commands and paths may need to be adjusted accordingly.
1
Provision a Server
Provision a server (e.g., AWS EC2, Google Compute Engine) with your preferred OS (Ubuntu recommended).
For cloud deployments, we recommend using at least 2GB RAM and 1 CPU core.
This will ensure smooth operation of Oxy and any additional services you may run.
2
Install Essential Packages
Once your server is up and running, install the essential packages:
These packages will provide you with the basic tools needed for the deployment.
3
Configure SSH Access
Ensure your server has proper SSH access configured for secure remote management.
Copy
Ask AI
# Create SSH directory if it doesn't existmkdir -p ~/.sshchmod 700 ~/.ssh# Set proper permissions for SSH filestouch ~/.ssh/authorized_keyschmod 600 ~/.ssh/authorized_keys
You should set up your own SSH key for secure access to your server. Add your public key to the ~/.ssh/authorized_keys file to enable password-less authentication:
Copy
Ask AI
# On your local machine, generate a key if you don't have one# ssh-keygen -t ed25519 -C "your-email@example.com"# Then add your public key to the server's authorized_keys file# Either manually append your public key or use ssh-copy-id:# ssh-copy-id user@your-server-ip
4
Configure Basic Firewall
Set up a basic firewall to allow only necessary traffic: