Manuale di Laboratorio Le workstation Amministrazione e macchine

Transcript

Manuale di Laboratorio Le workstation Amministrazione e macchine
!"#$
%
$#
&'()&*+,*'-,./,&,
,
((0'/,
+,&'/,*,
1%)
##5
#5$
6#"$"6
"67"
#$#
##6"6#6
#6$"
2##5#
$
8
#5$
-23#
$4
#89 "8":";"%
"
<8###
346-(3
54"21#
)3
4
%89 ###5
##$
1
6#
-(
89
89 =$'"
#2>#7"
#2)#?
.@"'$"
###5A$$!
)#,
89 E5
#$#
#.-
C1
$
.-%,
3-%,
#4
.###
D),
*66#$
534
()!5
89 &$7
%#$I
##5
'8GH##5'
%2###8
89 #6
#68
689 '
*66#$
*#&!
8
=J89 DF
$F####(7)!
##G5H
##5#)#$
1###5$$
5#56##
##
(,
()!5
$7F#
#5$7F###5
$7
#5$7
'*#
! "!!#
$% %&'"()
-5
%*
+,
89 -,**
"$
.!. !"..#
$% %& /&'012"&"'2&-/%
'
.!. !"..#()
%*
+,
%
'
'
'
'#5
'
#5G6$H
'
F$5
/&
/&3&
. "!"" "" #
/&'012"& $&
'012"& $&
(4*$'
/&3&
. "!"" "" #
/&'012"&%
'012"&%
(4*$'
/&3&
. "!"" "" #
/&'012"&)'012"&)(4*$'
' /&
#$##5
$=6##
#56#
#56
'6:
#56###5
#5##50!;#5#
=F
#51'*
/&
##
K66#$
#7
#
L$#
'66##5
'$789
%##
##$
"2
E6##
#1$#
K##5
. "!"" "" #
&*012"& $&
(((
1
/) --%
.) .
,* ..!#'
'1
/) 8#
-
15-16##
$6#$
#5
'#5%9.9"$L
86#=3#
4"
(#7#5
(##F
(#5$7
#F
!
"#
##
##$%&
15
(8
%&&"&'&
%
(!&!#!!!&$$
)$*&$ +"&&,!$,
$%&.),,)&/0(
)'!
&
/##5
#1$8"
22I
#"=#
$5
89 #5F
#
3M4
/+#15
#1
)1#
)#K6$5
&$$##
!
##5
'$##56##
F
*89 F
#5
3?N>MN24
###5
/CF8G(H
/CF8G&H
/CKF8GH
"#$%
55#6$6"
G$HG&H"
2##5###
15
#5
,1
'
5M
5M
5M
(
&
555K
?N>MN
555K
?N>MN
555K
?N>MNK
5
5K
??
(
5
??ML
&
55
55
55
8
/
ML
8
/
8
/
8
/
5?N>MN
O$##5
#52#7"2
$#$=
*15=###5"#
$#34
5675
2
=6#$1##
"#5#5#E#
#1##
$3#54PP1
#6##"##
$&34$$
##""##
#=6"E=#
#1
66#65
$$F##5
15
%$##
##1#
##53$
#4
#6$
)$
.6
##5
5###E#5=15"
%9
$3
1#$684
$$6#"
###
O1
###I#
8
'6658#
#5
$##5#
(6$
#7'
*-')
$"%415
='*&
'/%
$
-63#4
#5$$#
5#1'-#"
6~/.bashrc
'$5F
$
alias Client='ssh -X [email protected]'
alias Router='ssh -X [email protected]'
alias Server='ssh -X [email protected]'
#5=66$#"E
1##5##5#
##55$$#"
("&"38
##4F
ssh-keygen -t dsa
-$
cat .ssh/id_dsa.pub | Client
'mkdir .ssh ; chmod 700 .ssh ; cat
>> .ssh/authorized_keys'
$$
5$##$
+"#
8%96F
cp ~/.bashrc ~/.ssh/id* ~/LAS.VM/
-
8%9
# %)(/$Q$F
&#
#!/bin/bash
rm -f ~/LAS.VM
chmod +x recover.sh
ln -s “ $(pwd)” ~/LAS.VM
#
mkdir -p ~/.VirtualBox
&#
cp VirtualBox.xml ~/.VirtualBox
cd /media/.../LAS.VM
mkdir -p ~/.ssh
1#
chmod 700 ~/.ssh
./recover.sh
cp id_dsa* ~/.ssh
chmod 644 ~/.ssh/id_dsa.pub
chmod 600 ~/.ssh/id_dsa
#5="
#6$
##
'66$$$$F
las ALL=(ALL) ALL

Documenti analoghi