User Tools

Site Tools


slowcontrol:basic_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slowcontrol:basic_setup [2020/08/28 10:57] himuserslowcontrol:basic_setup [2022/01/14 18:44] (current) – external edit 127.0.0.1
Line 17: Line 17:
 $ docker run --it  --network host --name slow_control ubuntu bin/bash $ docker run --it  --network host --name slow_control ubuntu bin/bash
 </code> </code>
 +
 +Containers are usually completely isolated from the host system. But containers with '--network host' tag share the host network.
 +
 +**Note:**
 +
 +'$' symbol is used to represent host terminal.
 +'#' symbol is used to represent terminal inside the container.
  
 **3. Access terminal inside the container** **3. Access terminal inside the container**
Line 25: Line 32:
  
 **4. Install epics using the script on [[epics:autoinstall|autoinstall]] page** **4. Install epics using the script on [[epics:autoinstall|autoinstall]] page**
 +
 +The downloaded script should be copied into the container.
 +Open another terminal window on the host and execute the following command.
 +<code>
 +docker cp <source_path>|- <container_name>:<paht_inside_container>
 +</code>
  
 **5. install Node.js** **5. install Node.js**
 <code> <code>
-curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - +curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - 
-sudo apt-get install -y nodejs+sudo apt-get install -y nodejs
 </code> </code>
  
 **5. Install Node-RED** **5. Install Node-RED**
 <code> <code>
-sudo npm install -g --unsafe-perm node-red+sudo npm install -g --unsafe-perm node-red
 </code> </code>
  
slowcontrol/basic_setup.1598612233.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki