⚡Quick Setup
Deploy, configure, and start accepting payments on PayRam in under 10 minutes!
In this section, you’ll go through the complete setup of your PayRam server, including installation, security configuration, and encryption, to ensure it is fully prepared and running smoothly.
Prerequisites
Before starting, please ensure your system meets the following requirements:
Server configuration
Use a VPS or dedicated server with the minimum specifications required to host the PayRam server.
Minimum server requirements
CPU: 2 cores
RAM: 4 GB
Storage: 50 GB SSD (the installer requires at least 5 GB free, and recommends 10 GB)
Operating System: Ubuntu 22.04 or another supported distribution
Network requirements
Ensure the following ports are open on your server or VPS:
PortPurpose80
HTTP. Serves the dashboard, payment pages, and API. Redirects to 443 when SSL is enabled.
443
HTTPS. Required only when PayRam terminates TLS itself (Let's Encrypt or custom certificates).
Database configuration
To run PayRam smoothly, you must provision a PostgreSQL database with the following minimum configuration:
Minimum database requirements:
Database engine: PostgreSQL
vCPUs: 1 CPU cores
Memory: 1 GB
Storage: 50 GB SSD
PayRam setup
Installing necessary dependencies
The script then handles the rest of the setup automatically. It checks for previous installations, validates required ports, detects the operating system, and ensures compatibility. Next, it installs or verifies Docker and PostgreSQL, creates the needed directories, and performs a disk space check. If any problems are found (such as low storage), the script will display a warning and ask you to confirm whether to proceed by typing Y or N.

Database setup
Once the dependencies are installed, you are prompted to choose between an External PostgreSQL Database and a Containerized PostgreSQL Database.

Enter 1 or 2 based on your requirement.
If you enter 1, you’ll be prompted for the following details:
Database Host
Port
Database Name
Username
Password
These details establish the connection between PayRam and your PostgreSQL database.
You can find them in your PostgreSQL server configuration or your hosting provider’s control panel. If you’re using a managed PostgreSQL service (for example, AWS RDS, Azure Database, or DigitalOcean), these values are available in the database connection settings.
Example connection string:
In this example:
myuser→ Database usernamemypassword→ Database passworddb.example.com→ Database host5432→ Database portmydatabase→ Database name
If you enter 2, the script creates a local PostgreSQL database using Docker with the following default credentials:
SSL configuration
After setting up the database, the script will prompt you to configure SSL by choosing from Let’s Encrypt (auto-generate free SSL), Custom Certificates (use your own), or no SSL for now.

Enter 1, 2, or 3.
If you enter 1, Let’s Encrypt will automatically generate and install a free SSL certificate for your domain within minutes, with certificates trusted by all browsers and auto-renewed every 90 days.
You will be asked for the domain name that points to this server.
Enter 2 if you already have your own SSL certificates.
When prompted, enter the domain name your certificates are issued for. PayRam looks for them at
/etc/letsencrypt/live/<domain>/, so placefullchain.pemandprivkey.pemthere before you start.The script verifies both files and validates the certificate before continuing. If a file is missing or the certificate is expired or mismatched, you can enter a different domain or skip SSL.
Enter 3 to skip SSL for now. PayRam starts on HTTP (port 80) immediately, with no domain or certificate needed. You can add SSL certificates later.
Review the settings
The script then displays all the configurations you selected. Review the settings carefully to make sure they are correct before proceeding.

If the configuration is correct, press Enter and the script will set up the PayRam server based on the options you selected. This will start installing the payram server based on your configurations

Installation completed
PayRam then runs a health check to confirm the application is responding.

After the installation completes, a confirmation message appears in the terminal.

Once the installation is complete, you’ll see “PayRam installation completed successfully” in the logs. You can then go to http://yourserverip.com, replacing yourserverip with the IP address or domain where the PayRam server is hosted.
Now that you’ve successfully completed the setup, please go to the onboarding configuration to start setting up your root account for PayRam.
Last updated




