1 / 87

How to setup cned school server

How to setup cned school server Pc arsock 880gb-lefx +ram hyper 4gb ddr3 1600 +cpu amd athlon ll x3 455 3.3ghz Hdd sata 2tb 4 total. Hardware set. Winner 750 w full. Mainboard arsock 880gb-le fx. Strong case can put hdds. Mainboard lan on rtl realtek 8xxx. Winner 750 w full important.

jafari
Download Presentation

How to setup cned school server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to setup cned school server Pc arsock 880gb-lefx +ram hyper 4gb ddr3 1600 +cpu amd athlon ll x3 455 3.3ghz Hdd sata 2tb 4 total cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  2. Hardware set cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  3. Winner 750 w full cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  4. Mainboard arsock 880gb-le fx cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  5. Strong case can put hdds cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  6. Mainboard lan on rtl realtek 8xxx cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  7. Winner 750 w full important cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  8. CPU cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  9. cpu cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  10. Kingtonhiyper 4gb ddr3 1600 2total cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  11. Ram ddr3 4gb 2total cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  12. Plus lanpcitp-link tg-3269 or tg-3468 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  13. สายแพรซาต้า cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  14. Hdd sata with content no1, 2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  15. Hdd sata 2tb no3, 4 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  16. แสดงการติดตั้งในตำแหน่งบน-ล่าง 1 2 3 4 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  17. OS that we used • fedora11 64 bit • scriptsetupfc11.4 • hdd master 4 total no1,2,3,4 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  18. ขั้นตอนการติดตั้ง • เป็นการนำ hddที่มี content อยู่แล้วมาติดตั้งในร่างใหม่ • ใส่ dvdrom drive external pass usb • Open computer find that can run old os fc11 • Close selinux • Root/123456 • Vi /etc/selinux/config enter • Edit SELINUX=enforeing to SELINUX=disabled • :wq cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  19. Creat folder for scriptsetupfc11.4 • reboot/123456 • mkdir a • Mkdiraa • Mkdir b • Mkdir bb • Mkdir /school • Mkdir /school/log • Mkdir /school/webmaster cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  20. Creat folder for scriptsetupfc11.4 • Mkdir /schoolhd2 • Mkdir /schoolhd3 • Mkdir /schoolhd4 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  21. e2label • e2label /dev/sda4 log • e2label /dev/sda5 webmaster • e2label /dev/sdb1 schoolhd2 • e2label /dev/sdc1 schoolhd3 • e2label /dev/sdd1 schoolhd4 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  22. fstab • vi /etc/fstab enter • plus line below press I • LABEL=log /school/log ext4 defaults 0 0 • LABEL=wemaster /school/webmaster ext4 defaults 0 0 • LABEL=schoolhd2 /schoolhd2 ext4 defaults 0 0 • LABEL=schoolhd3 /schoolhd3 ext4 defaults 0 0 • LABEL=schoolhd4 /schoolhd4 ext4 defaults 0 0 • :wq cned school server prachoomrangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  23. how to see partition hdd • reboot/123456 • df <can see /school/log, /school/webmaster, /schoolhd2, /schoolhd3, /schoolhd4> cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  24. copy scriptfc11.4 and setup • cd /school/webmaster • rm –rfmysql • cd • put dvdscriptfc11.4 to dvdromdrive • cp –R setupfc11.4 to /root • cd setupfc11.4 • ll • ./setup • ./net-reset • reboot • root/123456 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  25. copy scriptfc11.4 and setup • cd setupfc11.4 • ./net-setup • reboot • root/123456 • cd /school/webmaster • test networking • #ifconfig enter • can see eth0=192.168.10.1 , eth1=192.168.1.8 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  26. What content did we have? • sda5 have edltv=633,gerneral=600 gb • sdb1 = dltv53p,dltv53m=1537gb • sdc1=dltv52=831gb, eltv_sec=591gb,vocation=188gb • sdd1=preschool=41gb, primary=988gb cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  27. mkdir for mont directory • mkdir /school/webmaster/web/secondary • mkdir /school/webmaster/web/vocation • chown –R 1000:1000 /school/webmaster/web/secondary • chown –R 1000:1000 /school/webmaster/web/vocation • mkdir /school/webmaster/ftp/dltv/dltv52 • mkdir /school/webmaster/ftp/dltv/dltv53p cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  28. mkdir for mount directory • mkdir /school/webmaster/ftp/dltv/dltv53m • chown –R 1000:1000 /school/webmaster/ftp/dltv/ • mkdir /school/webmaster/web/preschool • mkdir /school/webmaster/web/primary • chown –R 1000:1000 /school/webmaster/web/preschool • chown –R 1000:1000 /school/webmaster/web/primary cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  29. rc.local • vi /etc/rc.local • plus lin below • mount –bind /schoolhd2/p /school/webmaster/ftp/dltv/dltv53p • mount –bind /schoolhd2/m /school/webmaster/ftp/dltv/dltv53m • mount –bind /schoolhd3/dltv52 /school/webmaster/ftp/dltv/dltv52 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  30. rc.local • mount –bind /schoolhd3/edltv_sec /school/webmaster/web/secondary • mount –bind /schoolhd3/edltv_voc /school/webmaster/web/vocation • mount –bind /schoolhd4/web/preschool /school/webmaster/web/preschool • mount –bind /schoolhd4/web/primary /school/webmaster/web/primary • :wq enter cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  31. check chown chmod • root/123456 • cd /school/webmaster/web/preschool • cd /school/webmaster/web/primary • cd /school/webmaster/web/secondary • cd /school/webmaster/web/vocation • cd /school/webmaster/ftp/dltv/dltv52 • cd /school/webmaster/ftp/dltv/dltv53p • cd /school/webmaster/ftp/dltv/dltv53m • ok every folder have content and correct chown,chmod cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  32. create grant user • service mysqld stop • /usr/libexec/mysqld --skip-grant-tables & • mysql enter • use mysql enter • flush privileges; • select user, host, grant_priv from user: • delete for user where user=“”; • delete for user where user=“root”; cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  33. create grant user (2) • select user, host, grant_priv from user; • can see empty • grant all privileges on *.* to ‘phpadmin’@’localhost’ identified by ‘phpadmin123’ with grant option; • select user, host, grant_priv from user; • we can see user phpadmin ok finish • reboot enter cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  34. restore mysqlhttp://school.cned/ cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  35. http://school.cned/ cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  36. phpadmin/phpadmin123 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  37. cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  38. add news user cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  39. moodle154 /moodle154 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  40. user moodle154 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  41. choose specifig privileges action cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  42. check all cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  43. show privileges that choose cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  44. successful cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  45. add new user cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  46. elearn/elearn123 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  47. elearn cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  48. specific privileges cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  49. check all cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

  50. finished cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com111+nikom school

More Related