Eric and I are Presenting a Basic Drush overview Tommorrow at CTG - 10am

3 views
Skip to first unread message

Tom Atkins

unread,
Aug 20, 2014, 9:15:55 PM8/20/14
to nys-drup...@googlegroups.com
If there are any specific questions I may defer to other experts in the room, however, if you have questions before the presentation I can see if I can work them in. 

Peter Cochetti

unread,
Aug 21, 2014, 1:56:16 PM8/21/14
to nys-drup...@googlegroups.com
Eric, we use Ubuntu servers that remote for our desktops and your presentation this morning seemed to seemed to be focused on using the Windows based Acquia Desktop and local windows installs of Drupal. Is there any information you might have regarding what would be needed to connect remotely via Drush to a Drupal web-server that was  only accessible via proxy server settings or firewall rule changes?

Does anyone use the Drush command line commands from a Linux Drupal server directly?

thanks,
-Peter

Marshall, Gregg (ITS)

unread,
Aug 21, 2014, 2:20:43 PM8/21/14
to Peter Cochetti, nys-drup...@googlegroups.com

Peter

 

Assuming you can SSH into your Ubuntu server, and have Drush installed on it (take a look at https://www.drupal.org/node/1248790 for installation instructions), you get to a command line, generally inside the site you want to work with (otherwise you need to have set up aliases), and the Drush commands should work.  I always start with “drush status” to see if it is the site/database I am expecting.

 

I have not tried using a command line on my desktop with an alias pointing to a remote server that requires using a proxy, but I am pretty sure it could be done (we have discovered ways to do a lot of things via proxies that aren’t always as well documented as they could be).

 

We use Drush on our servers for some things like setting up new users and getting around a nasty issue we have with database compatibility in a Drupal 6 site we maintain.

 

Gregg Marshall

Consultant/Contractor, Drupal Development

NYS ITS Web Services

gregg.m...@its.ny.gov

--
You received this message because you are subscribed to the Google Groups "NYS Forum Drupal Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nys-drupal-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Steinborn

unread,
Aug 22, 2014, 12:15:53 PM8/22/14
to Marshall, Gregg (ITS), Peter Cochetti, nys-drup...@googlegroups.com
All of my production drush takes place through an ssh terminal window to my Linux server. All the commands we covered yesterday can be used across all Drupal hosts. I was only using add2 to demonstrate how a person could play with drush today.

The trick is actually installing drush on the server at first. 

Gregg is correct about aliases communicating to remote Drupal sites, but I'm not aware of how to set it up (though should be easy). Getting through the FW may be hard though.

For example after installing drush on your server, head to your Drupal site base folder something like /var/www/html/mysite/ from there a drush status command will tell you if you are in the right place or if drush is installed correctly.

Hope that helps

Eric
Reply all
Reply to author
Forward
0 new messages