1. Create installation pacakge ---------------------------------------------------------------------------------------------- [monkey.cs.kent.edu]{46}-> ./WMEPack Checking the existence of /bin/tar ... Yes Checking the existence of /usr/bin/mimencode ... Yes Checking the existence of /usr/bin/mysqldump ... Yes ###################################################### This is a packing tool for WME Pliot Site. You will answer following questions to create an installation package. 1. The file name of target installation package; 2. The Document Root of source WME Pilot Site 3. Database options 4. Db connection information if you want to migrate database The generated target file is an executable program which will setup WME environment on new host. ######################################################## [Packing] The filename of target installation: wme.sh [Packing] The Document Root of WME Pilot Site: /var/www/html/WME/kimpton Begin packing site content ... ... ... End of packing site content!!! [Packing] Database Dumping Options: 1) No Databse 3) Dump Whole Database 2) Dump Table Structure Only #? 3 Dump Whole Database [Packing] The HOST name of DBMS server: localhost [Packing] The NAME of Database: wme_db [Packing] The ACCOUNT for Database (wme_db): wme [Packing] The PASSWORD for Account (wme): ****** Starting database backup ... ... End of database backup [monkey.cs.kent.edu]{47}-> ls -l wme.sh -rwxr-xr-x 1 xzou http 6591797 Jan 19 23:05 wme.sh* [monkey.cs.kent.edu]{48}-> -------------------------------------------------------------- The first step create an executable installation file 'wme.sh' which also contains content of 'wme_db' database 2. Install WME Polit Site on another host The installation is run on my home desktop with RedHat 7.3 -------------------------------------------------------------- [root@eMach root]# ./wme.sh Checking the existence of /bin/tar ... Yes Checking the existence of /usr/bin/mimencode ... Yes Checking the existence of /usr/bin/mysql ... Yes Checking the existence of /bin/sed ... Yes [Install] The Document Root of WME Pilot Site: /www/htdocs/kimpton Begin installing site content ... Configuring ... ... End of installing site content This installation package contains a support database - 'wme_db' - for MySQL Do you want to install this database [y/n]: y [Install] The PASSWORD of Local DBMS ROOT account: Silverring Following Database will be created for you Database: wme_db Account : wme Passwd : wmedefault Do you want to change setting of Database/Account/Passwd [y/n]: y New Database Name: wme_back New ACCOUNT Name for Database (wme_back): newme PASSWORD for Account (newme): passwd Finish Installing Support Database [root@eMach root]# -------------------------------------------------------------- New site uses new databse 'wme_back', with new user name 'newme' and new password 'passwd'. You can choose not including database content in 'WMEPack' to force new site connect back to databse at wme.cs.kent.edu