Marcoa
hello!
im new to ubuntu, i manage to install ubuntu on a chromebook following the steps but I cant get the editor working.
 following this page  http://www.openplcproject.com/getting-started-linux

i cant connect to  localhost8080. what could be the problem?
wha wwhtthttlo:/localhost:8//localhost:808
Reply 0 0
thiagoralves
These steps are for you to install OpenPLC runtime, not the editor. The runtime is responsible for executing your PLC programs that you create on the editor. Usually it is installed on a device such as Raspberry Pi or UniPi. In any case, if localhost:8080 is not opening, you probably had some error during installation. I’ll need the full log of your installation to be able to help you. Just copy and paste the commands you typed and the outcome
Reply 0 0
Marcoa
i think the error is in this part

(trusty)marco@localhost:~$ cd OpenPLC_2
bash: cd: OpenPLC_2: No such file or directory
(trusty)marco@localhost:~$ cd OpenPLC_v2
(trusty)marco@localhost:~/OpenPLC_v2$ sudo nodejs server.js
[sudo] password for marco:
Working on port 8080

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
Reply 0 0
thiagoralves
This error means that the OpenPLC executable was not generated during the installation of the OpenPLC runtime, which likely happened due to another error during the installation. In other words, the installation failed and your runtime is corrupted
Reply 0 0
Marcoa
Could you just post here the sequence of the commands?
Is it better to install it on ubuntu 16.04?
Reply 0 0
thiagoralves
The sequence of commands can be found here:  http://www.openplcproject.com/getting-started-linux


sudo apt-get update
sudo apt-get install build-essential pkg-config bison flex
sudo apt-get install autoconf automake libtool make nodejs git
git clone https://github.com/thiagoralves/OpenPLC_v2.git
cd OpenPLC_v2
./build.sh
Reply 0 0
Reply