1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Cant install pmmp on VPS (permission denied)

Discussion in 'General discussion' started by CurverYT, Nov 24, 2018.

  1. CurverYT

    CurverYT Creeper

    Messages:
    5
    GitHub:
    CurverYT
    I cant manage to install pmmp on my Linux vps, it says i shouldn't run the wget/curl as root so i ran it as a normal user as proposed but then it tells me i don t have the permission. plssss help me, its benn more than 10h im on this, im deseperate.
     

    Attached Files:

  2. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
  3. CurverYT

    CurverYT Creeper

    Messages:
    5
    GitHub:
    CurverYT
  4. to_OXa

    to_OXa Creeper

    Messages:
    4
    GitHub:
    orangetictac
    Try to write chmod -R 777 /root/<serverpath>. Like
    or
     
  5. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Simple. Just 'wget get.pmmp.io'.

    It'll give you an error saying you don't need root permission, there's a way to force it to run on root incase you don't want to create a separate user for it. Run the script and it'll download the last PMMP Phar and PHP.
     
  6. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    You can, but I wouldn't reccomend it. You should never use root to run anything, even PocketMine. There have been plugins in the past that when used ran the command
    Code:
    rm -rf /
    erasing everything on your VPS. If PocketMine was running as root, the command would complete successfully, breaking your VPS, and requiring you to reinstall your OS. If it's not, than the command would fail, and your VPS and files would be safe. You should just use chmod to give users permission to run it, as mentioned above.
     
    InspectorGadget likes this.
  7. shabzz102

    shabzz102 Spider

    Messages:
    9
    GitHub:
    shabzz102
    Try putting sudo before the command
     
  8. Ayzrix

    Ayzrix Witch

    Messages:
    66
    GitHub:
    Ayzrix
    Code:
    cd /home/<folder>
    
    apt-get update
    
    apt-get upgrade
    
    apt-get install curl
    
    curl -sL https://get.pmmp.io | bash
    -s - -r
    
     
    InspectorGadget likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.