Difference between revisions of "Infrastructure:Web Server"

From Lancaster And Morecambe Makers
Jump to: navigation, search
(Created page with "Info on our web server. == Migration from Dreamhost == Export the database (using php-my-admin) as SQL gzipped. ssh into the Big V machine, create a new user and group <pr...")
 
Line 10: Line 10:
 
groupadd drupal
 
groupadd drupal
 
useradd -u drupal -c "LAMM Space Drupal User" -m -s /bin/bash drupal
 
useradd -u drupal -c "LAMM Space Drupal User" -m -s /bin/bash drupal
 +
</pre>
 +
 +
Copy the files from dreamhost
 +
 +
<pre>
 +
sudo su drupal
 +
cd
 +
mkdir dreamhost
 +
cd dreamhost
 +
rsync -avz --no-owner --no-group lammspace@gorecki.dreamhost.com:~/ .
 
</pre>
 
</pre>
  
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]

Revision as of 21:53, 11 November 2015

Info on our web server.

Migration from Dreamhost

Export the database (using php-my-admin) as SQL gzipped.

ssh into the Big V machine, create a new user and group

groupadd drupal
useradd -u drupal -c "LAMM Space Drupal User" -m -s /bin/bash drupal

Copy the files from dreamhost

sudo su drupal
cd
mkdir dreamhost
cd dreamhost
rsync -avz --no-owner --no-group lammspace@gorecki.dreamhost.com:~/ .