Costa Rica/Tecnico/MSS

From OLPC
< Costa Rica‎ | Tecnico
Revision as of 15:25, 31 January 2013 by 186.15.15.71 (talk) (Created page with ''''Hardware actual>'''<br /> Chassis: Laptop Classmate E11<br /> Procesador: Intel Atom N455 1.66GHz x2<br /> Memoria: 2GB <br /> Disco: 250GB == Instalación del MSS == '''Pas…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Hardware actual>
Chassis: Laptop Classmate E11
Procesador: Intel Atom N455 1.66GHz x2
Memoria: 2GB
Disco: 250GB

Instalación del MSS

Pasos:
1- Realizar una instalación de Fedora17 Mínima. El hostname debe de ser mss
2- Verificar que el sistema esté actualizado

[root@mss ~]# yum -y update

3- Instalar git y herramientas para compilar:

[root@mss ~]# yum -y install git gcc make zlib.devel

4- Descargar el módulo bios-crypto y compilarlo:

[root@mss ~]# cd /root
[root@mss ~]# git clone git://dev.laptop.org/bios-crypto
[root@mss ~]# cd bios-crypto/build
[root@mss ~]# make cli

5- Instalar paquetes requeridos para que bios-crypto pueda generar activaciones:

[root@mss ~]# yum -y install bitfrost-sugar



XXX - Reiniciar el servidor

[root@puppet ~]# reboot

Uso del MSS

Revisar si existen certificados sin firmar:

[root@puppet ~]# puppetca --list
"schoolserver.flexi.fqt.cr" (F0:F4:E0:E2:6A:81:67:99:C4:3F:8E:2C:41:E9:0A)

Firmar la solicitud de certificado:

[root@puppet certs]# puppetca --sign schoolserver.flexi.fqt.cr
notice: Signed certificate request for schoolserver.flexi.fqt.cr

Generar/Firmar nuevamente un certificado (En caso de reinstalación del XS):

En el XS:
[root@schoolserver ssl]# service puppet stop
Stopping puppet:                                           [  OK  ]
[root@schoolserver ssl]# rm -rf /var/lib/puppet/ssl
En el puppetmaster:
[root@puppet certs]# puppetca --clean schoolserver.flexi.fqt.cr
notice: Revoked certificate with serial 4
notice: Removing file Puppet::SSL::Certificate schoolserver.flexi.fqt.cr at '/var/lib/puppet/ssl/ca/signed/schoolserver.flexi.fqt.cr.pem'
notice: Removing file Puppet::SSL::Certificate schoolserver.flexi.fqt.cr at '/var/lib/puppet/ssl/certs/schoolserver.flexi.fqt.cr.pem'
En el XS:
[root@schoolserver ssl]# service puppet start