We've come to the end of our Linux Mint Olivia to Petra party with a look at the bash script used to recreate our Apache Web Sites. Let's first review what we covered in this upgrade series.
We're going to copy our Apache Site Configuration files from a extracted tar file folder to /etc/apache2/sites-available. We will enable each site when its site-available file is created, then when all sites are enabled we will restart the apache2 web service. Along the way we will enable a couple of Apache Modules needed to support Tomcat virtual sites.
The backed-up site configuration file directory we'll be using to copy and create our Apache sites looks like this.
Our bash script logic is pretty simple, but it will still be able to do the job with a single click (or single command to be precise.)
Here is a link to the script tar.gz. You know by now in the series that you're on your own and are fully responsible for any unforeseen results from using this or any NixMash script.
That's our show! The Linux Mint Olivia to Petra bash comes to a close. I hope we helped you simplify your upgrade process and more fully enjoy the most excellent computing environment we know as Linux Mint.