Changes between Version 3 and Version 4 of ServerMigration


Ignore:
Timestamp:
Apr 27, 2016, 6:23:07 PM (10 years ago)
Author:
steve.winter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerMigration

    v3 v4  
    3333
    3434= Moving the web server =
     35
     36{{{
     37sudo apt-get install apache2
     38sudo apt-get install php5
     39sudo apt-get install php5-curl
     40sudo apt-get install mysql
     41sudo apt-get install php5-mysql
     42sudo apt-get install libapache2-mod-auth-mysql
     43}}}
     44
     45Create the folders
     46
     47Give Apache ownership of them
     48
     49Create apache config files
     50
     51Enable rewrite engine
     52
     53
    3554These instructions assume that installation is to be on a *nix web server, running Apache, and that the person following them is able to access the server via ssh (either as root, or as a user who has sudo permissions).
    3655
    … …  
    113132sudo mkdir /var/www/app.blincref.com/assets/certificates
    114133sudo mkdir /var/www/app.blincref.com/assets/uploads
    115 sudo chown www_data:www_data /var/www/app.blincref.com/assets/certificates
    116 sudo chown www_data:www_data /var/www/app.blincref.com/assets/uploads
     134sudo chown www-data:www-data /var/www/app.blincref.com/assets/certificates
     135sudo chown www-data:www-data /var/www/app.blincref.com/assets/uploads
    117136}}}
    11813710. browse to the site to confirm that all is working: https://app.blincref.com
     138
     139If using OVH and a failover IP address enable the IP alias
     140{{{
     141ifconfig eth0:0 192.168.1.6 up
     142}}}
    119143
    120144=== Troubleshooting ===