Вы находитесь на странице: 1из 4

See my last email. I have some instructions on the wiki.

We have always taken the


previous (last available image such as CloudFiler 1.3.1 IS!" updated the
so#tware$changes" then use a program called %remastersys% to build an IS image.
I&m not sure e'actly what method Sandeep did to compile the (ava code and there are
multiple ways" however" I know it is possible to compile using the )clipse I*) setup
that is on the *evelopment +,.
For updating the IS image (building a new IS with new changes!" I have this on the
%cloud#iler% wiki under - steps.
Updating the CloudFiler Software and Building a New ISO Image
IS building overview #rom the wiki...
This procedure assumes you are starting with an existing working ISO image of the
CloudFiler appliance that has een installed on either a !irtual or physical machine"
I# building a new IS image to include new so#tware updates" #irst #ollow the
instructions in /pdating the CloudFiler So#tware
Step 1: Reset appliance back to pre-
configured state
1! Connect to the appliance C0I either through a console connection or ssh$putty
connection. 0ogin as user %root% with de#ault password o# %Cloud#1ler11-3%
-! Stop the mcdd#s service i# it is still running and ensure the mcdd#s #ilesystem is not
mounted. 2his can be done with the #ollowing commands at the prompt.
service mcdd#s stop killall (ava umount 3#l $mnt$cloud#iler$c#41
3! 5un the cleanall script
/usr/local/mcddfs/cleanall.sh
4) Restore the default configuration file
cp /usr/local/mcddfs/StaticConfigProps.template /usr/local/mcddfs/StaticConfigProps.cfg
5) Restore the default Samba configuration
cp /etc/samba/x_smb.template /etc/samba/smb.conf
6) elete an! custom S"# users except for root
$o find out S"# user names%
pdbedit &' &(
$hen run this for each S"# user listed )except root)%
smbpasswd -x <user>
*) Remo(e and restore generainfo.log file
rm /mnt/cloudfiler/generalinfo.log touch /mnt/cloudfiler/generalinfo.log
Step 2: Build ISO image with Remastersys
Run remasters!s using the +bac,up+ option to build an image that includes all the
necessar! soft-are and configuration.
remasters!s clean remasters!s bac,up cloudfiler&./0RS1234_.5$04.iso
$he process -ill ta,e up to 67 minutes to full! complete. 5fter successful
completion the resulting 1S2 image -ill be located in
/home/remasters!s/remasters!s. $his file should be copied using scp )or
pscp/-inscp) to an 8$P site or an S6 cloud buc,et for future do-nload.
Vea mi ltimo correo electrnico. Tengo algunas instrucciones en la wiki.
Siempre hemos tomado la (ltima imagen como CloudFiler 1.3.1 IS! anterior"
actuali#a el so$tware % cam&ios" ' luego usar un programa llamado
(remasters's( para construir una imagen IS.
)o esto' seguro e*actamente +u, m,todo Sandeep hi#o para compilar el
cdigo -a.a ' ha' mltiples maneras" sin em&argo" s, +ue es posi&le compilar
utili#ando el I/0 0clipse con1guracin +ue est2 en la m2+uina .irtual de
/esarrollo.
3ara actuali#ar la imagen IS (la construccin de una nue.a IS con nue.os
cam&ios!" tengo esto en el wiki (cloud1ler( en 4 pasos5
6ctuali#acin del so$tware CloudFiler ' creacin de una nue.a imagen IS
7esumen edi1cio IS de la wiki ...
0ste procedimiento supone +ue usted est2 comen#ando con una imagen IS de
tra&a-o e*istente del aparato CloudFiler +ue se ha instalado en cada una
m2+uina .irtual o $8sica.
Si una nue.a imagen IS para incluir nue.as actuali#aciones de so$tware de
construccin" primero siga las instrucciones de actuali#acin del So$tware
CloudFiler
3aso 15 7esta&lecer dispositi.o a su estado pre9con1gurado
1! Conectar el aparato C:I a tra.,s de una cone*in de consola o una cone*in
ssh % masilla. Inicie una sesin como usuario (root( con la contrase;a por
de$ecto de (Cloud$1ler < 143(
4! /etenga el ser.icio mcdd$s si toda.8a est2 en marcha ' asegurar el sistema
de archi.os mcdd$s no est2 montada. 0sto se puede hacer con los siguientes
comandos en el s8m&olo del sistema.
ser.icio mcdd$s parada killall -a.a umount9= % mnt%cloud1ler%c$>1
3! 0-ecute el script cleanall
% ?sr % local % mcdd$s % cleanall.sh
@! 7estaurar el archi.o de con1guracin por de$ecto
cp % usr % local % mcdd$s % StaticCon1g3rops.template % usr % local % mcdd$s %
StaticCon1g3rops.c$g
A! 7estaurar la con1guracin de Sam&a por de$ecto
cp % etc % sam&a % *Bsm&.template % etc % sam&a % sm&.con$
C! 0limine los usuarios de las 3DE0S personali#ados con e*cepcin de la ra8#
F 3ara o&tener los nom&res de usuario SEG5
pd&edit9:9V
F 6 continuacin" e-ecute este paso para cada usuario SEG lista (e*cepto root!5
sm&passwd9* HusuarioI
J! Kuitar ' restaurar el archi.o generain$o.log
rm % mnt % cloud1ler % generalin$o.log touch % mnt % cloud1ler % generalin$o.log
3aso 45 Imagen IS Guild con 7emasters's
0-ecutar remasters's utili#ando la opcin (copia de seguridad( para construir
una imagen +ue inclu'e todo el so$tware ' la con1guracin necesaria.
remasters's limpio remasters's &ackup cloud1ler9HV07SIL)I B HF0CM6I. iso
0l proceso puede tardar hasta 3> minutos en completarse totalmente. /espu,s
de completar con ,*ito la imagen IS resultante se encuentra en % home %
remasters's % remasters's. 0ste archi.o de&e copiarse usando scp (o pscp %
NinSC3! a un sitio FT3 o un cu&o nu&e S3 para descargar $uturo.

Вам также может понравиться