Skip to main content
edited tags
Link
Marcus Müller
  • 51.9k
  • 4
  • 79
  • 121
added 511 characters in body
Source Link
TarJae
  • 113
  • 6

Update 3:

tarjae@DESKTOP-LNI8ONS:/home/shiny$ sudo service shiny-server start

I get:

tarjae@DESKTOP-LNI8ONS:/home/shiny$

Nothing happens. Last days I read a blog where I should create a new user and I did and with this new user I could see something on localhost:3838. I am sorry to take your time!

If I do:

tarjae@DESKTOP-LNI8ONS:~$ service shiny-server status
#OR
tarjae@DESKTOP-LNI8ONS:~$ sudo service shiny-server status
# I get:
tarjae@DESKTOP-LNI8ONS:~$ 

Update 3:

tarjae@DESKTOP-LNI8ONS:/home/shiny$ sudo service shiny-server start

I get:

tarjae@DESKTOP-LNI8ONS:/home/shiny$

Nothing happens. Last days I read a blog where I should create a new user and I did and with this new user I could see something on localhost:3838. I am sorry to take your time!

If I do:

tarjae@DESKTOP-LNI8ONS:~$ service shiny-server status
#OR
tarjae@DESKTOP-LNI8ONS:~$ sudo service shiny-server status
# I get:
tarjae@DESKTOP-LNI8ONS:~$ 
added 414 characters in body
Source Link
TarJae
  • 113
  • 6
  1. I am new to linux.
  2. I try to deploy a shiny server locally on my windows machine with ubuntu WSL.
  3. I successfully installed ubuntu WSL on my windows machine and I can start ubuntu.
  • I come here so far: enter image description here

    I come here so far:

tarjae@DESKTOP-LNI8ONS:~$

  • If I type dir I get this: enter image description here

    If I type dir I get this:
R       rstudio-server-latest-amd64.deb    shiny-server-1.5.17.973-amd64.deb.1
app1.R  shiny-server-1.5.17.973-amd64.deb

From now on everything that happens is random for me, depending on which tutorial I go through!

So my question is:

  1. How can I check whether I am the root or a user? (Source for basic managing linux commands)?
  2. Where is my shiny server?
  3. How can I start the server sudo start shiny-server does not work ->

enter image description here

tarjae@DESKTOP-LNI8ONS:~$ sudo start shiny-server
[sudo] password for tarjae:
sudo: start: command not found
  1. And finally how can I start app1.R

I am fully aware that all this is kind of wage. But I hope to get the next step for my purposes. ANY directing advice is highly appreciated.

Update1:

dpkg-query -l shiny shows

dpkg-query: no packages found matching shiny

  • After sudo apt install ./shiny-server-1.5.17.973-amd64.deb it shows:
Note, selecting 'shiny-server' instead of './shiny-server-1.5.17.973-amd64.deb'
shiny-server is already the newest version (1.5.17.973).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 

Update 2:

With

tarjae@DESKTOP-LNI8ONS:~$ dpkg-query -l | grep shiny

I get:

ii  shiny-server                   1.5.17.973                            amd64        Shiny Server
  • Then with
tarjae@DESKTOP-LNI8ONS:~$ systemctl start shiny-server

I get:

tarjae@DESKTOP-LNI8ONS:~$ systemctl start shiny-server
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
  1. I am new to linux.
  2. I try to deploy a shiny server locally on my windows machine with ubuntu WSL.
  3. I successfully installed ubuntu WSL on my windows machine and I can start ubuntu.
  • I come here so far: enter image description here

  • If I type dir I get this: enter image description here

From now on everything that happens is random for me, depending on which tutorial I go through!

So my question is:

  1. How can I check whether I am the root or a user? (Source for basic managing linux commands)?
  2. Where is my shiny server?
  3. How can I start the server sudo start shiny-server does not work ->

enter image description here

  1. And finally how can I start app1.R

I am fully aware that all this is kind of wage. But I hope to get the next step for my purposes. ANY directing advice is highly appreciated.

  1. I am new to linux.
  2. I try to deploy a shiny server locally on my windows machine with ubuntu WSL.
  3. I successfully installed ubuntu WSL on my windows machine and I can start ubuntu.
  • I come here so far:

tarjae@DESKTOP-LNI8ONS:~$

  • If I type dir I get this:
R       rstudio-server-latest-amd64.deb    shiny-server-1.5.17.973-amd64.deb.1
app1.R  shiny-server-1.5.17.973-amd64.deb

From now on everything that happens is random for me, depending on which tutorial I go through!

So my question is:

  1. How can I check whether I am the root or a user? (Source for basic managing linux commands)?
  2. Where is my shiny server?
  3. How can I start the server sudo start shiny-server does not work ->
tarjae@DESKTOP-LNI8ONS:~$ sudo start shiny-server
[sudo] password for tarjae:
sudo: start: command not found
  1. And finally how can I start app1.R

I am fully aware that all this is kind of wage. But I hope to get the next step for my purposes. ANY directing advice is highly appreciated.

Update1:

dpkg-query -l shiny shows

dpkg-query: no packages found matching shiny

  • After sudo apt install ./shiny-server-1.5.17.973-amd64.deb it shows:
Note, selecting 'shiny-server' instead of './shiny-server-1.5.17.973-amd64.deb'
shiny-server is already the newest version (1.5.17.973).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 

Update 2:

With

tarjae@DESKTOP-LNI8ONS:~$ dpkg-query -l | grep shiny

I get:

ii  shiny-server                   1.5.17.973                            amd64        Shiny Server
  • Then with
tarjae@DESKTOP-LNI8ONS:~$ systemctl start shiny-server

I get:

tarjae@DESKTOP-LNI8ONS:~$ systemctl start shiny-server
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Source Link
TarJae
  • 113
  • 6
Loading