{"id":609,"date":"2016-01-21T04:14:36","date_gmt":"2016-01-21T09:14:36","guid":{"rendered":"https:\/\/on-linelearning.ca\/epub\/?post_type=chapter&#038;p=609"},"modified":"2019-10-07T04:52:10","modified_gmt":"2019-10-07T08:52:10","slug":"evolution","status":"publish","type":"chapter","link":"https:\/\/on-linelearning.ca\/mem\/chapter\/evolution\/","title":{"raw":"Evolution","rendered":"Evolution"},"content":{"raw":"<h1>Introduction<\/h1>\r\nIn the life of a computing system, the administrator and stakeholders can choose not to change the existing system, or move forward to the latest upgrades.\u00a0 On January 13, 2016 after more than two months of research and testing, the administrators chose to move Pressbooks from CentOs 7 to a Ubuntu OS 15.10 with approximately 60 seconds of interruption in services.\u00a0 Upgrading included WordPress 4.4.1, WordPress plugins, Pressbooks, Pressbooks Textbook, PHP, and MYSQL applications.\r\n<h2><span>Plugins<\/span><\/h2>\r\nTable 7.1 WordPress Pressbooks Enabled Network Plugins\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>PLUGIN<\/strong><\/td>\r\n<td><strong>DESCRIPTION<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/enable-media-replace\/\" rel=\"noopener noreferrer\">Enable Media Replace<\/a><\/strong><\/td>\r\n<td>Enable replacing media files by uploading a new file in the \"Edit Media\" section of the WordPress Media Library.\r\nVersion 3.0.4 | By M\u00e5ns Jonasson<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/jquery-smooth-scroll\/\" rel=\"noopener noreferrer\">jQuery Smooth Scroll<\/a><\/strong><\/td>\r\n<td>The plugin not only add smooth scroll to top feature\/link in the lower-right corner of long pages while scrolling but also makes all jump links to scroll smoothly.\r\nVersion 1.4.0 | By BlogSynthesis<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks\/\" rel=\"noopener noreferrer\">Pressbooks<\/a><\/strong><\/td>\r\n<td>Simple Book Production\r\nVersion 3.5.2 | By BookOven Inc.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks-mpdf\/\" rel=\"noopener noreferrer\">Pressbooks mPDF<\/a><\/strong><\/td>\r\n<td>Open source PDF generation for Pressbooks via the mPDF library.\r\nVersion 1.0.1 | By Brad Payne<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks-textbook\/\" rel=\"noopener noreferrer\">Pressbooks Textbook<\/a><\/strong><\/td>\r\n<td>A plugin that extends Pressbooks for textbook authoring\r\nVersion 2.2.2 | By Brad Payne<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/simple-comment-editing\/\" rel=\"noopener noreferrer\">Simple Comment Editing<\/a><\/strong><\/td>\r\n<td>Simple comment editing for your users.\r\nVersion 1.9.1 | By Ronald Huereca<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/svg-support\/\" rel=\"noopener noreferrer\">SVG Support<\/a><\/strong><\/td>\r\n<td>Allow SVG file uploads using the WordPress Media Library uploader plus direct styling of SVG elements using CSS.\r\nVersion 2.2.2 | By Benbodhi<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/thin-out-revisions\/\" rel=\"noopener noreferrer\">Thin Out Revisions<\/a><\/strong><\/td>\r\n<td>A plugin for better revision management. Enables flexible management for you.\r\nVersion 1.8.3 | By Hirokazu Matsui<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\" rel=\"noopener noreferrer\">UpdraftPlus - Backup\/Restore<\/a><\/strong><\/td>\r\n<td>Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV &amp; email, on automatic schedules.\r\nVersion 2.11.29.22 | By UpdraftPlus.com, David Anderson<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wordfence\/\" rel=\"noopener noreferrer\">Wordfence Security<\/a><\/strong><\/td>\r\n<td>Wordfence Security - Anti-virus, Firewall and High Speed Cache\r\nVersion 6.0.24 | By Wordfence<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-first-letter-avatar\/\" rel=\"noopener noreferrer\">WP First Letter Avatar<\/a><\/strong><\/td>\r\n<td>Set custom avatars for users with no Gravatar. The avatar will be the first (or any other) letter of the user's name on a colorful background.\r\nVersion 2.2.3 | By Dev49.net<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-slimstat\/\" rel=\"noopener noreferrer\">WP Slimstat Analytics<\/a><\/strong><\/td>\r\n<td>The leading web analytics plugin for WordPress\r\nVersion 4.3 | By Camu<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Default Filters<\/strong><\/td>\r\n<td>Determine what filters should be loaded by default when your reports are initialized.\r\nVersion 1.4 | By Slimstat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Email Reports<\/strong><\/td>\r\n<td>Override your sites' settings with a global configuration\r\nVersion 2.2 | By WP Slimstat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Export to Excel<\/strong><\/td>\r\n<td>Export your reports as a CSV file.\r\nVersion 2.5.2 | By WP Slimstat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Firewall Fix<\/strong><\/td>\r\n<td>Fix the collection of IP addresses when the webserver is behind a proxy, firewall or load balancer.\r\nVersion 1.6.1 | By WP Slimstat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Network Settings<\/strong><\/td>\r\n<td>Override your sites' settings with a global configuration\r\nVersion 1.2.1 | By Camu<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Network Analysis<\/strong><\/td>\r\n<td>Access a network view of your reports.\r\nVersion 1.4 | By Camu<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>WP SlimStat - Track Cookies<\/strong><\/td>\r\n<td>Collect all the cookies associated with the domain sent by the browser.\r\nVersion 1.5 | By WP Slimstat<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe new WordPress plugins were: Plugin Activation Status, Pressbooks mPDF,\u00a0Simple Comment Editing, and WP First Letter Avatar. The Responsive Scrolling Tables and Plugin Activation Status plugins were uninstalled, as both were redundant with latest WordPress and Pressbook upgrade. The Simple Comment Editing plugin was added to enhance the commenting option. The epub-fhd.athabascau.ca site is primarily for authoring and distribution of mobile file formats, with support from web page versions. Hence, commenting supports the content, rather than an extension to further discussions appropriate to blogs or forum based systems. Comment spam can become a concern that can be partially mitigated with an anti-spam plugin that is compatible with the native WordPress commenting system. In general, more plugins increase the potential security risk, hence less is better for the overall health of the e-publishing system. The value of each plugin has to be considered in comparison to its value for the end-users. Another factor, is the WordPress core that continues to improve and may include functionality that previously existed as a plugin. Care in selection of appropriate plugins to the Pressbook site is a challenge in a constantly changing digital environment. In example, an aggregate multisite RSS feed plugin may be useful in pushing the latest page changes to end-users from the main site.\u00a0 However, Wordpress already has built-in RSS feed functionality for each sub-site.\r\n\r\nPressbooks has dropped mPDF from its core plugin.\u00a0 Fortunately, BC Campus programmer Brad Payne[footnote]Brad Payne - http:\/\/bradpayne.ca\/[\/footnote] has created a Pressbooks mPDF plugin to restore open source mPDF generation[footnote]mPDF - http:\/\/www.mpdf1.com\/mpdf\/index.php[\/footnote].\u00a0 Currently the Pressbooks symbionts folder includes a prince folder that suggest Pressbooks will continue to include commercialware support for PDF generation in its core plugin.\r\n<h1>Same Domain Different Server<\/h1>\r\nThe workflow to achieve minimal interruption in services between the old production server on CentOS and the new server on Ubuntu was achieved through the following process based on key preparations.\r\n<h2>Preparations<\/h2>\r\n<ul>\r\n \t<li>Old WordPress multisite updated to latest version.<\/li>\r\n \t<li>Database checked for data integrity<\/li>\r\n \t<li>Files scanned for malware and data integrity<\/li>\r\n \t<li>Configured two domains - production and development<\/li>\r\n \t<li>Virtualization application - Linux KVM [footnote]http:\/\/www.linux-kvm.org\/page\/Main_Page[\/footnote]<\/li>\r\n<\/ul>\r\n<h2>Workflow<\/h2>\r\n<strong>A. Development Domain<\/strong> - Create a fresh install of the latest WordPress on new server.\r\n<ol>\r\n \t<li>Setup the WordPress multisite configuration.<\/li>\r\n \t<li>Copy the Database from production domain server to new server.<\/li>\r\n \t<li>Copy the wp-content folder from production domain server to new server.<\/li>\r\n \t<li>Modify htaccess and wp-config files to conform to development domain URL.<\/li>\r\n \t<li>Change all URL's from epub-fhd to dev-fhd via PHP script[footnote]Database Search and Replace Script in PHP https:\/\/interconnectit.com\/products\/search-and-replace-for-wordpress-databases\/[\/footnote] - Search Replace DB version 3.1.0<\/li>\r\n \t<li>Check that site is working correctly and upgrade WordPress plugins.<\/li>\r\n \t<li>Check that site is working correctly.<\/li>\r\n \t<li>Switch domain name from development to production via local host file.<\/li>\r\n \t<li>Return to step 4 and repeat<\/li>\r\n \t<li>Return to step 5 and do the opposite operation - change all URL's from dev-fhd to epub-fhd.<\/li>\r\n<\/ol>\r\n<strong>B. Production Domain<\/strong>\r\n<ol>\r\n \t<li>Switch IP from old server to new server.<\/li>\r\n \t<li>Check that site is working correctly.<\/li>\r\n<\/ol>\r\nThe resulting upgraded production server ran the latest WordPress multisite Pressbooks, on an Apache server in a Ubuntu OS.\u00a0 The entire system had been virtualized on CentOS 7.\u00a0 Figure 7.1 is an overview of the layers to achieve the Athabasca University open source e-textbook website.\r\n\r\n<a href=\"https:\/\/on-linelearning.ca\/epub\/wp-content\/uploads\/sites\/3\/2016\/01\/AU-SITE.svg\" rel=\"attachment wp-att-628\"><img src=\"https:\/\/on-linelearning.ca\/epub\/wp-content\/uploads\/sites\/3\/2016\/01\/AU-SITE.svg\" alt=\"Athabasca University site\" class=\"alignnone size-thumbnail wp-image-628\" \/><\/a>\r\n\r\n<em>Figure 7.1<\/em> Pressbooks e-Publishing Application Ecosystem\r\n<h1>Virtualization<\/h1>\r\nThe advantages of virtualizing a server are:\r\n<ul>\r\n \t<li>Copy to backup routine is efficient<\/li>\r\n \t<li>Virtualized package is portable<\/li>\r\n \t<li>Isolation from hardware<\/li>\r\n \t<li>Open source<\/li>\r\n \t<li>Easy porting to other computer systems<\/li>\r\n<\/ul>\r\nSome disadvantages of a virtualized platform are:\r\n<ul>\r\n \t<li>Requires faster CPU and memory<\/li>\r\n \t<li>Virtual application required<\/li>\r\n \t<li>Specific virtual file format<\/li>\r\n \t<li>Requires host operating system<\/li>\r\n<\/ul>","rendered":"<h1>Introduction<\/h1>\n<p>In the life of a computing system, the administrator and stakeholders can choose not to change the existing system, or move forward to the latest upgrades.\u00a0 On January 13, 2016 after more than two months of research and testing, the administrators chose to move Pressbooks from CentOs 7 to a Ubuntu OS 15.10 with approximately 60 seconds of interruption in services.\u00a0 Upgrading included WordPress 4.4.1, WordPress plugins, Pressbooks, Pressbooks Textbook, PHP, and MYSQL applications.<\/p>\n<h2><span>Plugins<\/span><\/h2>\n<p>Table 7.1 WordPress Pressbooks Enabled Network Plugins<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>PLUGIN<\/strong><\/td>\n<td><strong>DESCRIPTION<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/enable-media-replace\/\" rel=\"noopener noreferrer\">Enable Media Replace<\/a><\/strong><\/td>\n<td>Enable replacing media files by uploading a new file in the &#8220;Edit Media&#8221; section of the WordPress Media Library.<br \/>\nVersion 3.0.4 | By M\u00e5ns Jonasson<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/jquery-smooth-scroll\/\" rel=\"noopener noreferrer\">jQuery Smooth Scroll<\/a><\/strong><\/td>\n<td>The plugin not only add smooth scroll to top feature\/link in the lower-right corner of long pages while scrolling but also makes all jump links to scroll smoothly.<br \/>\nVersion 1.4.0 | By BlogSynthesis<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks\/\" rel=\"noopener noreferrer\">Pressbooks<\/a><\/strong><\/td>\n<td>Simple Book Production<br \/>\nVersion 3.5.2 | By BookOven Inc.<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks-mpdf\/\" rel=\"noopener noreferrer\">Pressbooks mPDF<\/a><\/strong><\/td>\n<td>Open source PDF generation for Pressbooks via the mPDF library.<br \/>\nVersion 1.0.1 | By Brad Payne<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/pressbooks-textbook\/\" rel=\"noopener noreferrer\">Pressbooks Textbook<\/a><\/strong><\/td>\n<td>A plugin that extends Pressbooks for textbook authoring<br \/>\nVersion 2.2.2 | By Brad Payne<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/simple-comment-editing\/\" rel=\"noopener noreferrer\">Simple Comment Editing<\/a><\/strong><\/td>\n<td>Simple comment editing for your users.<br \/>\nVersion 1.9.1 | By Ronald Huereca<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/svg-support\/\" rel=\"noopener noreferrer\">SVG Support<\/a><\/strong><\/td>\n<td>Allow SVG file uploads using the WordPress Media Library uploader plus direct styling of SVG elements using CSS.<br \/>\nVersion 2.2.2 | By Benbodhi<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/thin-out-revisions\/\" rel=\"noopener noreferrer\">Thin Out Revisions<\/a><\/strong><\/td>\n<td>A plugin for better revision management. Enables flexible management for you.<br \/>\nVersion 1.8.3 | By Hirokazu Matsui<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\" rel=\"noopener noreferrer\">UpdraftPlus &#8211; Backup\/Restore<\/a><\/strong><\/td>\n<td>Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV &amp; email, on automatic schedules.<br \/>\nVersion 2.11.29.22 | By UpdraftPlus.com, David Anderson<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wordfence\/\" rel=\"noopener noreferrer\">Wordfence Security<\/a><\/strong><\/td>\n<td>Wordfence Security &#8211; Anti-virus, Firewall and High Speed Cache<br \/>\nVersion 6.0.24 | By Wordfence<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-first-letter-avatar\/\" rel=\"noopener noreferrer\">WP First Letter Avatar<\/a><\/strong><\/td>\n<td>Set custom avatars for users with no Gravatar. The avatar will be the first (or any other) letter of the user&#8217;s name on a colorful background.<br \/>\nVersion 2.2.3 | By Dev49.net<\/td>\n<\/tr>\n<tr>\n<td><strong><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-slimstat\/\" rel=\"noopener noreferrer\">WP Slimstat Analytics<\/a><\/strong><\/td>\n<td>The leading web analytics plugin for WordPress<br \/>\nVersion 4.3 | By Camu<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Default Filters<\/strong><\/td>\n<td>Determine what filters should be loaded by default when your reports are initialized.<br \/>\nVersion 1.4 | By Slimstat<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Email Reports<\/strong><\/td>\n<td>Override your sites&#8217; settings with a global configuration<br \/>\nVersion 2.2 | By WP Slimstat<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Export to Excel<\/strong><\/td>\n<td>Export your reports as a CSV file.<br \/>\nVersion 2.5.2 | By WP Slimstat<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Firewall Fix<\/strong><\/td>\n<td>Fix the collection of IP addresses when the webserver is behind a proxy, firewall or load balancer.<br \/>\nVersion 1.6.1 | By WP Slimstat<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Network Settings<\/strong><\/td>\n<td>Override your sites&#8217; settings with a global configuration<br \/>\nVersion 1.2.1 | By Camu<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Network Analysis<\/strong><\/td>\n<td>Access a network view of your reports.<br \/>\nVersion 1.4 | By Camu<\/td>\n<\/tr>\n<tr>\n<td><strong>WP SlimStat &#8211; Track Cookies<\/strong><\/td>\n<td>Collect all the cookies associated with the domain sent by the browser.<br \/>\nVersion 1.5 | By WP Slimstat<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The new WordPress plugins were: Plugin Activation Status, Pressbooks mPDF,\u00a0Simple Comment Editing, and WP First Letter Avatar. The Responsive Scrolling Tables and Plugin Activation Status plugins were uninstalled, as both were redundant with latest WordPress and Pressbook upgrade. The Simple Comment Editing plugin was added to enhance the commenting option. The epub-fhd.athabascau.ca site is primarily for authoring and distribution of mobile file formats, with support from web page versions. Hence, commenting supports the content, rather than an extension to further discussions appropriate to blogs or forum based systems. Comment spam can become a concern that can be partially mitigated with an anti-spam plugin that is compatible with the native WordPress commenting system. In general, more plugins increase the potential security risk, hence less is better for the overall health of the e-publishing system. The value of each plugin has to be considered in comparison to its value for the end-users. Another factor, is the WordPress core that continues to improve and may include functionality that previously existed as a plugin. Care in selection of appropriate plugins to the Pressbook site is a challenge in a constantly changing digital environment. In example, an aggregate multisite RSS feed plugin may be useful in pushing the latest page changes to end-users from the main site.\u00a0 However, WordPress already has built-in RSS feed functionality for each sub-site.<\/p>\n<p>Pressbooks has dropped mPDF from its core plugin.\u00a0 Fortunately, BC Campus programmer Brad Payne<a class=\"footnote\" title=\"Brad Payne - http:\/\/bradpayne.ca\/\" id=\"return-footnote-609-1\" href=\"#footnote-609-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a> has created a Pressbooks mPDF plugin to restore open source mPDF generation<a class=\"footnote\" title=\"mPDF - http:\/\/www.mpdf1.com\/mpdf\/index.php\" id=\"return-footnote-609-2\" href=\"#footnote-609-2\" aria-label=\"Footnote 2\"><sup class=\"footnote\">[2]<\/sup><\/a>.\u00a0 Currently the Pressbooks symbionts folder includes a prince folder that suggest Pressbooks will continue to include commercialware support for PDF generation in its core plugin.<\/p>\n<h1>Same Domain Different Server<\/h1>\n<p>The workflow to achieve minimal interruption in services between the old production server on CentOS and the new server on Ubuntu was achieved through the following process based on key preparations.<\/p>\n<h2>Preparations<\/h2>\n<ul>\n<li>Old WordPress multisite updated to latest version.<\/li>\n<li>Database checked for data integrity<\/li>\n<li>Files scanned for malware and data integrity<\/li>\n<li>Configured two domains &#8211; production and development<\/li>\n<li>Virtualization application &#8211; Linux KVM <a class=\"footnote\" title=\"http:\/\/www.linux-kvm.org\/page\/Main_Page\" id=\"return-footnote-609-3\" href=\"#footnote-609-3\" aria-label=\"Footnote 3\"><sup class=\"footnote\">[3]<\/sup><\/a><\/li>\n<\/ul>\n<h2>Workflow<\/h2>\n<p><strong>A. Development Domain<\/strong> &#8211; Create a fresh install of the latest WordPress on new server.<\/p>\n<ol>\n<li>Setup the WordPress multisite configuration.<\/li>\n<li>Copy the Database from production domain server to new server.<\/li>\n<li>Copy the wp-content folder from production domain server to new server.<\/li>\n<li>Modify htaccess and wp-config files to conform to development domain URL.<\/li>\n<li>Change all URL&#8217;s from epub-fhd to dev-fhd via PHP script<a class=\"footnote\" title=\"Database Search and Replace Script in PHP https:\/\/interconnectit.com\/products\/search-and-replace-for-wordpress-databases\/\" id=\"return-footnote-609-4\" href=\"#footnote-609-4\" aria-label=\"Footnote 4\"><sup class=\"footnote\">[4]<\/sup><\/a> &#8211; Search Replace DB version 3.1.0<\/li>\n<li>Check that site is working correctly and upgrade WordPress plugins.<\/li>\n<li>Check that site is working correctly.<\/li>\n<li>Switch domain name from development to production via local host file.<\/li>\n<li>Return to step 4 and repeat<\/li>\n<li>Return to step 5 and do the opposite operation &#8211; change all URL&#8217;s from dev-fhd to epub-fhd.<\/li>\n<\/ol>\n<p><strong>B. Production Domain<\/strong><\/p>\n<ol>\n<li>Switch IP from old server to new server.<\/li>\n<li>Check that site is working correctly.<\/li>\n<\/ol>\n<p>The resulting upgraded production server ran the latest WordPress multisite Pressbooks, on an Apache server in a Ubuntu OS.\u00a0 The entire system had been virtualized on CentOS 7.\u00a0 Figure 7.1 is an overview of the layers to achieve the Athabasca University open source e-textbook website.<\/p>\n<p><a href=\"https:\/\/on-linelearning.ca\/epub\/wp-content\/uploads\/sites\/3\/2016\/01\/AU-SITE.svg\" rel=\"attachment wp-att-628\"><img decoding=\"async\" src=\"https:\/\/on-linelearning.ca\/epub\/wp-content\/uploads\/sites\/3\/2016\/01\/AU-SITE.svg\" alt=\"Athabasca University site\" class=\"alignnone size-thumbnail wp-image-628\" \/><\/a><\/p>\n<p><em>Figure 7.1<\/em> Pressbooks e-Publishing Application Ecosystem<\/p>\n<h1>Virtualization<\/h1>\n<p>The advantages of virtualizing a server are:<\/p>\n<ul>\n<li>Copy to backup routine is efficient<\/li>\n<li>Virtualized package is portable<\/li>\n<li>Isolation from hardware<\/li>\n<li>Open source<\/li>\n<li>Easy porting to other computer systems<\/li>\n<\/ul>\n<p>Some disadvantages of a virtualized platform are:<\/p>\n<ul>\n<li>Requires faster CPU and memory<\/li>\n<li>Virtual application required<\/li>\n<li>Specific virtual file format<\/li>\n<li>Requires host operating system<\/li>\n<\/ul>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-609-1\">Brad Payne - http:\/\/bradpayne.ca\/ <a href=\"#return-footnote-609-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><li id=\"footnote-609-2\">mPDF - http:\/\/www.mpdf1.com\/mpdf\/index.php <a href=\"#return-footnote-609-2\" class=\"return-footnote\" aria-label=\"Return to footnote 2\">&crarr;<\/a><\/li><li id=\"footnote-609-3\">http:\/\/www.linux-kvm.org\/page\/Main_Page <a href=\"#return-footnote-609-3\" class=\"return-footnote\" aria-label=\"Return to footnote 3\">&crarr;<\/a><\/li><li id=\"footnote-609-4\">Database Search and Replace Script in PHP https:\/\/interconnectit.com\/products\/search-and-replace-for-wordpress-databases\/ <a href=\"#return-footnote-609-4\" class=\"return-footnote\" aria-label=\"Return to footnote 4\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":1,"menu_order":1,"comment_status":"open","ping_status":"open","template":"","meta":{"pb_show_title":"on","pb_short_title":"Chapter 7 - Evolution","pb_subtitle":"","pb_authors":[],"pb_section_license":"","_wp_rev_ctl_limit":""},"chapter-type":[52],"contributor":[],"license":[],"class_list":["post-609","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":608,"_links":{"self":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/chapters\/609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/comments?post=609"}],"version-history":[{"count":0,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/chapters\/609\/revisions"}],"part":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/parts\/608"}],"metadata":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/chapters\/609\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/media?parent=609"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/pressbooks\/v2\/chapter-type?post=609"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/contributor?post=609"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/on-linelearning.ca\/mem\/wp-json\/wp\/v2\/license?post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}