Server Management Platform

    Deploying Ploi on RamNode VPS

    Ploi is a modern server management platform that simplifies deployment and server administration. Combined with RamNode's reliable VPS hosting, you get a powerful solution for managing web applications, databases, and server infrastructure with ease.

    Ubuntu 22.04 LTS
    Ploi Platform
    ⏱️ 10-15 minutes

    Prerequisites

    Before starting, ensure you have:

    Server Requirements

    • • RamNode VPS (2GB RAM recommended)
    • • Ubuntu 22.04 LTS
    • • Root/sudo access
    • • SSH access

    Account Requirements

    • • Ploi account (free trial available)
    • • Domain name (optional)
    • • Basic Linux knowledge
    • • Git repository (for deployments)
    2

    RamNode VPS Setup

    Choose and deploy your RamNode VPS with the following specifications:

    Recommended Specifications:

    • Minimum: 1GB RAM, 1 CPU core, 20GB SSD
    • Recommended: 2GB RAM, 2 CPU cores, 40GB SSD
    • Operating System: Ubuntu 22.04 LTS

    💡 Tip: Note down your server IP address and root credentials after deployment.

    3

    Initial Server Preparation

    Connect to your server and prepare it for Ploi:

    Connect via SSH
    ssh root@your-server-ip
    Update System Packages
    apt update && apt upgrade -y
    Create Non-Root User (Optional)
    adduser ploi
    usermod -aG sudo ploi

    ✅ Server is now ready for Ploi provisioning.

    4

    Connect Server to Ploi

    Add your RamNode VPS to your Ploi dashboard:

    Step-by-step:

    1. Log into your Ploi dashboard
    2. Click "Add Server" or the "+" button
    3. Select "Custom VPS" as your provider
    4. Fill in your server details:
      • • Name: Descriptive server name
      • • IP Address: Your RamNode VPS IP
      • • SSH Port: 22 (default)
      • • Root Password: Your server password

    💡 Note: Ploi will use these credentials to connect and provision your server automatically.

    5

    Server Provisioning

    Ploi will automatically install and configure necessary software:

    Core Components:

    • • Nginx web server
    • • PHP (multiple versions)
    • • MySQL/MariaDB database
    • • Supervisor process manager

    Security & Tools:

    • • UFW firewall
    • • Let's Encrypt SSL
    • • Git version control
    • • Node.js runtime

    🚀 Progress: Provisioning typically takes 5-10 minutes. Monitor progress in the Ploi interface.

    6

    Create Your First Site

    Add a website to your newly provisioned server:

    Site Creation Steps:

    1. In Ploi dashboard, select your server
    2. Click "Add Site"
    3. Configure site settings:
      • • Domain: Your domain or server IP
      • • Web Directory: /public for Laravel, /public_html for others
      • • PHP Version: Choose based on requirements
    4. Complete the site setup wizard

    💡 Tip: You can always modify these settings later through the Ploi interface.

    7

    Setup Git Deployment

    Configure automated deployment from your Git repository:

    Repository Configuration:

    1. Go to your site's settings
    2. Navigate to "Repository & Deployment"
    3. Add repository details:
      • • Repository URL
      • • Branch to deploy from
      • • Deploy key (copy to your repo)
    Sample Deployment Script
    cd /home/ploi/example.com
    git pull origin main
    composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
    php artisan migrate --force
    php artisan config:cache
    php artisan route:cache
    php artisan view:cache

    Automation: Ploi can trigger deployments automatically on Git push.

    8

    SSL Certificate Setup

    Secure your site with SSL certificates:

    Let's Encrypt SSL (Free):

    1. Navigate to your site's SSL tab
    2. Choose "Let's Encrypt" option
    3. Click "Install" - Ploi handles everything
    4. Enable "Force HTTPS" to redirect HTTP traffic

    🔒 Security: SSL certificates are automatically renewed by Ploi.

    9

    Database Management

    Create and manage databases for your applications:

    Create Database:

    1. Go to "Databases" section
    2. Click "Create Database"
    3. Enter name and credentials
    4. Set user permissions

    Backup Setup:

    1. Navigate to "Backups"
    2. Configure frequency
    3. Choose storage location
    4. Set up notifications

    💡 Management: Ploi includes phpMyAdmin for easy database administration.

    10

    Server Monitoring

    Monitor your server performance and health:

    System Resources

    CPU, Memory, Disk Usage

    Performance

    Load Average, Response Times

    Security

    SSL Certificates, Updates

    Advanced Features:

    • • Queue workers management
    • • Cron job scheduling
    • • Server notifications
    • • Log file management

    Troubleshooting Common Issues

    Security Best Practices

    Server Security:

    • • Regularly update server packages
    • • Use SSH keys instead of passwords
    • • Configure proper firewall rules
    • • Enable automatic security updates

    Application Security:

    • • Keep application dependencies updated
    • • Use environment variables for secrets
    • • Implement proper input validation
    • • Regular security audits

    🔐 Reminder: Ploi provides built-in security features, but following these practices enhances overall protection.

    🎉 Congratulations!

    You've successfully deployed Ploi on your RamNode VPS! Your server management platform is now ready for hosting web applications with automated deployments, SSL certificates, and comprehensive monitoring.

    ✅ Server Provisioned
    ✅ Ploi Connected
    ✅ SSL Configured
    ✅ Deployment Ready