2. What content in this present.
Setting hareware
How to create hdd master
How to setup cned school server
How to hardcopy by use docking station “oker”
How to restore mysql
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
4. What content do we put in it?
General 600gb
Preschool 41gb
Primary 988gb
Dltv52
Secondary 591gb
Vocation 188gb
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
5. Docking station “oker” 300 total
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
6. How to manage hdd destination
Partition table type gpt
Mkfs.ext4 /dev/sd..
E2fsck –f /dev/sd..
Do them until finished all them
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
7. Hardcopy oker 300 total
7 hours 300+300=300 , 150 group
7 hours=150 group
7 hours=150group
1 day 450 group, 5 days=2250 group
10 days=22500group
20 days=45000group
100days=2250000 group
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
8. How long to setup cned school
server
1 man use time setup 30 minute , 6 hours=12 group
1 man 5 days 60group
10 man 5days 600group
100 man 5 days 60000 group
200 man 5 days 120000 group
1000 man 5 days 600000 group
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
9. How to setup cned school server
Hdd on controller raid 0 =1500gb
Put dvdfc11-32bit in cdrom drive
Boot to menu
Choose rescue installed system
Sh4.0#parted
Mklabel
Yes
Gpt
Mkpart 1
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
10. Ext3
Start 0
End 100mb
Mkpart 2
Ext3
Start 100mb
End 20.1gb
Mkpart 3
ext3
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
11. Start 20.1gb
End 24.1gb
Mkpart 4
Ext3
Start 24.1gb
End 34.1 gb
Mkpart 5
Ext3
Start 34.1gb
End 2000gb
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
12. Q
Mkfs.ext4 /dev/sda4
E2fsck –f /dev/sda4
Mkfs.ext4 /dev/sda5
E2fsck –f /dev/sda5
Reboot
Menu choose 2
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
13. Case not use parted, use fdisk
#fdisk /dev/sda
/dev/sda1 100mb /boot
/dev/sda2 20gb /
/dev/sda3 4 gb
/dev/sda4 extended
/dev/sda5 10gb
/dev/sda6 1460gb
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
14. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
15. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
16. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
17. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
18. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
19. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
20. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
21. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
22. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
23. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
24. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
25. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
26. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
27. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
28. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
29. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
30. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
31. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
32. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
33. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
34. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
35. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
36. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
37. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
38. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
39. Click right, click konsole
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
40. Text mode
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
41. close selinux
root/123456
vi /etc/selinux/config
edit SELINUX=enforcing to
SELINUX=disabled
:wq
reboot
root/123456
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
42. mkdir for script
mkdir /a
mkdir /aa
mkdir /school
mkdir /school/log
mkdir/school/webmaster
mkdir /schoolhd2
mkdir /schoolhd3
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
43. how to e2label
e2label /dev/sdc5 log
e2label /dev/sda5 webmaster
e2label /dev/sdc6 schoolhd2
e2label /dev/sdb1 schoolhd3
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
44. how to fstab
vi /etc/fstab
plus line following
LABEL=log /school/log ext4 defaults 0 0
LABEL=webmaster /school/webmaster ext4 defaults
0 0
LABEL=schoolhd2 /schoolhd2 ext4 defaults 0 0
LABEL=schoolhd3 /schoolhd3 ext4 defaults 0 0
:wq
reboot
root/123456
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
45. how to check fstab
#df <can see
/school/log, /school/webmaster, /schoolhd2, /schoolh
d3> ok good
if not see all or some thing , check spell alfabet
or check e2label anytime
reboot
root/123456
#df <see all ok>
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
46. how to copy script
one way copy script from cdrom
two way copy scriptfc11.4 from /school/webmaster
cd /school/webmaster
cp –afvu setupfc11.4 /root
cd
df <you can see setupfc11.4>
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
47. how to setup scriptfc11.4
root/123456
cd setupfc11.4
./setup
./net-reset
reboot
root/123456
cd setupfc11.4
./net-setup
reboot
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
48. how to check setupfc11.4
root/123456
ifconfig
look eth0=192.168.10.1, eth1=192.168.1.8
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
49. mkdir for mount directory
root/123456
cd /school/webmaster/web
mkdir secondary
mkdir vocation
chown -R 1000:1000 secondary
chown -R 1000:1000 vocation
cd /school/webmaster/ftp/dltv/
mkdir dltv52
chown -R 1000:1000 dltv52
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
50. how to setting rc.local
vi /etc/rc.lcal
plus line following
mount --bind /schoolhd3/dltv52
/school/webmaster/ftp/dltv/dltv52
mount --bind /schoolhd3/edltv_sec
/school/webmaster/web/secondary
mount --bind /schoolhd3/edltv_voc
/school/webmaster/web/vocation
press esc
:wq
reboot
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
51. how to checking rc.local
root/123456
cd /school/webmaster/web/secondary
see data ok
cd /school/webmaster/web/vocation
see data ok
cd /school/webmaster/ftp/dltv/dltv52
ok
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
52. how create passwd webmaster
root/123456
passwd webmaster
teacher789
teacher789
smbpasswd –a webmaster
teacher789
teacher789
ftp school
webmaster
teacher789
ok see data
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
53. how to create grant user
root/123456
service mysqld stop
/usr/libexec/mysqld --skip-grant-tables &
enter
mysql
use mysql
flush privileges;
select user, host, grant_priv from user;
delete from user where user=‘’;
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
54. how to create grant user(2)
delete from user where user=‘root’;
grant all privileges on *.* to ‘phpadmin’@’localhost’
identified by ‘phpadmin123’ with grant option;
select user, host, grant_priv from user;
<see phpadmin> ok
exit
killall mysqld
service mysqld start
reboot
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
55. how to copy old mysql
root/123456
cd /school/webmaster/mysql_old
cp –afvu * /school/webmaster/mysql
cd
cp –afvu edltv.conf /etc/httpd/conf.d
cp –afvu LSystem.conf /etc/httpd/conf.d
cp –afvu preschool.conf /etc/httpd/conf.d
cp –afvu primary.conf /etc/httpd/conf.d
cp –afvu secondary.conf /etc/httpd/conf.d
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
56. reboot
root/123456
go to clients
open web browser
http://school.cned/phpMyAdmin
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
57. how to restore mysql
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
58. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
59. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
60. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
61. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
62. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
63. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
64. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
65. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
66. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
67. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
68. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
69. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
70. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
71. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
72. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
73. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
74. how to use web and samba
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
75. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
76. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
77. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
78. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
79. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
80. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
81. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
82. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
83. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
84. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
85. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
86. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
87. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
88. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
89. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
90. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
91. note
/schoolhd2 size 1tb we can copy edltv633gb to put in
it
create folder ‘edltv’ in /school/webmaster/web/edltv
mount directory
mount --bind /schoolhd2/edltv
/school/webmaster/web/edltv
we have web edltv m1-6
we can upload data and create active web in the
future.
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
92. saw picture at tawin lotus hotel
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
93. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
94. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
95. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
96. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
97. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
98. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
99. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
100. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
101. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
102. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
103. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
104. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
105. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
106. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
107. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
108. +ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang
109. pictures and music
prachoom rangkasikorn
081-5134770
prachum.sornor@gmail.com
+ibm x
m + tbx red
prachoom rangkasikorn thailand phetchaburi
thayang