Run a task as root user

35 views
Skip to first unread message

Vidhan Agarwal

unread,
Jun 10, 2016, 5:33:10 AM6/10/16
to Capistrano

Hi, I am a sudoer called 'ubuntu' and I want to carry out the following operations on a remote server:-


$ sudo su

NR_INSTALL_PHPLIST=/opt/lappstack-5.5.25-0/php/bin

# export NR_INSTALL_PHPLIST

# newrelic-install install


Please guide me how do I frame my 'execute' commands.


Vidhan Agarwal

Lee Hambley

unread,
Jun 10, 2016, 6:37:38 AM6/10/16
to Capistrano

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/0fd40845-0f35-400c-9a9e-65540f0af234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages