{"id":956,"date":"2019-08-23T16:58:03","date_gmt":"2019-08-23T20:58:03","guid":{"rendered":"https:\/\/carleton.ca\/nmai\/?page_id=956"},"modified":"2026-02-10T10:24:55","modified_gmt":"2026-02-10T15:24:55","slug":"u-p2p-p2pedia-installation-instructions","status":"publish","type":"page","link":"https:\/\/carleton.ca\/nmai\/u-p2p-p2pedia-installation-instructions\/","title":{"rendered":"U-P2P\/P2Pedia Installation Instructions"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        U-P2P\/P2Pedia Installation Instructions\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n<div>\n<div>So you&#8217;ve downloaded a zip file containing UP2P (or P2Pedia, the distribution of U-P2P containing only the P2Pedia wiki system). Now what?<\/div>\n<\/div>\n\n\n\n<div><\/div>\n\n\n\n<div><b>A &#8211; Binary distribution<\/b><\/div>\n\n\n\n<div>If you just want to run the prepackaged U-P2P distribution, it&#8217;s easy, all you need is the Java JDK version 1.6 or later.<\/div>\n\n\n\n<div>Steps:<\/div>\n\n\n\n<div>1 &#8211; Extract the contents the of the zip file to any directory of your choice. For example, to a new directory on the desktop called &#8220;UP2P&#8221; .<\/div>\n\n\n\n<div>2 &#8211; Check that you have Java installed, and that the JAVA_HOME environment variable points to the folder containing your JDK.<br>\nFor example, a typical location under Windows would be: JAVA_HOME=C:\\Program Files\\Java\\jdk1.6.0_27<\/div>\n\n\n\n<div>3 &#8211; Open the folder where you extracted U-P2P. Then inside this folder, open the folder called &#8220;Tomcat&#8221;, and inside the Tomcat folder, open the &#8220;bin&#8221; folder. Run the file &#8220;startup.bat&#8221; &nbsp;(under windows) or &#8220;startup.sh&#8221; under linux or Mac-OS.<\/div>\n\n\n\n<div>4 &#8211; The Apache Tomcat server will now fire up, and you can access your local UP2P node using any web browser (UP2P works best with Firefox or Chrome &#8212; there have been some minor issues with Internet Explorer). Connect your browser to the following URL: <a href=\"http:\/\/localhost:8080\/up2p\/\" rel=\"nofollow\">http:\/\/localhost:8080\/up2p\/<\/a>.<\/div>\n\n\n\n<div>5 &#8211; The U-P2P home page contains lots of information to get started!<\/div>\n\n\n\n<div><\/div>\n\n\n\n<div><b>B &#8211; UP2P source distribution<\/b><\/div>\n\n\n\n<div><b>C &#8211; Configuration&nbsp;<\/b><\/div>\n\n\n\n<div>\n<div><b><span style=\"color: #ff0000;\"><i>For now please see the U-P2P<a href=\"http:\/\/sourceforge.net\/projects\/u-p2p\/files\/u-p2p\/UP2P%20v%203.3\/UserGuide.pdf\/download\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"> user guide<\/a>.<\/i><\/span><\/b><\/div>\n<div><b>&nbsp;<\/b><\/div>\n<\/div>\n\n\n\n<div><b>D &#8211; Troubleshooting<\/b><\/div>\n\n\n\n<div><b>&nbsp;<\/b><\/div>\n\n\n\n<div>Not working ?<\/div>\n\n\n\n<div>Here are the most common problems and their solutions:<\/div>\n\n\n\n<div>1 &#8211; <i>Problem<\/i>: It won&#8217;t even start. I double click on &#8220;startup.bat&#8221; and nothing happens. A window appears for a fraction of a second then disappears again.<\/div>\n\n\n\n<div>&nbsp; &nbsp; <i>Solution:<\/i>&nbsp;Your JAVA_HOME environment variable probably isn&#8217;t set properly. See the user guide for more details about setting environment variables ( the user guide is a pdf document packaged in the UP2P zip file).<\/div>\n\n\n\n<div><\/div>\n\n\n\n<div>\n<div>2 &#8211;&nbsp;<i>Problem<\/i>: Tomcat starts then closes with an error when it tries to bind to port 8080.<\/div>\n<div>&nbsp; &nbsp;&nbsp;<i>Solution:<\/i>&nbsp;Tomcat is configured to run on port 8080. Your port 8080 may be in use. Change the tomcat server configuration to run on another port.<\/div>\n<div><\/div>\n<div>3 &#8211; <i>Problem:<\/i> I can&#8217;t find anything in the network.<\/div>\n<div>&nbsp; &nbsp; <i>Solution:<\/i>&nbsp;Connect to other nodes.At the top &nbsp;right corner of the screen there&#8217;s a link saying &#8220;Connected to [number] peers&#8221;.<br>\nConnect to your friends. Ask them for their IP and port, and add them to your hostcache, in order to connect to them.<\/div>\n<\/div>\n\n\n\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>So you&#8217;ve downloaded a zip file containing UP2P (or P2Pedia, the distribution of U-P2P containing only the P2Pedia wiki system). Now what? A &#8211; Binary distribution If you just want to run the prepackaged U-P2P distribution, it&#8217;s easy, all you need is the Java JDK version 1.6 or later. Steps: 1 &#8211; Extract the contents [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_cu_dining_location_slug":"","footnotes":"","_links_to":"","_links_to_target":""},"cu_page_type":[],"class_list":["post-956","page","type-page","status-publish","hentry"],"acf":{"cu_post_thumbnail":false},"_links":{"self":[{"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/pages\/956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/comments?post=956"}],"version-history":[{"count":1,"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/pages\/956\/revisions"}],"predecessor-version":[{"id":957,"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/pages\/956\/revisions\/957"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"cu_page_type","embeddable":true,"href":"https:\/\/carleton.ca\/nmai\/wp-json\/wp\/v2\/cu_page_type?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}