920 likes | 1.08k Vues
How to setup cned school server on ibm x3400 m2+2tbx2 green. Prachoom rangkasikorn Presents Picture from thailand Thayang phetchaburi. What content in this present. Setting hareware How to create hdd master How to setup cned school server
E N D
How to setup cned school server on ibm x3400 m2+2tbx2 green Prachoomrangkasikorn Presents Picture from thailand Thayangphetchaburi prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
Setting hardware prachoom rangkasikorn thailand phetchaburi thayang
What content do we put in it? General 600gb Preschool 41gb Primary 988gb Dltv52 Secondary 591gb Vocation 188gb prachoom rangkasikorn thailand phetchaburi thayang
Docking station “oker” 300 total prachoom rangkasikorn thailand phetchaburi thayang
How to manage hdd destination • Partition table type gpt • Mkfs.ext4 /dev/sd.. • E2fsck –f /dev/sd.. • Do them until finished all them prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
Ext3 • Start 0 • End 100mb • Mkpart 2 • Ext3 • Start 100mb • End 20.1gb • Mkpart 3 • ext3 prachoom rangkasikorn thailand phetchaburi thayang
Start 20.1gb • End 24.1gb • Mkpart 4 • Ext3 • Start 24.1gb • End 34.1 gb • Mkpart 5 • Ext3 • Start 34.1gb • End 2000gb prachoom rangkasikorn thailand phetchaburi thayang
Q • Mkfs.ext4 /dev/sda4 • E2fsck –f /dev/sda4 • Mkfs.ext4 /dev/sda5 • E2fsck –f /dev/sda5 • Reboot • Menu choose 2 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
Click right, click konsole prachoom rangkasikorn thailand phetchaburi thayang
Text mode prachoom rangkasikorn thailand phetchaburi thayang
close selinux • root/123456 • vi /etc/selinux/config • edit SELINUX=enforcing to • SELINUX=disabled • :wq • reboot • root/123456 prachoom rangkasikorn thailand phetchaburi thayang
mkdir for script • mkdir /a • mkdir /aa • mkdir /school • mkdir /school/log • mkdir/school/webmaster • mkdir /schoolhd2 • mkdir /schoolhd3 prachoom rangkasikorn thailand phetchaburi thayang
how to e2label • e2label /dev/sdc5 log • e2label /dev/sda5 webmaster • e2label /dev/sdc6 schoolhd2 • e2label /dev/sdb1 schoolhd3 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
how to check fstab • #df <can see /school/log, /school/webmaster, /schoolhd2, /schoolhd3> ok good • if not see all or some thing , check spell alfabet • or check e2label anytime • reboot • root/123456 • #df <see all ok> prachoom rangkasikorn thailand phetchaburi thayang
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> prachoom rangkasikorn thailand phetchaburi thayang
how to setup scriptfc11.4 • root/123456 • cd setupfc11.4 • ./setup • ./net-reset • reboot • root/123456 • cd setupfc11.4 • ./net-setup • reboot prachoom rangkasikorn thailand phetchaburi thayang
how to check setupfc11.4 • root/123456 • ifconfig • look eth0=192.168.10.1, eth1=192.168.1.8 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang
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 prachoom rangkasikorn thailand phetchaburi thayang