Update/Uninstall

Update

Typically, the software STA-Node updates automatically without any user input, but in certain cases, manual updates may be required:

Stop node service

Shell

1systemctl stop orc

systemctl stop orc

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

Update

Shell

1curl https://install.sta.space | bash

curl https://install.sta.space | bash

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

Uninstall

Stop and uninstall node service:

Shell

1systemctl stop orc 2systemctl disable orc 3rm -f /etc/systemd/system/orc.service

systemctl stop orc systemctl disable orc rm -f /etc/systemd/system/orc.service

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

Remove user and data

Shell

1userdel -r sta

userdel -r sta

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

Restore node on new installed OS

If you need to reinstall the operating system, but wish to retain the node configuration in CUBE without having to delete and then add a new one:

  1. Backup the node identification file /home/sta/orc/orc.ident to a safe place

  2. On new system install node software

  3. Stop orc service:

Shell

1systemctl stop orc

systemctl stop orc

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

  1. Copy orc.ident file to /home/sta/orc

Shell

1cp orc.ident /home/sta/orc

cp orc.ident /home/sta/orc

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

  1. Set owner for orc.ident

Shell

1chown sta.sta/home/sta/orc/orc.ident

chown sta.sta/home/sta/orc/orc.ident

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

  1. Start orc service

Shell

1systemctl start orc

systemctl start orc

/**

  • Reset the text fill color so that placeholder is visible */ .npm__react-simple-code-editor__textarea:empty { -webkit-text-fill-color: inherit !important; }

/**

  • Hack to apply on some CSS on IE10 and IE11 / @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /*

    • IE doesn't support '-webkit-text-fill-color'

    • So we use 'color: transparent' to make the text transparent on IE

    • Unlike other browsers, it doesn't affect caret color in IE */ .npm__react-simple-code-editor__textarea { color: transparent !important; }

.npm__react-simple-code-editor__textarea::selection { background-color: #accef7 !important; color: transparent !important; } }

Last updated