1
การติดตั้ง Server For Web Module การติดตั้ง Internet Information Services (IIS) และ Application Development Features
1. ส ำหรับ Windows 8.1 ติดต้ัง .Net Framework 4.0 หรือ 4.5 (ถ้าเป็น Windows 2008 Server ให้ติดตั้ง เฉพาะ .Net Framework 4.0 เท่านั้น)
เลือก Internet Information Services
2
ที่ Application Development Features ให้เลือก .NET 3.5 & .NET 4.5 , ASP , ASP .NET
3
2. ส ำหรับ Windows Server 2012 เลือก Application Server เลือกติดต้ัง .Net Framework 4.0 หรือ 4.5
เลือก Web Server (IIS)
4
ที่ Application Development Features ให้เลือก .NET 3.5 & .NET 4.5 , ASP , ASP .NET
5
3. Windows 8.1 64 bit ที่ Internet Information Services (IIS) Manager ที่ Application Pools
เลือก Enable 32-Bit Applications เป็น True และเลือก Managed Pipeline Mode เป็น Classic
6
4. Windows Server 2012 64 bit ที่ Internet Information Services (IIS) Manager ที่ Application Pools
เลือก Enable 32-Bit Applications เป็น True และเลือก Managed Pipeline Mode เป็น Classic
7
5. ที่ Server ติดต้ัง Access Database Engine (แนะน า AccessRuntime_x86_en-us)
หรือ หรือ
6. ที่ Server ติดต้ัง 1]CRforVS_redist_install_64bit_13_0
ส ำหรับ Server 64 bit
ติดต้ัง 2]CRforVS_redist_install_32bit_13_0
ส ำหรับ Server 32 bit ข้อแนะน า ส ำหรับตัวติดต้ัง 3]CRforVS_clickonce_13_0[Support Pack 0] 4]CRforVS_clickonce_13_0_10[Support Pack 10] ถ้ำทดสอบ Server แล้วสำมำรถท ำงำนได้ให้ข้ำมขั้นตอนติดตั้ง รำยกำร 3 กับ 4 แต่ถ้าทดสอบ Server แล้วไม่ผ่านให้ติดตั้งทั้ง 4 ตัว ทั้ง 32 และ 64 bit
7. ตรวจสอบที่ Server เพิ่มฟอนต์ไทยสำรบัญ และได้ติดตั้งโปรแกรมอ่ำนไฟล์ประเภท pdf หรือยัง
8 สร้างโฟลเดอร์ TempImageFiles
8. ที่ Server สร้ำงโฟลเดอร์ TempImageFiles ไว้ที่ C:\
9. ก ำหนด Permission ให้ IIS_IUSRS และ Users มีสิทธิ์เป็น Full Control ที่โฟลเดอร์ TempImageFiles คลิก Mouse ขวำที่โฟลเดอร์ TempImageFiles แล้วเลือก Properties
9
10. ที่หน้ำต่ำง TempImageFiles Properties ตรง Attributes ให้คลิกออก แล้วเลือก Apply
11. เลือกไปที่ Tab Security
10
12. ที่ Group or user names ให้เลือก Users แล้วเลือก Edit…
13. ที่ Permissions For Users เลือกเป็น Full control
11
14. Add IIS_IUSRS เข้ำมำให้เลือกที่ Add…
เลือก Advanced…
เลือก Find Now
12
15. ที่ Search results ให้เลือกที ่IIS_IUSRS แล้ว
เลือก
ที่ Group or user names ให้เลือก IIS_IUSRS
13
16. เมื่อเลือก IIS_IUSRS ที่ Permissions of IIS_IUSRS ให้เลือกเป็น Full control แล้วเลือก Apply
แล้วเลือก เพื่อออกจำกหน้ำต่ำง TempImageFiles Properties
14
การสร้างฐานข้อมูลส าหรับ BookMark2551 และ Semester2551 On Web 1. ที่โปรแกรม Secondary’56 ตรวจสอบปีกำรศึกษำ และภำคเรียนที่จะสร้ำงฐำนข้อมูล แล้วเลือกไปที่
วัดผลรวม
15
2. ที่วัดผลรวม เมนู 4.ผลกำรเรียนรำยภำค > 5.BookMark & Semester On Web
3. ต้องกำรสร้ำงฐำนข้อมูล ให้เลอืกที่ปุ่ม
16
4. ไฟลจ์ะถูกสร้ำงไว้ที่ C:\Student2551V3
หมายเหต ุไฟล์ที่จะต้องน ำไปวำงบนเวบไซต์
- Semesterweb.accdb - SchoolLicense.txt
การน า Code ไปวางบน Server และการ Convert to Application
17
1. ดำวน์โหลด Code ส ำหรับดูผลกำรเรียนมำ เมื่อ Extract ออกมำจะได้โฟลเดอร์ BookMark2551 และ Semester2551
2. ที่ Server ให้น ำโฟลเดอร์ BookMark2551 และ Semester2551 ที่ได้ไปวำงที่ inetpub\wwwroot
3. น ำ License และไฟล์ที่จำกกำรสร้ำงฐำนข้อมูล มำวำงที่โฟลเดอร์ BookMark2551 และ Semester2551 (Semesterweb.accdb และ SchoolLicense.txt)
18
4. ที่ Internet Information Services (IIS) Manager เลือกโฟลเดอร์ BokkMark2551 ให้ตรวจสอบ Permissions
ต้องมี Users และให้ Add IIS_IUSRS และก ำหนดสิทธิ์ให้เป็น Full Control
19
5. ที่ Internet Information Services (IIS) Manager เลือกโฟลเดอร์ BookMark2551 คลิก Mouse ขวำ แล้วเลือก Convert to Application
จะปรำกฏหน้ำต่ำง Add Application ให้เลือก Select…
ที่ Application pool ให้เลือก .NET v4.0 หรือ .NET v4.5
20
6. เมื่อเรียบร้อยแล้วให้เลือก OK
ทดสอบเวบให้เลือก Browse
7. จะเข้ำหน้ำต่ำงเวบไซต์ หรือทดสอบเรียนเข้ำตำม URL ของโรงเรียน
หมำยเหตุ ส ำหรับโฟลเดอร์ Semester2551 ให้ท ำแบบเดียวกัน
21 ถ้ามีปัญหาหรือข้อสงสัยการใช้งาน Module Web หรือ Server ติดต่อได้ที่
นำยพิธพงศ์ ยิ้มเปรม (ครูหนึง่) Tel : 0968428155 e-mail : [email protected] Line ID : pitapong.yim
นำยยวน ช้ำงใหญ ่(ครูยวน) Tel : 0929352954 e-mail : [email protected] Line ID : changyaisoft