Setup
Step 1: Connect to Your EC2 Instance
Log in to your EC2 instance.
Step 2: Open Your Terminal and Switch to the Superuser
Open your terminal.
Run the following command to switch to the superuser:
sudo su
Step 3: Verify Your Current Directory
Confirm you are in the correct directory (ideally
/home/ubuntu
or your project directory):Run the following command
pwd
| Note: If the output differs, change your directory to /home/ubuntu.
Step 4: Grant Directory Permissions
Run the following command to set the necessary permissions:
sudo chmod o+x .
Step 5: Create the config.yaml
File
config.yaml
FileCreate a file named
config.yaml
and paste the configuration below:Note: The configuration controls your PayRam server settings. Do not modify existing values or the order of the keys.
To configure for Mainnet, use the configuration below
If you want to configure for Testnet for testing purpose, use the configuration below
Note: Use the testnet configuration for testing purposes and the mainnet configuration for production use.
Last updated