1.11k likes | 1.21k Views
prachoom rangkasikorn. presents. How to Create prachoom school server 60 group/five days by “ameba theory”. Photo from thailand Thayang phetchaburi. Question. if we want to do server hdd 2tb 3total , 60 group ,finished in five days , with content 4xxxgb , how to do them?
E N D
prachoom rangkasikorn presents
How to Create prachoom school server 60 group/five days by “ameba theory” • Photo from thailand • Thayangphetchaburi prachoom model,prachoom rangkasikorn, 081-5134770
Question • if we want to do server hdd 2tb 3total , 60 group ,finished in five days , with content 4xxxgb , how to do them? • what method can we do them? • what factor that we can do finished. prachoom model,prachoom rangkasikorn, 081-5134770
objective • Show how to create prachoom school server with ameba theory 60group/five days • Can we do it? how to do? • Show setup by hardcopy oker about 30 total prachoom model,prachoom rangkasikorn, 081-5134770
Hardware 60 totalx19000baht • Set computer 60 total/groups prachoom model,prachoom rangkasikorn, 081-5134770
How much is cost one group? • Case 2200 baht • Powersupply winner 750full 1950 baht • Ram hyper ddr3 1600 4gbx2 1890 baht • Cpuamdathlon llx3 455 3.3ghz 2200 baht • Hddsata 2tb green 2850x3=8550 baht • Lantp-link tg3269 1050 baht • Dvdromrwide 400 baht • Total 18240 baht prachoom model,prachoom rangkasikorn, 081-5134770
Docking station “oker” 30 total prachoom model,prachoom rangkasikorn, 081-5134770
Harddisk master 3 total with content Dltv52=831gb Edltv_sec=591gb Edltv_voc=188gb =1610gb General=600gb Preschool=41gb Primary=988gb =1629gb Dltv53p=1175gb Dltv53m=365gb =1537gb prachoom model,prachoom rangkasikorn, 081-5134770
How to manage hdd 60x3=180total • Partition table type gpt • Create on partition sda1 • mkfs.ext4 /dev/sda1 • e2label -f /dev/sda1 • do same with 180 total prachoom model,prachoom rangkasikorn, 081-5134770
how to hard copy 7 hours =6 total 7 hours=12total 7 hours 24total prachoom model,prachoom rangkasikorn, 081-5134770
7 hours=30+18 total show 28 hours=30+18 total day second can setup two computer prachoom model,prachoom rangkasikorn, 081-5134770
7hours=30+30 7hours=30+30 7hours=30+30 7hours=30+30 7hours=30+30 show day three can setup computers show that in five day can do server 60 tatal finished. prachoom model,prachoom rangkasikorn, 081-5134770
how to setup prachoom school server • in day two , let’s hdd 18 total to setting in their case • six group ready to setup fc11-64bit • 7 hours later there are 10 com ready to setup • 7 hours later there are 10 com ready to setup • 7 hours later there are 10 com ready to setup • 7 hours later there are 10 com ready to setup • 7 hours later there are 10 com ready to setup prachoom model,prachoom rangkasikorn, 081-5134770
How long do they setup one group? • One person setting about 30 minutes /anyone, 6hoursx2=12 group / one day • 60group /12= 5 person ,they can setup finish in 5 days , there are imposible that we can create prachoom school server finished in 5 days prachoom model,prachoom rangkasikorn, 081-5134770
what os do we setup • dvdfc11-64bit • scriptsetup setupfc11.4 • moodle154 • moodle1912 prachoom model,prachoom rangkasikorn, 081-5134770
what content there are in server • hdd 1=general 600gb, preschool=41gb, primary=988gb, • hdd2 = dltv52=831gb, edltv_sec=591gb, edltv_voc=188gv • hdd3= dltv53p+dltv53m=1537gb prachoom model,prachoom rangkasikorn, 081-5134770
step to setup on three partition first prachoom model,prachoom rangkasikorn, 081-5134770
disc found skip prachoom model,prachoom rangkasikorn, 081-5134770
next prachoom model,prachoom rangkasikorn, 081-5134770
what language english(english) prachoom model,prachoom rangkasikorn, 081-5134770
keyboard U.S.English prachoom model,prachoom rangkasikorn, 081-5134770
mount point ,/dev/sda1 /boot ext3, /dev/sda2 / ext4 ,/dev/sda3 swap prachoom model,prachoom rangkasikorn, 081-5134770
how to close SELINUX • root/123456 • vi /etc/selinux/config enter • edit line following • SELINUX=disabled • :wq • reboot • root/123456 prachoom model,prachoom rangkasikorn, 081-5134770
how to create folder for scripts • mkdir /a • mkdir /aa • mkdir /b • mkdir /bb • mkdir /school • mkdir /school/log • mkdir /school/webmaster • mkdir /schoolhd2 • mkdir /schoolhd3 prachoom model,prachoom rangkasikorn, 081-5134770
how to e2label • e2label /dev/sda4 log • e2label /dev/sda4 webmaster • e2label /dev/sda4 schoolhd2 • e2label /dev/sda4 schoolhd3 prachoom model,prachoom rangkasikorn, 081-5134770
how to fstab • vi /etc/fstab • plus line below • LABEL=log /school/log ext4 defaults 0 0 • LABEL=webmaster /school/webmaster ext4 defaults 0 0 • LABEL=schoolhd2 /schoolkhd2 ext4 defaults • LABEL=schoolhd3 /schoolhd3 ext4 defaults 0 0 • :wq • reboot • root/123456 • df <can see /school/log, /school/webmaster, /schoolhd2, schoolhd3> prachoom model,prachoom rangkasikorn, 081-5134770
how to setup setupfc11.4 • cp –R setupfc11.4 /root • cd setupfc11.4 • ./setup • ./net-reset • reboot • root/123456 • cd setupfc11.4 • ./net-setup • reboot • root/123456 prachoom model,prachoom rangkasikorn, 081-5134770
how to check config • ifconfig enter • <can see eth0=192.168.10.1 , eth1=192.168.1.8> prachoom model,prachoom rangkasikorn, 081-5134770
how to create passwdwebmasdter and smbwebmaster • root/1323456 • passwd webmaster • teacher789 • teacher789 • smbpasswd –a webmaster • teacher789 • teacher789 • ftp school • webmaster/teacher789 • ftp>ls <see ftp web ..> prachoom model,prachoom rangkasikorn, 081-5134770
how to create grant user • root/123456 • service mysqld stop • /usr/libexec/mysqld –skip-grant-table & • mysql • use mysql • flush privileges; • select user, host, grant_priv from table; • delete from user where user=‘’; • delete from user where user=‘root’; prachoom model,prachoom rangkasikorn, 081-5134770
how to create grant user • select user, host, grant_priv from user; <empty user> • grant all privileges on *.* to ‘phpadmin’@’localhost’ identified by ‘phpadmin123’ with grant option; • select user, host, grant_priv from user; <you can see > prachoom model,prachoom rangkasikorn, 081-5134770
how to restore mysql prachoom model,prachoom rangkasikorn, 081-5134770