I updated from Ubuntu 12.04 to Ubuntu 14.04 on a virtual private server.
When you do that update, Apache is updated from 2.2 to 2.4. Certain changes mean that until you update the site-available configuration files no web sites will work.
The quick checklist of what you have to do for each configuration
- update the file to add or edit the directory details (where /var/www/curiouscatnetwork.com/public_html/ is the path to the website files on your server)
[bash]<Directory /var/www/curiouscatnetwork.com/public_html/>
Require all granted
</Directory>[/bash]
Remember if you have details needed for WordPress those instructions need to remain. I didn’t have a Directory area listed on my non-Wordpress sites. - The files now need a .conf extension so move the rename/move the files to the new name
[bash]sudo mv curiouscatnetwork.com curiouscatnetwork.com.conf[/bash] - Enable the new configuration
[bash]sudo a2ensite curiouscatnetwork.com.conf[/bash] - Reload apache to reload the new configuration
[bash]sudo service apache2 reload[/bash]
The upgrade to Ubuntu 14.04 LTS was interrupted (I quit a window using the wrong command – oops). Luckily it wasn’t a big deal. I was able to delete the lock file.
[bash]sudo rm /var/lib/dpkg/lock[/bash]
Then trying to update again
[bash]sudo apt-get dist-upgrade[/bash]
gave a message telling me what command to use to have the upgrade continue.
[bash]sudo dpkg –configure -a[/bash]
which seemed to work fine.
Related: Bash Profile Adjustments, Scrolling History – Checklist: Setting Up a New Domain on VPS – ModSecurity: Adjustments for WordPress