<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bioontology.org//mediawiki/index.php?action=history&amp;feed=atom&amp;title=PURL_Server</id>
	<title>PURL Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.bioontology.org//mediawiki/index.php?action=history&amp;feed=atom&amp;title=PURL_Server"/>
	<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=PURL_Server&amp;action=history"/>
	<updated>2026-06-05T12:05:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://www.bioontology.org//mediawiki/index.php?title=PURL_Server&amp;diff=8789&amp;oldid=prev</id>
		<title>Nipunb: New page: ==Set Up== *2 Windows boxes. *Machine 1 - Master  *IP: master.ip *Has MySQL 5.1  *Installing PURL using MySQL as the backend on Machine 1. **1. Download PULR 1.4 **2. Install specifying My...</title>
		<link rel="alternate" type="text/html" href="https://www.bioontology.org//mediawiki/index.php?title=PURL_Server&amp;diff=8789&amp;oldid=prev"/>
		<updated>2009-05-11T10:44:15Z</updated>

		<summary type="html">&lt;p&gt;New page: ==Set Up== *2 Windows boxes. *Machine 1 - Master  *IP: master.ip *Has MySQL 5.1  *Installing PURL using MySQL as the backend on Machine 1. **1. Download PULR 1.4 **2. Install specifying My...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Set Up==&lt;br /&gt;
*2 Windows boxes.&lt;br /&gt;
*Machine 1 - Master &lt;br /&gt;
*IP: master.ip&lt;br /&gt;
*Has MySQL 5.1&lt;br /&gt;
&lt;br /&gt;
*Installing PURL using MySQL as the backend on Machine 1.&lt;br /&gt;
**1. Download PULR 1.4&lt;br /&gt;
**2. Install specifying MySQL as your backend.Imp Note: You would have a create a database schema'purls' on your MySQL using command  line. The PURL installation would not do that for you. In other words, the PURL installation expects you to have a schema called 'purls'. This is will be used as the backend for storing the URLs.&lt;br /&gt;
**3. Go to the folder where you installed PURL, by default it is: C:\Program Files\PURLZ-Server-1.4&lt;br /&gt;
**4. Navigate to the bin folder, click on startup.bat to start the server. Imp Note: Default username password for the PURL server is: admin/password&lt;br /&gt;
**5. Create a backup of purls on Machine 1. On the command line, execute the following command:&lt;br /&gt;
  mysqldump --user=root --password  --opt purls &amp;gt; c:\purls_backup.sql&lt;br /&gt;
&lt;br /&gt;
*Machine 2 - Slave &lt;br /&gt;
*IP: slave.ip&lt;br /&gt;
*Has MySQL 5.1&lt;br /&gt;
&lt;br /&gt;
==Instructions for creating the replication==&lt;br /&gt;
&lt;br /&gt;
*1. On Machine 1:&lt;br /&gt;
**Log on to MySQL&lt;br /&gt;
  mysql -u root -p&lt;br /&gt;
   &lt;br /&gt;
*2. On Machine 1:&lt;br /&gt;
**Run the command&lt;br /&gt;
  grant replication slave, replication client on *.* to 'replicator'@'slave.ip' identified by 'password';&lt;br /&gt;
   &lt;br /&gt;
*3. On Machine 1:&lt;br /&gt;
**Configure the master:Add the following lines to my.ini file in C:\Program Files\MySQL\MySQL 5.1 folder. Add the lines in the section [mysqld] after the line that specifies the port&lt;br /&gt;
   &lt;br /&gt;
   server-id=1&lt;br /&gt;
   log-bin=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/bin.log&amp;quot;&lt;br /&gt;
   log-error=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/error.log&amp;quot;&lt;br /&gt;
   log-bin-index=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/log-bin.index&amp;quot;&lt;br /&gt;
   binlog-do-db=purls&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
*4.Restart the MySQL service on the master&lt;br /&gt;
&lt;br /&gt;
*5. On Machine 2: &lt;br /&gt;
**Create a new empty database 'purls'&lt;br /&gt;
   &lt;br /&gt;
*6. On Machine 2:&lt;br /&gt;
**Restore the purls database&lt;br /&gt;
**On the command promt run the command&lt;br /&gt;
  mysql -u root -p purls &amp;lt; C:\path_to_purls_backup\purls_backup.sql&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
*7. On Machine 2: Configure the slave: Add the following lines to my.ini file in C:\Program Files\MySQL\MySQL 5.1 folder. Add the lines in the section [mysqld] after the line that specifies the port&lt;br /&gt;
   &lt;br /&gt;
   server-id=2&lt;br /&gt;
   master-host=171.65.32.120&lt;br /&gt;
   master-port=3306&lt;br /&gt;
   master-user=replicator&lt;br /&gt;
   master-password=password&lt;br /&gt;
   replicate-do-db=purls&lt;br /&gt;
   &lt;br /&gt;
   log-bin=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/bin.log&amp;quot;&lt;br /&gt;
   log-bin-index=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/log-bin.index&amp;quot;&lt;br /&gt;
   log-error=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/error.log&amp;quot;&lt;br /&gt;
   relay-log=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/relay.log&amp;quot;&lt;br /&gt;
   relay-log-info-file=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/relay-log.info&amp;quot;&lt;br /&gt;
   relay-log-index=&amp;quot;C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/relay-log.index&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*8.Restart the MySQL service on the slave&lt;br /&gt;
&lt;br /&gt;
*9. On the slave, log into MySQl&lt;br /&gt;
**i) start slave;&lt;br /&gt;
**ii)show slave status\G;&lt;br /&gt;
Make sure slave I/O running is yes&lt;br /&gt;
Make sure slave_SQL_running is yes&lt;/div&gt;</summary>
		<author><name>Nipunb</name></author>
	</entry>
</feed>