X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=vps-utils%2FREADME.md;h=a81dd2cccab3f7faeee1c02a3bd73a90f03b0ae3;hb=HEAD;hp=3dbce199b05a7465b4d4d5a7b1d749b07dfe73fa;hpb=a9a7904f52f4f7bc078211323d46825b3c93d6d3;p=webi-installers%2F.git diff --git a/vps-utils/README.md b/vps-utils/README.md index 3dbce19..a81dd2c 100644 --- a/vps-utils/README.md +++ b/vps-utils/README.md @@ -3,18 +3,21 @@ title: VPS Utils homepage: https://webinstall.dev/vps-utils tagline: | VPS Utils make it easy to setup and manage a VPS -description: | - VPS Utils includes shortcut commands for some common tasks, including `cap-net-bind`, 'vps-addswap', and 'vps-myip' --- -**cap-net-bind**: +## Cheat Sheet -`cap-net-bind` will give the specified program the ability to listen on +> VPS Utils includes shortcut commands for some common tasks, including +> `setcap-netbind`, 'vps-addswap', and 'myip' + +**setcap-netbind**: + +`setcap-netbind` will give the specified program the ability to listen on privileged ports, such as 80 (http) and 443 (https) without `root` privileges or `sudo`. ```bash -sudo cap-net-bind node +sudo setcap-netbind node ``` This is the same as running the full command: @@ -23,13 +26,13 @@ This is the same as running the full command: setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node)) ``` -**vps-myip**: +**myip**: Will output externally detected IPv4 and IPv6 addresses. See . ```bash -vps-myip +myip ``` ```txt