Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Oil on a synology
  • I have a synology NAS, but no idea how to install oil. Can anyone give me a few pointers where to begin? Did this:
    KerryKing> sudo curl | sh
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 244 100 244 0 0 217 0 0:00:01 0:00:01 --:--:-- 593
    KerryKing> And tried this:
    sudo sh -c "curl --silent > /usr/bin/oil"
    sudo chmod +x /usr/bin/oil Its there:
    -rwxr-xr-x 1 root root 586 Mar 22 23:46 oil But all i try gives:
    -ash: oil: not found
  • Like any other command in linux, you can't just type it's name unless you have an alias setup for it, or it's in the path. Try typing "./oil" when in the directory you downloaded it in. Second thing is that it's a shell script with a shebang (#!/bin/bash) defining bash as the shell to execute this script. Does your platform has bash installed? I think your platform has a stripped down version of linux running...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion