<!DOCTYPE html>
<html>
<head data-suburl="">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>0x2620/pandora: pan.do/ra is a free, open source media archive platform. - 0x2620</title>
<meta name="theme-color" content="#6cc644">
<meta name="author" content="0x2620" />
<meta name="description" content="pandora - pan.do/ra is a free, open source media archive platform." />
<meta name="keywords" content="0x2620 Collaborative Archiving Networked Distribution">
<meta name="referrer" content="no-referrer" />
<meta name="_csrf" content="wbo3J1to_dJj0b1oCojk1jqxK_Q6MTU2ODI5MzgxODg4MTI4NTA2Nw==" />
<meta name="_suburl" content="" />

<script>/*@licstart  The following is the entire license notice for the    JavaScript code in this page.Copyright (c) 2016 The Gitea AuthorsCopyright (c) 2015 The Gogs AuthorsPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.---Licensing information for additional javascript libraries can be found at:  {{AppSubUrl}}/vendor/[email protected]  The above is the entire license notice    for the JavaScript code in this page.*/</script><link rel="shortcut icon" href="/img/favicon.png" /><link rel="mask-icon" href="/img/gitea-safari.svg" color="#609926"><link rel="preload" href="/vendor/assets/font-awesome/css/font-awesome.min.css" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/vendor/assets/font-awesome/css/font-awesome.min.css"></noscript><link rel="stylesheet" href="/vendor/assets/octicons/octicons.min.css"><link rel="stylesheet" href="/vendor/plugins/semantic/semantic.min.css"><link rel="stylesheet" href="/css/index.css?v=0daa38dadc7cc04579cf90023df67090"><noscript>    <style>        .dropdown:hover > .menu { display: block; }        .ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }    </style></noscript><link rel="stylesheet" href="/vendor/plugins/highlight/github.css"><style class="list-search-style"></style><script src="/vendor/plugins/cssrelpreload/loadCSS.min.js"></script><script src="/vendor/plugins/cssrelpreload/cssrelpreload.min.js"></script><meta property="og:title" content="pandora" /><meta property="og:type" content="object" /><meta property="og:image" content="https://code.0x2620.org/avatars/de94ed012b41fce7830feb03beeafab2" /><meta property="og:url" content="https://code.0x2620.org/0x2620/pandora" /><meta property="og:description" content="pan.do/ra is a free, open source media archive platform." /><meta property="og:site_name" content="0x2620" />

</head>
<body>

<div class="full height">    <noscript>This website works better with JavaScript.</noscript>        <div class="ui top secondary stackable main menu following bar light">            <div class="ui container" id="navbar">                <div class="item brand" style="justify-content: space-between;">                    <a href="/">                        <img class="ui mini image" src="/img/gitea-sm.png">                    </a>                    <div class="ui basic icon button mobile-only" id="navbar-expand-toggle">                        <i class="sidebar icon"></i>                    </div>                </div>                    <a class="item" href="/">Home</a>                <a class="item" href="/explore/repos">Explore</a>                    <a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">Help</a>                    <div class="right stackable menu">                        <a class="item" href="/user/login?redirect_to=%2f0x2620%2fpandora%2fsrc%2fbranch%2fmaster%2fvm%2fLXC_README.md">                            <i class="octicon octicon-sign-in"></i> Sign In                        </a>                    </div>            </div>        </div>

<div class="repository file list">
<div class="header-wrapper">

<div class="ui container">    <div class="ui stackable grid header-grid">        <div class="seven wide column">            <div class="ui huge breadcrumb">                <i class="mega-octicon octicon-repo"></i>                <a href="/0x2620">0x2620</a>                <div class="divider"> / </div>                <a href="/0x2620/pandora">pandora</a>            </div>        </div>        <div class="ui nine wide right aligned column">            <div class="ui compact labeled button" tabindex="0">                <a class="ui compact button" href="/0x2620/pandora/action/watch?redirect_to=%2f0x2620%2fpandora%2fsrc%2fbranch%2fmaster%2fvm%2fLXC_README.md">                    <i class="icon fa-eye-slash"></i>Watch                </a>                <a class="ui basic label" href="/0x2620/pandora/watchers">                    1                </a>            </div>            <div class="ui compact labeled button" tabindex="0">                <a class="ui compact button" href="/0x2620/pandora/action/star?redirect_to=%2f0x2620%2fpandora%2fsrc%2fbranch%2fmaster%2fvm%2fLXC_README.md">                    <i class="icon fa-star-o"></i>Star                </a>                <a class="ui basic label" href="/0x2620/pandora/stars">                    0                </a>            </div>                <div class="ui compact labeled button" tabindex="0">                    <a class="ui compact button poping up" >                        <i class="octicon octicon-repo-forked"></i>Fork                    </a>                    <a class="ui basic label" href="/0x2620/pandora/forks">                        0                    </a>                </div>        </div>    </div></div><div class="ui tabs container">    <div class="ui tabular stackable menu navbar">        <a class="active item" href="/0x2620/pandora">            <i class="octicon octicon-code"></i> Code        </a>            <a class=" item" href="/0x2620/pandora/issues">                <i class="octicon octicon-issue-opened"></i> Issues <span class="ui gray small label">0</span>            </a>            <a class=" item" href="/0x2620/pandora/pulls">                <i class="octicon octicon-git-pull-request"></i> Pull Requests <span class="ui gray small label">0</span>            </a>        <a class=" item" href="/0x2620/pandora/releases">            <i class="octicon octicon-tag"></i> Releases <span class="ui gray small label">0</span>        </a>            <a class=" item" href="/0x2620/pandora/wiki" >                <i class="octicon octicon-book"></i> Wiki            </a>            <a class=" item" href="/0x2620/pandora/activity">                <i class="octicon octicon-pulse"></i> Activity            </a>    </div></div><div class="ui tabs divider"></div>

</div>

<div class="ui container">    <div class="ui repo-description">        <div id="repo-desc">            <span class="description has-emoji">pan.do/ra is a free, open source media archive platform.</span>            <a class="link" href="https://pan.do/ra">https://pan.do/ra</a>        </div>    </div>    <div class="ui repo-topic" id="repo-topic">    </div>    <div class="ui segment sub-menu"><div class="ui two horizontal center link list">        <div class="item">            <a href="/0x2620/pandora/commits/branch/master"><i class="octicon octicon-history"></i> <b>6204</b> Commits</a>        </div>        <div class="item">            <a href="/0x2620/pandora/branches/"><i class="octicon octicon-git-branch"></i> <b>2</b> Branches</a>        </div></div>

</div>

    <div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">        <div class="fitted item choose reference"><div class="ui floating filter dropdown custom" data-can-create-branch="false" data-no-results="No results found.">    <div class="ui basic small compact button" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">        <span class="text">            <i class="octicon octicon-git-branch"></i>            Branch:            <strong>master</strong>        </span>        <i class="dropdown icon"></i>    </div>    <div class="data" style="display: none" data-mode="branches">            <div class="item branch selected" data-url="/0x2620/pandora/src/branch/master/vm/LXC_README.md">master</div>            <div class="item branch " data-url="/0x2620/pandora/src/branch/stable/vm/LXC_README.md">stable</div>    </div>    <div class="menu transition" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>        <div class="ui icon search input">            <i class="filter icon"></i>            <input name="search" ref="searchField" v-model="searchTerm" @keydown="keydown($event)" placeholder="Filter branch or tag...">        </div>        <div class="header branch-tag-choice">            <div class="ui grid">                <div class="two column row">                    <a class="reference column" href="#" @click="mode = 'branches'; focusSearchField()">                        <span class="text" :class="{black: mode == 'branches'}">                            <i class="octicon octicon-git-branch"></i> Branches                        </span>                    </a>                    <a class="reference column" href="#" @click="mode = 'tags'; focusSearchField()">                        <span class="text" :class="{black: mode == 'tags'}">                            <i class="reference tags icon"></i> Tags                        </span>                    </a>                </div>            </div>        </div>        <div class="scrolling menu" ref="scrollContainer">            <div v-for="(item, index) in filteredItems" :key="item.name" class="item" :class="{selected: item.selected, active: active == index}" @click="selectItem(item)" :ref="'listItem' + index">${ item.name }</div>            <div class="item" v-if="showCreateNewBranch" :class="{active: active == filteredItems.length}" :ref="'listItem' + filteredItems.length">                <a href="#" @click="createNewBranch()">                    <div>                        <i class="octicon octicon-git-branch"></i>                        Create branch <strong>${ searchTerm }</strong>                    </div>                    <div class="text small">                            from &#39;master&#39;                    </div>                </a>                <form ref="newBranchForm" action="/0x2620/pandora/branches/_new/branch/master" method="post">                    <input type="hidden" name="_csrf" value="wbo3J1to_dJj0b1oCojk1jqxK_Q6MTU2ODI5MzgxODg4MTI4NTA2Nw==">                    <input type="hidden" name="new_branch_name" v-model="searchTerm">                </form>            </div>        </div>        <div class="message" v-if="showNoResults">${ noResults }</div>    </div></div>

</div>

        <div class="fitted item"><span class="ui breadcrumb repo-path"><a class="section" href="/0x2620/pandora/src/branch/master">pandora</a><span class="divider">/</span><span class="section"><a href="/0x2620/pandora/src/branch/master/vm">vm</a></span><span class="divider">/</span><span class="active section">LXC_README.md</span></span></div>        <div class="right fitted item" id="file-buttons">                <div class="ui tiny blue buttons">                </div>        </div>        <div class="fitted item">        </div>    </div>        <div class="tab-size-8 non-diff-file-content"><h4 class="ui top attached header" id="repo-read-file">    <div class="ui stackable grid">        <div class="ten wide column">                <i class="file text outline icon ui left"></i>                <strong>LXC_README.md</strong> <span class="text grey normal">1.3KB</span>        </div>        <div class="six wide right aligned column">                <div class="ui right file-actions">                    <div class="ui buttons">                            <a class="ui button" href="/0x2620/pandora/src/commit/ce423303d55a1dadb9e7c010eda0cc898160dde3/vm/LXC_README.md">Permalink</a>                        <a class="ui button" href="/0x2620/pandora/commits/branch/master/vm/LXC_README.md">History</a>                        <a class="ui button" href="/0x2620/pandora/raw/branch/master/vm/LXC_README.md">Raw</a>                    </div>                            <i class="octicon octicon-pencil btn-octicon poping up disabled" data-content="You must fork this repository to make or propose changes to this file." data-position="bottom center" data-variation="tiny inverted"></i>                            <i class="octicon octicon-trashcan btn-octicon poping up disabled" data-content="You must have write access to make or propose changes to this file." data-position="bottom center" data-variation="tiny inverted"></i>                </div>        </div>    </div></h4><div class="ui attached table unstackable segment">    <div class="file-view markdown has-emoji">            <h1>Preparations</h1>

<pre><code>you will need at least 2GB of free disk space to install pan.do/ra
</code></pre>

<h1>Installing pan.do/ra inside LXC</h1>

<p>1) Install lxc on the host (Ubuntu 16.04 or later):</p>

<pre><code>sudo apt-get install lxc
</code></pre>

<p>1.1) On Debian you have to configure the a network for LXC before creating a container</p>

<pre><code>Simplest setup is this one here:
https://wiki.debian.org/LXC/SimpleBridge#Using_lxc-net
</code></pre>

<p>2) Create a new container, use different names if installing multiple instances:</p>

<pre><code>sudo lxc-create -n pandora -t ubuntu -- -r xenial

or

sudo lxc-create -n pandora -t debian -- -r buster
</code></pre>

<p>3) Install pan.do/ra in container:</p>

<pre><code>sudo lxc-start -n pandora -d
</code></pre>

<p>4) Attach to container and install pan.do/ra</p>

<pre><code>sudo lxc-attach -n pandora --clear-env
apt-get update -qq && apt-get upgrade -y
apt-get -y install curl ca-certificates
sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group
mv /home/ubuntu /home/pandora
echo "pandora:pandora" | chpasswd
echo PasswordAuthentication no >> /etc/ssh/sshd_config
locale-gen en_US.UTF-8
update-locale LANG=en_US.UTF-8
export LANG=en_US.UTF-8

cd /root
curl -sL https://pan.do/ra-install > pandora_install.sh
chmod +x pandora_install.sh
./pandora_install.sh 2>&1 | tee pandora_install.log
</code></pre>

    </div></div>

</div>

<script>
function submitDeleteForm() {
var message = prompt("delete_confirm_message\n\ndelete_commit_summary", "Delete ''");
if (message != null) {
$("#delete-message").val(message);
$("#delete-file-form").submit()
}
}
</script>

</div>

</div>

</div><script src="/vendor/plugins/jquery/jquery.min.js"></script><script src="/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js"></script><script src="/vendor/plugins/highlight/highlight.pack.js"></script><script src="/vendor/plugins/autolink/autolink.js"></script><script src="/vendor/plugins/emojify/emojify.min.js"></script><script src="/vendor/plugins/clipboard/clipboard.min.js"></script><script src="/vendor/plugins/vue/vue.min.js"></script>

<script src="/vendor/plugins/semantic/semantic.min.js"></script>
<script src="/js/index.js?v=0daa38dadc7cc04579cf90023df67090"></script>
</body>
</html>

dackdel /
Info
Connections