<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" version="2.0">
<channel>
<title>Osiris - Serverless Portal System - Articles</title>
<link>http://www.osiris-sps.org/040000028C2F80C27DBF7AD8D022326EF86B7B129BE95F46/</link>
<description>Tutorials - How-To - Tips &amp; Tricks - Knowledge Base</description>
<language>en-us</language>
<pubDate>Mon, 25 Mar 2013 13:14:14 GMT</pubDate>
<item>
<title>Isis - SEO</title>
<link>http://www.osiris-sps.org/050000028FEFDB7755351B69993976BA42C6B780E4228F50/</link>
<description>SEO (Search Engine Optimization) are not enabled by default in Isis, because require Apache &amp;amp; mod_rewrite already enabled.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Enabling SEO&lt;/h2&gt;&lt;br /&gt;Enable the option &lt;b&gt;services.link.seo.enabled&lt;/b&gt;.&lt;br /&gt;If you want to have a default portal, specify it in &lt;b&gt;services.link.seo.home_portal&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Use &lt;b&gt;portal aliases&lt;/b&gt;: give a name of interesting portals (alphanumeric or _), this short alias will be used by SEO.&lt;br /&gt;&lt;br /&gt;Use the option &lt;b&gt;services.link.list&lt;/b&gt; for custom links, typically shortcut to important ID. See the example below. Note the use of the [S] flag: identify links converted by SEO.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Special case: Isis in a subdirectory, SEO at root.&lt;/h2&gt;&lt;br /&gt;Our project server host an unique Isis, in a subdirectory of web-root.&lt;br /&gt;It's here: &lt;a class="" href="http://www.osiris-sps.org/isis" target="_blank"&gt;http://www.osiris-sps.org/isis&lt;/a&gt;&lt;br /&gt;It's a special SEO configuration, because the requests for &lt;a class="" href="http://www.osiris-sps.org" target="_blank"&gt;http://www.osiris-sps.org&lt;/a&gt; are catched by Isis and considered requests for a default portal.&lt;br /&gt;&lt;br /&gt;Options used:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;services.link.seo.enabled&lt;/b&gt; : &lt;br /&gt;&lt;code&gt;Yes&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;services.link.seo.htaccess&lt;/b&gt; (tell to create the .htaccess file in previous directory of our Isis):&lt;br /&gt;&lt;code&gt;../&lt;/code&gt;	&lt;br /&gt;&lt;br /&gt;&lt;b&gt;services.link.seo.path&lt;/b&gt; (virtual path of SEO):&lt;br /&gt;&lt;code&gt;/&lt;/code&gt;&lt;br /&gt;	&lt;br /&gt;&lt;b&gt;services.link.seo.home_portal&lt;/b&gt; (our Osiris Official): &lt;code&gt;010000010D2C4E505C1D98B221E222CABE4E167BECB2D669&lt;/code&gt;&lt;br /&gt;	&lt;br /&gt;&lt;b&gt;services.link.list&lt;/b&gt; (custom short link; only few as example):&lt;br /&gt;&lt;code&gt;start /isis/?%2Fportals%2Fview%3Fid%3D0300000265FEF2640A89C24EF2D945AA2E9A8C035810BB7D%26portal%3D010000010D2C4E505C1D98B221E222CABE4E167BECB2D669 [S]&lt;br&gt;contribute /isis/?%2Fportals%2Fview%3Fid%3D03000002C6B12993B627D6080141BA098C40EC09FCCF6EE7%26portal%3D010000010D2C4E505C1D98B221E222CABE4E167BECB2D669 [S]&lt;br&gt;support /isis/?%2Fportals%2Fview%3Fid%3D030000025A08ABABD14A590162B8839E94F3C105E65F79BA%26portal%3D010000010D2C4E505C1D98B221E222CABE4E167BECB2D669 [S]&lt;br&gt;&lt;/code&gt;</description>
<pubDate>Wed, 28 Sep 2011 23:16:14 GMT</pubDate>
<guid isPermaLink="false">050000028FEFDB7755351B69993976BA42C6B780E4228F50</guid>
</item>
<item>
<title>Report a problem</title>
<link>http://www.osiris-sps.org/05000002318E44BFFDF72199F4134C567CF5387010CBD626/</link>
<description>If you discover a problem or crash, report it in our forums.&lt;br /&gt;&lt;br /&gt;English:&lt;br /&gt;Italian: &lt;a class="" href="http://www.osiris-sps.org/forums/index.php?showforum=16" target="_blank"&gt;http://www.osiris-sps.org/forums/index.php?showforum=16&lt;/a&gt;&lt;br /&gt;English: &lt;a class="" href="http://www.osiris-sps.org/forums/index.php?showforum=63" target="_blank"&gt;http://www.osiris-sps.org/forums/index.php?showforum=63&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please specify:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Osiris Version&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Your platform (Windows / Linux / OSX) and version (ex. Windows 7 64-bit)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;What kind of distribution: with Installer, Portable, Firefox extension, etc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;If the problem are reproducible any time or not&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Steps to reproduce the problem&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Please report an Osiris Log.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;How to have the log&lt;/h2&gt;&lt;br /&gt;&lt;img style="float:right" alt="Image" title="Image" src="http://www.osiris-sps.org/resources/080000029DA29B8958B4E4EDF6AA6857ED3B1C4D6A5B501B/"&gt;&lt;br /&gt;To enable the log, look the image on the right: Enter in &amp;quot;&lt;b&gt;Logs&lt;/b&gt;&amp;quot; tab, click the &amp;quot;&lt;b&gt;tools&lt;/b&gt;&amp;quot; button, and ensure that &amp;quot;&lt;b&gt;Enable&lt;/b&gt;&amp;quot;, &amp;quot;&lt;b&gt;Save on file&lt;/b&gt;&amp;quot; and &amp;quot;&lt;b&gt;Debug&lt;/b&gt;&amp;quot; are checked. After that, reproduce the problem, and send to us the log.&lt;br /&gt;&lt;br /&gt;To find it, use the men&amp;ugrave; &amp;quot;&lt;b&gt;Tools&lt;/b&gt;&amp;quot;, click &amp;quot;&lt;b&gt;Data folder&lt;/b&gt;&amp;quot;, enter in &amp;quot;&lt;b&gt;log&lt;/b&gt;&amp;quot; directory and send to us the file &amp;quot;&lt;b&gt;osiris-sps.log&lt;/b&gt;&amp;quot;.&lt;br /&gt;&lt;br /&gt;If you can't open the software, try to launch it from prompt/console with the &amp;quot;&lt;b&gt;/verbose&lt;/b&gt;&amp;quot; option.&lt;br /&gt;&lt;code&gt;&lt;br&gt;osiris.exe /verbose&lt;br&gt;&lt;/code&gt;&lt;br /&gt;It automatically enable log on files and set the debug level messages.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Recovery&lt;/h2&gt;&lt;br /&gt;If the problem are urgent, and you can't wait for a technical overview from our developers, you can launch Osiris in &lt;b&gt;Recovery mode&lt;/b&gt;, by launch it from the icon in the &lt;b&gt;Start&lt;/b&gt; men&amp;ugrave; (under Windows, and under the Installer edition), or launch it from prompt/console with the &amp;quot;&lt;b&gt;/recovery&lt;/b&gt;&amp;quot; option.&lt;br /&gt;&lt;code&gt;&lt;br&gt;osiris.exe /recovery&lt;br&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Please note that launching Osiris in recovery mode:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Reset all your options&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Reinstall all extensions preinstalled with Osiris&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Force the regeneration of internal data, for example search indexes.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Recovery don't destroy any of your portal data, only the system options you have changed from the default.&lt;br /&gt;&lt;br /&gt;If in doubt, please ask for support in our forums.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Advanced report&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;If a crash occur, under Windows or Mac OSX, send to us the crash report.&lt;br /&gt;Under Linux, read the article &lt;a class="" href="http://www.osiris-sps.org/05000002E13C1BAB786D44A19B472B147156977806DD3190/" target="_self"&gt;Trace crash informations under Linux&lt;/a&gt;</description>
<pubDate>Sat, 03 Sep 2011 15:09:19 GMT</pubDate>
<guid isPermaLink="false">05000002318E44BFFDF72199F4134C567CF5387010CBD626</guid>
</item>
<item>
<title>Customize default header links, adding a logo</title>
<link>http://www.osiris-sps.org/050000029080753EE64615DD2FF49CF7264AFF4844BE15CE/</link>
<description>By default, Osiris suggest a standard collections of links for the current portal.&lt;br /&gt;It's possible to redefine this with an instance, typically for:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Insert other links, specific to the portal&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Insert a logo image&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Change the graphics layout.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Actually (0.X) it's possibile by creating an instance with the following properties:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;The title must be &lt;b&gt;Header&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Instance Area must be &lt;b&gt;Top&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We reccomend to use block type &lt;b&gt;None&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;When Show must be &lt;b&gt;Show from the section that contains it&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In this example, we use a simple &lt;b&gt;Text module&lt;/b&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We reccomend to use as Internal Style, &lt;b&gt;padding:0px;&lt;/b&gt; , to avoid the default margin.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;An example OML code:&lt;br /&gt;&lt;code&gt;&lt;br&gt;[nobr]&lt;br&gt;[div style=&amp;quot;text-align:center;margin-right:320px;&amp;quot;]&lt;br&gt;	[img src=&amp;quot;osiris://|skin|images/logo/logo1.png&amp;quot;/]&lt;br&gt;[/div]&lt;br&gt;[div class=&amp;quot;os_portallinks&amp;quot;]&lt;br&gt;	[iurl=&amp;quot;osiris://|url|portals/view&amp;quot;]Home[/iurl]&lt;br&gt;	[iurl=&amp;quot;osiris://|url|portals/search&amp;quot;]Search[/iurl]&lt;br&gt;	[iurl=&amp;quot;osiris://|url|portals/users&amp;quot;]Users[/iurl]&lt;br&gt;	[iurl=&amp;quot;osiris://|url|portals/latest_discussions&amp;quot;]View new discussions[/iurl]&lt;br&gt;	[iurl=&amp;quot;osiris://|url|portals/changes&amp;quot;]Recent changes[/iurl]&lt;br&gt;[/div]&lt;br&gt;[/nobr]&lt;br&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;We use [nobr] tag to avoid unwanted carriage-return.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We define a logo box (div) that contain, centered, the logo image. The CSS style &amp;quot;margin-right&amp;quot; is for skip the space used by user-box.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We define the links. CSS class &amp;quot;os_portallinks&amp;quot; are the default CSS style, also for links/buttons.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Note: In 1.X version, this approach will be replaced with a POV option.</description>
<pubDate>Mon, 30 May 2011 23:11:26 GMT</pubDate>
<guid isPermaLink="false">050000029080753EE64615DD2FF49CF7264AFF4844BE15CE</guid>
</item>
<item>
<title>Client Directory Structure</title>
<link>http://www.osiris-sps.org/050000023F3EFFDA11EED46029ABBCE889B23AD180DCCC6E/</link>
<description>Osiris have a binary directory, that contain executable and library.&lt;br /&gt;When start, it read a file called &lt;b&gt;system.xml&lt;/b&gt; that tell where the other &amp;quot;main&amp;quot; directory are collocated. Paths are different for each platform and distribution mode (install vs portable, for example).&lt;br /&gt;The main directory are: &lt;i&gt;share&lt;/i&gt;, &lt;i&gt;data&lt;/i&gt;, &lt;i&gt;temp&lt;/i&gt; and &lt;i&gt;log&lt;/i&gt;.&lt;br /&gt;&lt;i&gt;share&lt;/i&gt; must be read-only, the others must be writable.&lt;br /&gt;&lt;i&gt;temp&lt;/i&gt; and &lt;i&gt;log&lt;/i&gt; normally are under &lt;i&gt;data&lt;/i&gt;. For example, are different (on the file-system hierarchy) under Debian.&lt;br /&gt;&lt;h2&gt;Data&lt;/h2&gt;If missing, &amp;quot;Data&amp;quot; directory are created during the first execution of Osiris.&lt;table class="os_table2"&gt;&lt;col style="background-color:#FFFFEE"&gt;&lt;/col&gt;&lt;col style="width:100%;"&gt;&lt;/col&gt;&lt;tr&gt;&lt;th&gt;Path&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;config&lt;/td&gt;&lt;td&gt;Configurations. Plugins or extensions may write here system-configuration files.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:40px"&gt;options.xml&lt;/td&gt;&lt;td&gt;Osiris XML options file. Saved by &amp;quot;settings&amp;quot; page.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;extensions&lt;/td&gt;&lt;td&gt;Extensions installed. Managed by &amp;quot;addons&amp;quot; page.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;log&lt;/td&gt;&lt;td&gt;Optionally. Log files, if serialization is enabled.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;store&lt;/td&gt;&lt;td&gt;Plugins and Extensions data.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:40px"&gt;532E9E0A68EB22E08240965CFA9366DFA6A26A62&lt;/td&gt;&lt;td&gt;SQLite data. By default, SQLite is the database storage plugin for portals, so the databases of each portals are stored here.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:40px"&gt;DCCDAE3A28324F6BB5F5578A18A63BD0DAE3587A&lt;/td&gt;&lt;td&gt;DHT data.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;portals&lt;/td&gt;&lt;td&gt;Portals data. Contain XML data of each subscribed portals, and additional generated data (for example, Lucene search indexes)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;temp&lt;/td&gt;&lt;td&gt;Optionally. Temporary files.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;machine.bin&lt;/td&gt;&lt;td&gt;Digital key of the current machine.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;h2&gt;Share&lt;/h2&gt;&lt;table class="os_table2"&gt;&lt;col style="background-color:#FFFFEE"&gt;&lt;/col&gt;&lt;col style="width:100%;"&gt;&lt;/col&gt;&lt;tr&gt;&lt;th&gt;Path&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;certificates&lt;/td&gt;&lt;td&gt;SSL certificates&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;db&lt;/td&gt;&lt;td&gt;Databases XML structure, use for building and migrating databases.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;extensions&lt;/td&gt;&lt;td&gt;Extensions packages (file .osiris) automatically installed during first launch (when &amp;quot;Data&amp;quot; directory are created)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;license&lt;/td&gt;&lt;td&gt;License text files, in different languages. Showed by &amp;quot;about&amp;quot; page.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;plugins&lt;/td&gt;&lt;td&gt;Data directory of plugins.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;schemas&lt;/td&gt;&lt;td&gt;XSD schemas for XML validation.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;ui&lt;/td&gt;&lt;td&gt;UI resources&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:40px"&gt;res&lt;/td&gt;&lt;td&gt;Images and sounds used by UI&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:40px"&gt;templates&lt;/td&gt;&lt;td&gt;Extensions templated used by UI - Extensions Wizard Generator&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;cultures.xml&lt;/td&gt;&lt;td&gt;Data about cultures (names, date formats etc.)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:10px"&gt;changelog.txt&lt;/td&gt;&lt;td&gt;Changelog text file. Showed by &amp;quot;about&amp;quot; page.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description>
<pubDate>Sat, 23 Apr 2011 01:19:16 GMT</pubDate>
<guid isPermaLink="false">050000023F3EFFDA11EED46029ABBCE889B23AD180DCCC6E</guid>
</item>
<item>
<title>Use Osiris with TOR</title>
<link>http://www.osiris-sps.org/0500000215F0467ECDD478A234643AF04C1C5A41FD0D74FA/</link>
<description>&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Go to TOR Project, &lt;a class="" href="https://www.torproject.org/" target="_blank"&gt;https://www.torproject.org/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Download and install the &lt;b&gt;Vidalia Bundle&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Under Windows, the &lt;b&gt;Vidalia Bundle&lt;/b&gt; already contains &lt;b&gt;Polipo&lt;/b&gt;.&lt;br /&gt;Under Linux, you may need to install it. Look as example &lt;a class="" href="https://help.ubuntu.com/community/Tor" target="_blank"&gt;this Ubuntu guide&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Launch and wait until TOR network is connected&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/4ae421a357f90e58d47e56674df2b2bae155ee28.png"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In Osiris main window, open the wizard configurator&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/ff07b2db9a9e86e3610891ad87bef10b0fd15c91.png"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In the &lt;b&gt;proxy&lt;/b&gt; page, specify &lt;b&gt;HTTP&lt;/b&gt; proxy, the address and the port where TOR is listening (127.0.0.1 : 8118 is the Polipo default port).&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/afcc5436207ea94b09016f36e168a27d827ef419.png"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;With the Osiris web interface, go to any portal, open the assistant, and open the lists of pages&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/a75044bdb4bfc8a752937a954b130e13d517bba0.png"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to the &lt;b&gt;Nodes&lt;/b&gt; pages&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/0edd289013c878875ae3908e1e48f10b0db3d557.png"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Check if the TOR status is green.&lt;br /&gt;&lt;img alt="Image" title="Image" src="http://osiris.kodeware.net/host/images/385a12d83c33cad5e17a1b3013963d0f35fdf231.png"&gt;&lt;br /&gt;Note: It's normal if the &lt;b&gt;Super&lt;/b&gt; test fail, when using TOR you can't be reachable directly.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description>
<pubDate>Sat, 16 Apr 2011 22:38:37 GMT</pubDate>
<guid isPermaLink="false">0500000215F0467ECDD478A234643AF04C1C5A41FD0D74FA</guid>
</item>
<item>
<title>Configure a dedicated VPS/Cloud</title>
<link>http://www.osiris-sps.org/0500000211381DBDB102610DBAF6845A292219F0A44D0264/</link>
<description>&lt;h2&gt;Overview&lt;/h2&gt;&lt;br /&gt;There are a lot of VPS (Virtual Private Service) or Cloud at cheapest price.&lt;br /&gt;An example is &lt;a class="" href="https://directspace.net/" target="_blank"&gt;https://directspace.net/&lt;/a&gt; , that offer VPS at 4$/2.8&amp;#8364; at month.&lt;br /&gt;This kind of service can be useful to activate an Osiris node on the internet.&lt;br /&gt;Advantage:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Highest bandwidth&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Directly connected (no NAT)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Always up 24h/24h&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Remote management&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;This howto it's a generic guide about installing and configuring the VPS for Osiris. Is not specific to a VPS/Cloud vendor.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Installation and Configuration&lt;/h2&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Buy a VPS/Cloud service and install the operating-system. In this how-to we use Debian 6 64 bit, but other linux distribution can be used.&lt;/li&gt;&lt;li&gt;Connect to the console. We use Putty for console, and WinSCP as file-manager.&lt;/li&gt;&lt;li&gt;Edit &lt;b&gt;/etc/apt/sources.list&lt;/b&gt; and add Osiris repository:&lt;br /&gt;&lt;code&gt;&lt;br&gt;deb http://www.osiris-sps.org/repository/debian stable non-free&lt;br&gt;&lt;br&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Update the system:&lt;br /&gt;&lt;code&gt;apt-get update&lt;br&gt;apt-get upgrade&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Install Osiris&lt;br /&gt;&lt;code&gt;&lt;br&gt;apt-get install osiris-sps&lt;br&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Launch the console version of Osiris for the first time&lt;br /&gt;&lt;code&gt;&lt;br&gt;cd /usr/lib/osiris-sps&lt;br&gt;./console&lt;/code&gt;&lt;br /&gt;Wait until are showed &lt;i&gt;Osiris is ready.&lt;/i&gt;, and quit with Ctrl+C.&lt;br /&gt;The first default launch will create the default configuration.&lt;/li&gt;&lt;li&gt;Locate and edit the configuration file, that's under&lt;br /&gt;{your_home_directory}/.osiris-sps/config/options.xml&lt;br /&gt;If you install Osiris as root, it's under /root/.osiris-sps/config/options.xml&lt;br /&gt;The default file contain:&lt;br /&gt;&lt;code&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot; ?&amp;gt;&lt;br&gt;&amp;lt;options&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option name=&amp;quot;p2p.server.port&amp;quot; value=&amp;quot;54647&amp;quot;/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option name=&amp;quot;web.server.port&amp;quot; value=&amp;quot;58252&amp;quot;/&amp;gt;&lt;br&gt;&amp;lt;/options&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;br /&gt;Annotate the P2P and the WEB port, and add the highlighted line:&lt;br /&gt;&lt;code&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot; ?&amp;gt;&lt;br&gt;&amp;lt;options&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option name=&amp;quot;p2p.server.port&amp;quot; value=&amp;quot;54647&amp;quot;/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option name=&amp;quot;web.server.port&amp;quot; value=&amp;quot;58252&amp;quot;/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option name=&amp;quot;web.allow_remote_connections&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br&gt;&amp;lt;/options&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;You are ready, start Osiris with&lt;br /&gt;&lt;code&gt;/usr/lib/osiris-sps/console&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Machine configuration&lt;/h2&gt;&lt;br /&gt;We report here a simple example startup script that configure machine, firewall and launch Osiris:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create a machine startup script &lt;b&gt;/root/startup.sh&lt;/b&gt;:&lt;br /&gt;&lt;code&gt;&lt;br&gt;#!/bin/bash&lt;br&gt;&lt;br&gt;# Flush (clear all existing rules)&lt;br&gt;iptables -F&lt;br&gt;iptables -F INPUT&lt;br&gt;iptables -F OUTPUT&lt;br&gt;iptables -F FORWARD&lt;br&gt;	&lt;br&gt;# Optional: Allow incoming pings (can be disabled)&lt;br&gt;iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT&lt;br&gt;&lt;br&gt;# Allow loopback&lt;br&gt;iptables -A INPUT -i lo -j ACCEPT&lt;br&gt;&lt;br&gt;# Allow established sessions to receive traffic: &lt;br&gt;iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;	&lt;br&gt;# Allow 22/SSH port&lt;br&gt;iptables -A INPUT -p tcp --dport 22 -j ACCEPT&lt;br&gt;	&lt;br&gt;# Allow Osiris P2P port&lt;br&gt;iptables -A INPUT -p tcp --dport 54647 -j ACCEPT&lt;br&gt;&lt;br&gt;# Optional: Allow Osiris Web port - Read the &amp;quot;Advanced Security&amp;quot; in the how-to&lt;br&gt;iptables -A INPUT -p tcp --dport 58252 -j ACCEPT&lt;br&gt;&lt;br&gt;# Blocking traffic&lt;br&gt;iptables -A OUTPUT -j ACCEPT&lt;br&gt;iptables -A INPUT -j DROP&lt;br&gt;iptables -A FORWARD -j DROP&lt;br&gt;&lt;br&gt;# Optional: Launch Osiris. Here we propose a loop, to relaunch automatically if crash occur.&lt;br&gt;cd /usr/lib/osiris-sps&lt;br&gt;&lt;br&gt;#./console&lt;br&gt;for (( ; ; ))&lt;br&gt;do&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;date -u &amp;gt;start.log&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;./console&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo 1m pause&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;sleep 1m&lt;br&gt;done&lt;br&gt;&lt;br&gt;exit 0&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/code&gt;&lt;br /&gt;You need to replace P2P port and WEB port with your numbers read previously in the configuration file.&lt;/li&gt;&lt;li&gt;Ensure that script can be executed:&lt;br /&gt;&lt;code&gt;chmod 700 /root/startup.sh&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Launch Osiris&lt;/h2&gt;&lt;br /&gt;Your have different possibility:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Launch manually:&lt;br /&gt;&lt;code&gt;/root/startup.sh&lt;/code&gt;&lt;br /&gt;Remember: if you connect to SSH, and manually launch Osiris, Osiris will be terminated when you close the session.&lt;br /&gt;Launch in background.&lt;br /&gt;&lt;br /&gt;Another approach is using &lt;b&gt;screen&lt;/b&gt; utility. &lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;Install it&lt;br /&gt;&lt;code&gt;apt-get install screen&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After connect to the console, launch&lt;br /&gt;&lt;code&gt;screen -S osiris&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Launch Osiris&lt;br /&gt;&lt;code&gt;/root/startup.sh&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Now you can close the terminal, Osiris will not be terminated.&lt;br /&gt;To reconnect, open terminal, and launch&lt;br /&gt;&lt;code&gt;screen -r osiris&lt;/code&gt;&lt;br /&gt;You will see the Osiris output log.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Configure to run at system startup.&lt;br /&gt;Edit &lt;b&gt;/etc/rc.local&lt;/b&gt; and insert the script path&lt;br /&gt;&lt;code&gt;su - root -c &amp;quot;screen -A -m -d -S osiris /root/startup.sh&amp;quot;&lt;/code&gt;&lt;br /&gt;just before the &amp;quot;&lt;b&gt;exit 0&lt;/b&gt;&amp;quot; line.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Advanced SSH Security&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;In the above configuration, anyone can connect to your web-interface.&lt;br /&gt;&lt;br /&gt;In the &lt;b&gt;startup.sh&lt;/b&gt; script, you can comment the line &lt;b&gt;Allow Osiris WEB port&lt;/b&gt; and optionally the &lt;b&gt;mcp.password&lt;/b&gt;.&lt;br /&gt;If you do that, the web interface can't be directly reached from outside.&lt;br /&gt;&lt;br /&gt;After that, you can configure your SSH client to do a Port Forwarding.&lt;br /&gt;&lt;br /&gt;For example, with Putty:&lt;br /&gt;Go to &lt;b&gt;Putty Configuration&lt;/b&gt; &amp;gt; &lt;b&gt;Connection&lt;/b&gt; &amp;gt; &lt;b&gt;SSH&lt;/b&gt; &amp;gt; &lt;b&gt;Tunnels&lt;/b&gt;&lt;br /&gt;Specify the &lt;b&gt;58252&lt;/b&gt; (your example web port) in &lt;b&gt;Source port&lt;/b&gt; and &lt;b&gt;localhost:58252&lt;/b&gt; in &lt;b&gt;Destination&lt;/b&gt;, and click &lt;b&gt;Add&lt;/b&gt;. Remember to save the session.&lt;br /&gt;&lt;br /&gt;Only when you are connected through SSH to your machine, you can access the Osiris web-interface with the url&lt;br /&gt;&lt;code&gt;&lt;br&gt;http://localhost:58252&lt;br&gt;&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Your local request will be catched by Putty, crypted, sended through SSH tunnel, the server itself request the page to Osiris, and send the result to you.&lt;br /&gt;&lt;br /&gt;It's more secure because:&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;You don't need an additional Osiris authentication, because you need SSH authentication.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Requests are crypted.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Remember&lt;/h2&gt;&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;If you connect to SSH via Putty, and manually launch Osiris, Osiris will be terminated when you close the session.&lt;br /&gt;Launch Osiris in background or via &amp;quot;Screen&amp;quot; utility.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Backup your system, at minimum the Osiris accounts created. Under Debian, data are stored here under &lt;b&gt;/root/.osiris-sps&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In this guide, the &lt;b&gt;root&lt;/b&gt; user is used. For semplicity, and because we normally activate dedicated VPS with nothing else.  Configure Osiris to run under a linux-user if you want to activate a node under an already exists server.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Todo&lt;/h2&gt;&lt;br /&gt;- MCP Restriction&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Additional notes&lt;/h2&gt;&lt;br /&gt;&lt;ul class="os_oml_list_ul"&gt;&lt;li&gt;On DirectSpace network, by default are installed a CentOS. First of all, connect to client area, and re-install the system if you want to use Debian (used in this how-to).&lt;/li&gt;&lt;/ul&gt;</description>
<pubDate>Sun, 20 Mar 2011 16:38:37 GMT</pubDate>
<guid isPermaLink="false">0500000211381DBDB102610DBAF6845A292219F0A44D0264</guid>
</item>
</channel>
</rss>
