Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installer script (Linux)

Comments in 'Tools' started by Primus, May 7, 2016.

  1. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Hi everyone.

    I've made script which fetch latest project files from Github repository and downloads PHP binaries for appropriate platform. MacOS not tested and Idk if it can run bash scripts :/



    Download pmInstall.sh

    To run script 'cd' into directory where you downloaded it and execute
    Code:
    ~ $ sudo bash ./pmInstall.sh
    
    # Or
    
    ~ $ sudo chmod +x ./pmInstall.sh
    ~ $ ./pmInstall.sh
    
    If everything went fine, you should see something like
    Code:
    [INFO] Starting...
    [INFO] Script running on Linux x86
    [INFO] Checking connectivity...
    [INFO] Connected
    [INFO] 'git' command found.
    [INFO] 'tar' command found.
    [INFO] Downloading project files...
    # Git clone log messages
    [INFO] Project files downloaded
    [INFO] Downloading PHP binaries...
    # wget log messages
    [INFO] PHP binaries extracted
    [INFO] Starting PocketMine-MP...
    
    [*] PocketMine-MP set-up wizard
    # ...
    
    
    Script will run PocketMine-MP automatically.
    Last edited: May 7, 2016

Share This Page

Advertisement