1 / 81

PRACHOOM RANGKASIKORN PRESENTS

PRACHOOM RANGKASIKORN PRESENTS. How to setup cned school server udate bandanngo school on asus p5kpl-am/ps hdd sata green western 2tbx2. Picture from thailand Thayahg phetchaburi. Hardware set CASE. Powersupply enermax. Mainboard. cpu. Ram 1gbx2.

abla
Download Presentation

PRACHOOM RANGKASIKORN PRESENTS

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. PRACHOOM RANGKASIKORNPRESENTS How to setup cned school server udate bandanngo school on asus p5kpl-am/ps hdd sata green western 2tbx2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  2. Picture from thailand Thayahg phetchaburi cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  3. Hardware setCASE cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  4. Powersupply enermax cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  5. Mainboard cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  6. cpu cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  7. Ram 1gbx2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  8. Plus lanpcitp-link tg-3269 or tg-3468+1050baht cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  9. สายแพรซาต้า cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  10. Hdd sata with content no1, 2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  11. Hardcopy hdd no1,2 before copy parted ,sda1,sdb1,mkfs.ext4,e2fsck –f .. cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  12. What OS that we used • Fedora11-64 bit • Scriptsetup setupfc11.4 • hdd master 2 total no1,2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  13. ขั้นตอนการติดตั้ง • เป็นการนำ 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.com+bandanngo school

  14. 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.com+bandanngo school

  15. Creat folder for scriptsetupfc11.4 • Mkdir /schoolhd2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  16. e2label • e2label /dev/sda4 log • e2label /dev/sda5 webmaster • e2label /dev/sdb1 schoolhd2 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  17. 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 • :wq cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  18. how to see partition hdd • reboot/123456 • df <can see /school/log, /school/webmaster, /schoolhd2> cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  19. 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.com+bandanngo school

  20. 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.com+bandanngo school

  21. What content did we have? • sda5 have preschool=41gv, primary=988gb,gerneral=600 gb • sdb1 = dltv52=831gb ,edltv_sec=591gb,edltv_voc=188gb cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  22. mkdir for mount 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 chown –R 1000:1000 /school/webmaster/ftp/dltv/dltv52 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  23. How to setup rc.local • vi /etc/rc.local • plus lin below • mount –bind /schoolhd2/edltv_sec /school/webmaster/web/secondary • mount –bind /schoolhd2/edltv_voc /school/webmaster/web/vocation • mount –bind /schoolhd2/dltv52 /school/webmaster/ftp/dltv/dltv52 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  24. rc.local • mount –bind /schoolhd2/edltv_sec /school/webmaster/web/secondary • mount –bind /schoolhd2/edltv_voc /school/webmaster/web/vocation • :wq enter cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  25. 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 • ok every folder have content and correct chown,chmod cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  26. How to 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 from user where user=“”; • delete from user where user=“root”; cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  27. How to 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.com+bandanngo school

  28. How to restore mysqlhttp://school.cned/ cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  29. http://school.cned/phpMyAdmin/ cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  30. phpadmin/phpadmin123 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  31. cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  32. add news user cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  33. moodle154 /moodle154 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  34. user moodle154 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  35. choose specifig privileges action cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  36. check all cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  37. show privileges that choose cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  38. successful cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  39. add new user cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  40. elearn/elearn123 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  41. elearn cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  42. specific privileges cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  43. check all cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  44. finished cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

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

  46. elearn55/elearn55 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  47. elearn55 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

  48. specifig privileges cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

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

  50. preshool/preschool123 cned school server prachoom rangkasikorn 081-5134770 prachum.sornor@gmail.com+bandanngo school

More Related