Difference between revisions of "Cloudy in Debian"

From Guifi.net - English Wiki

(Created page with "You can convert a plain Debian installation into Cloudy following these steps: 1. Enter via SSH as a root user (or once logged in) or execute the next commands with ''sudo''...")
 
Line 5: Line 5:
  
  
2. Update date from server by installing a ntp client (optional).
+
2. Update date from server by installing a ntp client ''(optional)''.
  
 
  apt-get install ntp
 
  apt-get install ntp
Line 31: Line 31:
  
  
5. Install non-Debian packages.
+
5. Install the Cloudy non-Debian packages.
 
  curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/getinconf-client.chroot" | sh -
 
  curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/getinconf-client.chroot" | sh -
 
  curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/avahi-ps.chroot" | sh -
 
  curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/avahi-ps.chroot" | sh -

Revision as of 18:33, 10 September 2015

You can convert a plain Debian installation into Cloudy following these steps:


1. Enter via SSH as a root user (or once logged in) or execute the next commands with sudo tool.


2. Update date from server by installing a ntp client (optional).

apt-get install ntp


3. Add Debian backports, Clommunity and Guifi repositories.

  • Debian Backports:
echo "deb http://ftp.debian.org/debian wheezy-backports main contrib" > /etc/apt/sources.list.d/backports.list 
  • Clommunity repository
echo "deb http://repo.clommunity-project.eu/debian unstable/" > /etc/apt/sources.list.d/cloudy.list 
gpg --keyserver pgpkeys.mit.edu --recv-key A59C5DC8 && gpg --export --armor A59C5DC8 | apt-key add - 
  • Guifi repository
echo "deb http://serveis.guifi.net/debian guifi/" > /etc/apt/sources.list.d/serveis.list 
gpg --keyserver pgpkeys.mit.edu --recv-key 2E484DAB && gpg --export --armor 2E484DAB | apt-key add -


4. Install some Debian packages.

apt-get update
apt-get upgrade
apt-get install -y openssh-server openssh-client getinconf-client curl unzip make avahi-utils tahoe-lafs mysql-server python2.7 g++ make checkinstall openjdk-6-jre locales php5 libssh2-php libapache2-mod-encoding 

Note: If this error appears: ·Error W: GPG error: http://ftp.debian.org wheezy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY8B48AD6246925553" use this command:

apt-get --allow-unauthenticated upgrade


5. Install the Cloudy non-Debian packages.

curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/getinconf-client.chroot" | sh -
curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/avahi-ps.chroot" | sh -
curl "https://raw.githubusercontent.com/Clommunity/lbmake/master/hooks/cDistro.chroot" | sh -


g. Reboot.

After this, you can browse the web user interface at http://device_IP:7000

Personal tools