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

Hoa do i run servers without using a pocketmine app?

Discussion in 'Help' started by Adei, Aug 26, 2019.

  1. Adei

    Adei Silverfish

    Messages:
    20
    GitHub:
    Adwin
    Im still wondering how u run two servers and someone said u need a server hosting app
     
  2. Gianluxx

    Gianluxx Slime

    Messages:
    94
    GitHub:
    Gianluxx
    Just use 2 different directories and 2 different ports
     
  3. Adei

    Adei Silverfish

    Messages:
    20
    GitHub:
    Adwin
    Can you be more detailed i dont quite understand
     
  4. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    Vps, or look up in google : mcpe server hosting
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Just use a PC? Or Termux?
     
  6. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    Termux cant run pockrtmine without root acces. Thats what i know from my own experience
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    It should definitely be able to run PocketMine without root access
     
    EdwardHamHam likes this.
  8. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    Try out on ur own
     
  9. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    As far as I know, Termux can run it without being root, since PocketMine doesn't need (and shouldn't be given) root acces to run.
     
    HimbeersaftLP likes this.
  10. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    Executing sh files require root
     
  11. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    No, executing sh files in Linux does not require root. And Termux doesn't require root for any of its operations (including that).
     
    HimbeersaftLP likes this.
  12. Shaggy0815

    Shaggy0815 Creeper

    Messages:
    5
    GitHub:
    shaggy0815
    if you can not run the file as a user with linux your do not have the right permission or ownership on the file.
    In any case for security reasons you should NEVER run applications as root. If you want to run a minecraft server create a minecraft user and group and run it under that.

    You can change the owner/group of a file by using as root the chown command
    https://linux.die.net/man/1/chown
    example:
    filename: start.sh
    username you want to change to: shaggy0815
    group you want to change to: user
    chown shaggy0815:user start.sh

    After that the file is owned by user with the hame shaggy0815.
    Another option is to set permissions as root on the file for other to excecute e.g.
    chomod 0755 start.sh
    https://linux.die.net/man/1/chmod
     
  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.