PRESENTS
Phitsanulok Primary Educational Service area office 1
THAYANG PHETCHABURI
7 august 2555
Pilin hotel
โรงเรียนวัดจันทร์ตะวันออก สพป.พล. เขต 1
Stare the past, see now, stare the
future
 That time what did I think?
 Now what am I thinking?
 In the future what can we do ?
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
5
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
6
How to manage new hareware
 Take off old harddisk 1+1+1tb
 Put hew hdd 4+4+4tb into lack
 Raid 0 = 12000gb






Put dvdfc11-64bit into dvdrom drive
Open power until see first page
Choose rescue installed system
Sh4.0#parted
Select /dev/sda
mklabel
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
7
 Yes
 Gpt
 P <see gpt>
 Mkpart 1
 Ext3
 Start 0
 End 100mb
 Mkpart 2
 Ext3
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
8










Start 100mb
End 20.1gb
Mkpart 3
Ext3
Start 20.1gb
End 24.1 gb
Mkpart 4
Ext3
Start 24.1gb
End 34.1 gb
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
9
 Mkpart 5
 Ext3
 Start 34.1gb
 End 12000gb
P
 1=100mb, 2=20gb, 3=4gb, 4=10gb, 5 11996gb
Q
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
10
How to mkfs.ext4,e2fsck –f ?
 Sh4.0# mkfs.ext4 /dev/sda4
 mkfs.ext4 /dev/sda5
 e2fsck –f /dev/sda4
 e2fsck –f /dev/sda5
 ok hdd ready to setup fc11
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
11
What’s os and scriptsetup
 Os=fc11-64bit=dvdfc11-64bit
 Setupfc11.4
 Why do we use fc11?
 Because we want to use preschool. Primary, secondary,
edltv, th at mysql can use in fc11
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
12
How to setup fc11-64bit
 Put dvdfc11-64bit in cdrom drive
 Open computer
 Boot form cdrom into first page
 Choose menu
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
13
choose menu 2
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
14
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
15
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
16
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
17
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
18
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
19
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
20
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
21
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
22
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
23
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
24
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
25
/dev/sda1
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
26
/dev/sda2
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
27
/dev/sda3
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
28
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
29
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
30
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
31
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
32
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
33
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
34
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
35
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
36
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
37
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
38
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
39
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
40
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
41
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
42
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
43
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
44
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
45
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
46
How to Close selinux
 Root/123456
 Vi /etc/selinux/config
 Edit line to below
 SELINUX=disabled
 :wq
 Reboot
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
47
How to create folder to receive
scripts
 Mkdir /a
 Mkdir /aa
 Mkdir /bb
 Mkdir /b
 Mkdir /school
 Mkdir /school/log
 Mkdir /school/webmaster
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
48
How to e2label , fstab
 E2label /dev/sda4 log
 E2label /dev/sda5 webmaster
 Vi /etc/fstab
 Plus line below
 LABEL=log /school/log ext4 defaults 0 0
 LABEL=webmaster /school/webmaster ext4 defaults
00
 Reboot
 Root/123456
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
49
How to setup setupfc11.4
 cp –R setupfc114 /root
 cd setup
 cd setupfc11.4
 ./setup
 ./net-reset
 reboot
 root/123456
 cd setupfc11.4
 ./net-setup
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
50
How to setup setupfc11.4
 reboot
 root/123456
 df <you can see /school/log, /school/webmaster ok>
 Now we have server “prachoom medel” , on hdd
 what service do they have? ftp , web, samba,
 ifconfig <see eth0=192.168.10.1, eth1=192.168.1.8>
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
51
what content do we put in server











general=600gb
edltv=633gb
preschool=41gb
primary=988gb
secondary =591gb
vocation=188gb
dltv51p=830gb
dltv52=831gb
dltv53p,dltv53m=1537gb
Dltv51p,m 1170 gb
=7409 gb
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
52
how to create passwd webmaster
 root/123456
 passwd webmaster
 teacher789
 teacher789
 smbpasswd –a webmaster
 teacher789
 teacher789
 test username ,password
 ftp school
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
53
how to create passwd webmaster
 webmaster
 teacher789
 ftp>ls
 see folder web share ftp medis ok good
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
54
how to create grant user to use
mysql
 root/123456
 service mysqld stop
 /usr/libexec/mysqld --skip-grant-tables &
 mysql
 use mysql
 flush privileges;
 select user, host, grant_priv from user;
 delete from user where user=‘’;
 delete from user where user=‘root’;
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
55
how to create grant user to use
mysql
 grant all privileges on *.* to ‘phpadmin’@’localhost’






identified by ‘phpadmin123’ with grant option;
select user, host, grant_priv from user;
<you can see phpadmin>
exit
killall mysqld
service mysqld start
reboot
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
56
How to restore mysql
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
57
http://school.cned/phpMyAdmin/
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
58
phpadmin/phpad
min123
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
59
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
60
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
61
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
62
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
63
edit privileges
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
64
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
65
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
66
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
67
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
68
elearn/elearn123
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
69
edit privileges
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
70
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
71
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
72
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
73
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
74
elearn55 localhost elearn55
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
75
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
76
edit privileges
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
77
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
78
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
79
preschool localschool preschool
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
80
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
81
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
82
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
83
edit privileges
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
84
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
85
edltvp localschool edltvp123
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
86
edit privileges edltvs
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
87
vocation localhost vocation
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
88
How to user prachoom school
server at school
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
89
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
90
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
91
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
92
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
93
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
94
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
95
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
96
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
97
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
98
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
99
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
100
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
101
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
102
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
103
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
104
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
105
how to use samba or windows files
server
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
106
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
107
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
108
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
109
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
110
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
111
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
112
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
113
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
114
note
 ชุดนี้ยงั ไม่เคยติดตัง้ hdd sata back 4gb มีของขายแล้ว
 เป็ นการมองภาพในอนาคตทีส่ ามารถทาได้ทนั ในวันนี้ โรงเรียนไหนจะทาโรงเรียนแรก
เรียนเชิญได้เลยครับ
 ผมมี know how ready to help soon.
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
115
What content do we have
 Samba
 http://school.cned/moodle154/
 http://school.cned/elearn/
 http://school.cned/elearn55/
 http://school.cned/preschool/
 http://school.cned/primary/
 http://school.cned/secondary/
 http://school.cned/vocation/
 http://school.cned/edltv116/
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
116
255605150422+dell poweredge
t610+4+4+4tb black
prachoom rangkasikorn prachoom model 0815134770 [email protected]
117
Scarica

dell poweredge t610 prepare create to cned school server