Categorygithub.com/miladrahimi/p-node
modulepackage
0.0.0-20240815220033-879583782efe
Repository: https://github.com/miladrahimi/p-node.git
Documentation: pkg.go.dev

# README

P-Node

Documentation

Installation

  1. Install the requirements
apt-get -y update
apt-get -y install make wget curl vim git openssl cron
  1. Install BBR (Optional)
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
  1. Install P-Node
for ((i=1;;i++)); do [ ! -d "p-node-${i}" ] && break; done
git clone https://github.com/miladrahimi/p-node.git "p-node-${i}"
cd "p-node-${i}"
make setup
  1. Display information required for P-Manager
make info

Update

Automatic updates are set up through cron jobs by default. For earlier updates, run the command below:

make update

Status and Logs

The application service is named after its directory, with p-node as the default in systemd. It allows running multiple instances on a single server by placing the application in different directories with different names (like p-node-2 and p-node-3).

To check the status of the application, execute the following command:

systemctl status p-node-1

To view the application's standard outputs, execute the command below:

journalctl -f -u p-node-1

The application logs will be stored in the following directory:

./storage/logs

Requirements

  • Operating systems: Debian or Ubuntu
  • Architecture: amd64
  • RAM: 1 GB or more
  • CPU: 1 Core or more

Links

License

This project is governed by the terms of the LICENSE.

# Packages

No description provided by the author
No description provided by the author