Primer ens cal tenir mongoDB 1.6.1 o superior, per instalar-ho….
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen (ubuntu)
deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen (debian)
sudo apt-get update
sudo apt-get install mongodb-10gen
Ara anem per afegir el repositori…
editem /etc/apt/sources.list i afegim:
## Ubuntu Maverick (10.10):
deb http://www.ubnt.com/downloads/
## Ubuntu Lucid (10.4):
deb http://www.ubnt.com/downloads/
## Ubuntu Karmic (9.10):
deb http://www.ubnt.com/downloads/
## Ubuntu Jaunty (9.4):
deb http://www.ubnt.com/downloads/
## Debian Lenny (5.0):
deb http://www.ubnt.com/downloads/
## Debian Squeeze (6.0):
deb http://www.ubnt.com/downloads/
Guardem i a fegim GPG Key
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv C0A52C50
i somhi…
apt-get update
apt-get install unifi
apt-get upgrade
Per accedir-hi: https://<unifi_ip>:8443/
Salut !!!
Con las key tenía problemas y en lugar de
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
y
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv C0A52C50
ponía (dos guiones):
sudo apt-key adv –-keyserver keyserver.ubuntu.com –-recv 7F0CEB10
y
sudo apt-key adv -–keyserver keyserver.ubuntu.com -–recv C0A52C50