Compare commits
3 commits
8b550277d9
...
a9e2c85ed7
| Author | SHA1 | Date | |
|---|---|---|---|
| a9e2c85ed7 | |||
| 105ee4c917 | |||
| 12ff8a74dd |
5 changed files with 11 additions and 60 deletions
|
|
@ -7,7 +7,7 @@
|
|||
We recommend to run pan.do/ra inside of LXD or LXC or dedicated VM or server.
|
||||
You will need at least 2GB of free disk space
|
||||
|
||||
pan.do/ra is known to work with Debian/12 (bookworm) and Ubuntu 20.04,
|
||||
pan.do/ra is known to work with Debian/12 (bookworm) and Ubuntu 22.04,
|
||||
other distributions might also work, let us know if it works for you.
|
||||
|
||||
Use the following commands as root to install pan.do/ra and all dependencies:
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ class File(models.Model):
|
|||
self.item.groups.filter(id__in=user.groups.all()).count() > 0
|
||||
if 'instances' in data and 'filename' in self.info and self.data:
|
||||
data['instances'].append({
|
||||
'ignore': False,
|
||||
'ignore': not self.selected,
|
||||
'path': self.info['filename'],
|
||||
'user': self.item.user.username if self.item and self.item.user else 'system',
|
||||
'volume': 'Direct Upload'
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@ body {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
i, em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--fg)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,28 +2,21 @@
|
|||
|
||||
you will need at least 2GB of free disk space to install pan.do/ra
|
||||
|
||||
# Installing pan.do/ra inside LXD
|
||||
# Installing pan.do/ra inside Incus
|
||||
|
||||
1) Install lxd on the host (Ubuntu 18.04 or later, Debian/10):
|
||||
1) Install incus on the host (Debian/12 with backports):
|
||||
|
||||
sudo snap install lxd
|
||||
sudo apt install incus
|
||||
|
||||
2) Create a new container, use different names if installing multiple instances:
|
||||
|
||||
sudo lxc launch ubuntu:20.04 pandora
|
||||
|
||||
or
|
||||
|
||||
sudo lxc launch images:debian/10 pandora
|
||||
sudo incus launch images:debian/12 pandora
|
||||
|
||||
3) Attach to container and install pan.do/ra
|
||||
|
||||
sudo lxc exec pandora bash
|
||||
sudo incus exec pandora bash
|
||||
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
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
# Preparations
|
||||
|
||||
you will need at least 2GB of free disk space to install pan.do/ra
|
||||
|
||||
# Installing pan.do/ra inside LXC
|
||||
|
||||
1) Install lxc on the host (Ubuntu 18.04):
|
||||
|
||||
sudo apt-get install lxc
|
||||
|
||||
1.1) On Debian you have to configure the a network for LXC before creating a container
|
||||
|
||||
Simplest setup is this one here:
|
||||
https://wiki.debian.org/LXC/SimpleBridge#Using_lxc-net
|
||||
|
||||
2) Create a new container, use different names if installing multiple instances:
|
||||
|
||||
sudo lxc-create -n pandora -t ubuntu-cloud -- -r focal
|
||||
|
||||
or
|
||||
|
||||
sudo lxc-create -n pandora -t debian -- -r bullseye
|
||||
|
||||
3) Install pan.do/ra in container:
|
||||
|
||||
sudo lxc-start -n pandora -d
|
||||
|
||||
4) Attach to container and install pan.do/ra
|
||||
|
||||
sudo lxc-attach -n pandora --clear-env
|
||||
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
|
||||
apt-get update -qq && apt-get upgrade -y
|
||||
apt-get -y install curl ca-certificates
|
||||
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
|
||||
export BRANCH=stable # or master
|
||||
./pandora_install.sh 2>&1 | tee pandora_install.log
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue