Skip to content

Manual Shepherd Set Up (Windows)

markdenihan edited this page Jun 15, 2014 · 10 revisions

To manually create your Security Shepherd server in windows, follow the following steps;

  1. Download the Security Shepherd Manual Pack
  2. Install Apache Tomcat 7
  3. Install MySql, using CowSaysMoo as the default password to skip future steps, if you prefer your own password go ahead and set-up MySql with that instead!
  4. Extract the Security Shepherd Manual Pack
  5. Copy the sql files extracted from the pack to the bin directory of MySql
  6. Open MySql from the command line (eg: mySqlBinDirectory/mysql -u root -p )
  7. Type the following commands to execute the Shepherd Manual Pack SQL files; source core.sql; source exposedSchema.sql;
  8. Open the webapps directory of your Tomcat instance
  9. Delete any directories that are there already
  10. Move the WAR files from the Shepherd Manual Pack into the webapps folder of Tomcat
  11. Start Tomcat
  12. Open the temp directory of Tomcat
  13. If you chose the default when configuring MySql as your DB password, you are running MySql on the same machine as Tomcat and you are using port 3306 for MySql, you can skip this step. Otherwise, in the temp directory, in both the ROOT and Exposed directories in the temp folder, modify the /WEB-INF/site.properties to point at your local DB with your MySql settings. Leave the Driver alone!
  14. If you have more than one ROOT or Exposed folder in your temp folder, visit your Tomcat instance with your browser and then check the Tomcat logs for a line that reads "Servlet root =" to find which directory is the correct one to modify the MySql settings of.
  15. Open your the root context of your Tomcat server (eg: http://127.0.0.1:8080/ )
  16. Sign into Security Shepherd with the default admin credentials (admin / password)
  17. Change the admin password
  18. Follow in application prompts for further configuration