Prepare and save components of the old installation
Create a tarball snapshot backup of Fedora, MySQL and Drupal
# $FEDORA_HOME/tomcat/bin/shutdown.sh
# /etc/init.d/mysql stop
# /etc/init.d/apache2 stop
# cd /usr/local
# tar -cvzf fedora3.7.0-with-old-data-info-backup.tar.gz fedora
# cd /var/lib
# tar -cvzf mysql-with-old-fedora3-info-backup.tar.gz mysql
# cd /var/www
# tar -cvzf drupal-backup.tar.gz drupal
Drop and Cleanup the fedora3 database information from the exiting MySQL and recreated it
# mysql -u root -p
Enter password:
mysql> drop database fedora3;
Query OK, 1 row affected (0.00 sec)
mysql> flush privileges;
mysql> exit
# /usr/local/fedora/server/bin/fedora-rebuild.sh (first Rebuild SQL database, then Rebuild the Resource Index)
# /etc/init.d/mysql start
Rename the old Fedora installation location (you'll need components from this path later on)
# cd /usr/local
# mv fedora fedora3.7.0
Fresh installation of Fedora 3.8.1 (with some caveats)
$FEDORA_HOME/tomcat/logs/catalina.out should contain no errors.
Troubleshooting:
- View your Fedora instance through a web browser:
http://localhost:8080/fedora/
or
https://[yourdomain]:8443/fedora
Continue with the remaining steps in the milestone 1 - Installing Fedora, (XACML Policies, testing, snapshot backup, etc), and all remaining milestones 2 through 6 (Drupal, Drupal Filter, Tuque, Solr and GSearch)
Migration of the old components to the new installation
Troubleshooting