{"id":477100,"date":"2008-06-25T19:35:54","date_gmt":"2008-06-25T23:35:54","guid":{"rendered":"https:\/\/segue.middlebury.edu\/view\/html\/node\/477100"},"modified":"2008-06-25T19:35:54","modified_gmt":"2008-06-25T23:35:54","slug":"windows-installation","status":"publish","type":"page","link":"https:\/\/segueproject.org\/segue-documentation\/segue-v1\/documentation\/for-administrators\/windows-installation\/","title":{"rendered":"Windows Installation"},"content":{"rendered":"<h3>Untitled<\/h3>\n<div>\n<p>Segue is a web-based tool which should be run from a computer that is always on and has a static ip-address. You could run it otherwise, but then it would not be accessable to users when the machine is off or when the ip-address changes. <\/p>\n<p>For production use, Windows 2000 or XP (or even better, Linux, BSD, OS X, or another unix-like operating system) is preferred for stability, but Apache and MySQL should run on Windows 95\/98 as well. The system requirements are minimal and Segue\/Apache\/MySQL runs just fine on anything that Windows will run on. If you want to run on even more minimal equipment, Segue\/Apache\/MySQL should run just fine under Linux on a 33Mz 386 with 64MB of RAM.\n<\/p><\/div>\n<h3>Option 1: Set Up Your Server Via Apache2 Triad installer:<\/h3>\n<div>\n<p>If you already have Apache with PHP and MySQL set up, skip parts 1 and 2 of this step.<br \/>\n<\/p>\n<ol>\n<li>\n <b>Download Apache2 Triad<\/b><br \/>\n <br \/>Download <a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=93507\">Apache2 Triad<\/a> from <a href=\"http:\/\/apache2triad.sourceforge.net\/\">SourceForge.net<\/a><\/li>\n<p>.\n<\/ol>\n<ul>\n<li>\n <b>Run the Installer<\/b><br \/>\n <br \/>The installer will ask to restart the computer. After restarting Apache and MySQL should be running. Point your browser to <a href=\"http:\/\/localhost\/\">http:\/\/localhost<\/a><\/li>\n<p> to test Apache. If you don&#8217;t get errors, Apache is running. Apache2 Triad puts several admin tools in your Start menu by default.<\/p>\n<ul>\n<li>\n <b>Set Up MySQL<\/b><br \/>\n <br \/>Point your browser to <a href=\"http:\/\/localhost\/phpmyadmin\/\">http:\/\/localhost\/phpmyadmin\/<\/a><\/li>\n<p> to use PHPMyAdmin to set up a MySQL account and database for Segue.<\/p>\n<ol>\n<li>\n  <b>Create a database for Segue<\/b><br \/>\n  <br \/>Click &#8220;Home&#8221; in the top-left of PHPMyAdmin.<br \/>\n  <br \/>Enter a database name, i.e. &#8220;segue&#8221;; then hit &#8220;Create&#8221;.\n <\/li>\n<li>\n  <b>Add a &#8220;segue&#8221; user<\/b><br \/>\n  <br \/>Go to Home &#8211;&gt; Privileges &#8211;&gt; Add a New User<br \/>\n  <br \/>Enter a username and password, i.e. &#8220;segue&#8221;, &#8220;secret&#8221;. Set host to &#8220;localhost&#8221;, as this will prevent anyone from using this account from remotely accessing the database. Then hit &#8220;Go&#8221;.\n <\/li>\n<li>\n  <b>Give the &#8220;segue&#8221; user access to the &#8220;segue&#8221; database.<\/b><br \/>\n  <br \/>If you have just created the &#8220;segue&#8221; user, you should already be at the correct screen if not, got to Privileges &#8211;&gt; Edit (next to the &#8220;segue&#8221; user).<br \/>\n  <br \/>Go down to the &#8220;Database-specific privileges&#8221; section and select the &#8220;segue&#8221; database from the drop-down menu.<br \/>\n  <br \/>Check all of the <i>Data<\/i> and <i>Structure<\/i> boxes then hit &#8220;Go&#8221;.\n <\/li>\n<\/ol>\n<\/ul>\n<\/ul>\n<\/div>\n<h3>Opition 2: Install and configure Apache, Php and MySQL<\/h3>\n<div>\n<p>Follow the instructions on the following webpages<\/p>\n<p>PHP: <a href=\"http:\/\/www.devside.net\/web\/server\/windows\/php-bin\">http:\/\/www.devside.net\/web\/server\/windows\/php-bin<\/a>&nbsp;(Make<br \/>\nsure to make necessary changes to the apache config file)<\/p>\n<p>MySQL: <a href=\"http:\/\/www.devside.net\/web\/server\/windows\/mysql-bin\">http:\/\/www.devside.net\/web\/server\/windows\/mysql-bin<\/a><\/p>\n<p>Apache: <a href=\"http:\/\/www.devside.net\/web\/server\/windows\/apache\">http:\/\/www.devside.net\/web\/server\/windows\/apache<\/a>&nbsp;(You<br \/>\ndo not have to build the Apache web server, a msi installation download is<br \/>\navailable on the apache website. The installation file&nbsp;installs the start,<br \/>\nrestart and stop shortcuts on the start menu. Make sure to follow the<br \/>\nconfiguration directions). The apache website has some excellent configuration<br \/>\ninstructions as well: <a href=\"http:\/\/httpd.apache.org\/docs\/windows.html\">http:\/\/httpd.apache.org\/docs\/windows.html<\/a><\/p>\n<p>Make sure to install apache, php and mysql in &lt;drive&gt;:&#092;www&#092; folder.<br \/>\nSegue should be installed in c:&#092;www&#092;apache2&#092;htdocs&#092; folder<\/p>\n<\/div>\n<h3>Set Up Segue<\/h3>\n<div>\n<ol>\n<li><b>Download Segue<\/b> <br \/>Download the <a href=\"http:\/\/sourceforge.net\/projects\/segue\/\">latest version of Segue<\/a> from<br \/>\nSourceForge.net.\n<\/li>\n<li><b>Unzip Segue<\/b> <br \/>Unzip the segue-1.x.x.zip file into your webserver&#8217;s<br \/>\nroot directory. By default this is <br \/>C:&#092;apache2&#092;htdocs if you<br \/>\nuse option 1 or c:&#092;www&#092;apache2&#092;htdocs if you use option<br \/>\n2 to set up your web server<br \/>This will create a directory called segue-1.x.x<br \/>\nin C:&#092;apache2&#092;htdocs or<br \/>\nc:&#092;www&#092;apache2&#092;htdocs. Rename this directory to &#8220;segue&#8221;. <\/p>\n<\/li>\n<li><b>Create a userfiles directory<\/b> <br \/>Create a directory for the Segue<br \/>\nuserfiles. This directory is outside of the segue directory to allow you to<br \/>\nupdate the Segue code without loosing the userfiles. you should now have a<br \/>\n&#8220;segue&#8221; and a &#8220;segue_userfiles&#8221; directories in C:&#092;apache2&#092;htdocs<br \/>\nor c:&#092;www&#092;apache2&#092;htdocs. &nbsp;\n<\/li>\n<li><b>Configure Segue<\/b> <br \/>Rename the file<br \/>\nC:apache2htdocsconfig_sample.inc.php to &#8220;config.inc.php&#8221;. <br \/>Open<br \/>\nconfig.inc.php in a text editor (such as Notepad) and edit the various values to<br \/>\nfit your system. <br \/>Below are examples of the parts that you must change:\n<\/li>\n<\/ol>\n<\/div>\n<h3>Untitled<\/h3>\n<div>\n<div style=\"margin-left: 30px\">\n\/******************************************************************************<br \/>\n\t * full_uri &#8211; Segue&#8217;s full URL path (ie, https:\/\/segue.middlebury.edu\/view\/html\/site\/segue)<br \/>\n\t *\t\tDon&#8217;t put a slash &#8220;\/&#8221; at the end of the url!<br \/>\n\t ******************************************************************************\/<br \/>\n\t$cfg[full_uri] = $_full_uri = &#8220;http:\/\/140.233.12.105\/segue&#8221;;\t\t\t<\/p>\n<p><b><i>Contact your network administrator to set up a DNS hostname and static IP address for your server to give you a url such as https:\/\/segue.middlebury.edu\/view\/html\/site\/segue\/<\/i><\/b><\/p>\n<p>\n\t\/******************************************************************************<br \/>\n\t * uploaddir &#8211; the local folder where userfiles are kept<br \/>\n\t * uploadurl &#8211; the URL equivalent of the above folder<br \/>\n\t ******************************************************************************\/<br \/>\n\t$cfg[uploaddir] = $uploaddir = &#8220;\/apache2\/htdocs\/segue_userfiles&#8221;;\t\t<br \/>\n\t$cfg[uploadurl] = $uploadurl = &#8220;http:\/\/140.233.12.105\/segue_userfiles&#8221;;\t\t<\/p>\n<p><b><i>Note the lack of &#8220;C:&#8221; <\/i><\/b><\/p>\n<p>\n\t\t\/******************************************************************************<br \/>\n\t\t * DB AUTHENTICATION &#8211; REQUIRED<br \/>\n\t\t *<br \/>\n\t\t * dbhost\t\t\t\tthe hostname of the sql server (ie, sql.middlebury.edu)<br \/>\n\t\t * dbuser\t\t\t\tthe user to connect as (ie, segue)<br \/>\n\t\t * dbpass\t\t\t\tthe above user&#8217;s passwd. may be blank<br \/>\n\t\t * dbdb\t\t\t\t\tthe name of the database to use (ie, segue)<br \/>\n\t\t ******************************************************************************\/<br \/>\n\t\t$cfg[dbhost] = $dbhost = &#8220;localhost&#8221;;\t<br \/>\n\t\t$cfg[dbuser] = $dbuser = &#8220;segue&#8221;;<br \/>\n\t\t$cfg[dbpass] = $dbpass = &#8220;secret&#8221;;<br \/>\n\t\t$cfg[dbdb] = $dbdb = &#8220;segue&#8221;;<\/p>\n<\/div>\n<\/div>\n<h3>Start Segue<\/h3>\n<div>\n<p>Point your browser to <a href=\"http:\/\/localhost\/segue\/\">http:\/\/localhost\/segue\/ or http:\/\/xxx.xxx.xxx.xxx\/segue\/ (where the xxx&#8217;s are your IP address) to use Segue.<\/p>\n<p>The first time that you go to Segue, you should see messages saying that Segue created the necessary tables in your database.<\/p>\n<p>Log in with user\/pass admin\/changeme to start using Segue.<\/p>\n<p>Enjoy!<\/a>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Untitled Segue is a web-based tool which should be run from a computer that is always on and has a static ip-address. You could run it otherwise, but then it would not be accessable to users when the machine is&hellip; <a href=\"https:\/\/segueproject.org\/segue-documentation\/segue-v1\/documentation\/for-administrators\/windows-installation\/\" class=\"continue-reading\">More &rarr;<\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"parent":480637,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-477100","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/477100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/comments?post=477100"}],"version-history":[{"count":0,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/477100\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/480637"}],"wp:attachment":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/media?parent=477100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}