Page 54 - 3-8DSpace
P. 54

47

                       คำสั่ง :  sudo nano /etc/apache2/sites-available/000-default.conf

                       หลังจากที่ใส่คำสั่งแล้วจะต้องทำการเพิ่มคำสั่งไปในไฟล์ ดังนี้

                              ServerAdmin test@rmutp.ac.th

                              ServerName repo.rmutp.ac.th

                               ServerAlias www.repo.rmutp.ac.th

                              ProxyPass /ignored_path !
                                 ProxyPass / ajp://localhost:8009/

                              ProxyPassReverse / ajp://localhost:8009/























                      ภาพที่ 4-53  แสดงการใส่รายละเอียดเพิ่มให้กับไฟล์ 000-default.conf ของระบบ DSpace



                       หลังจากที่ทำการเพิ่มคำสั่งในไฟล์ default-ssl.conf และ 000-default.conf เรียบร้อยแล้วให้ทำ

               การใส่คำสั่งดังต่อไปนี้

                              คำสั่ง :  sudo a2ensite default-ssl.conf

                              คำสั่ง :  sudo a2enmod proxy

                              คำสั่ง :  sudo service apache2 restart

                              คำสั่ง :  sudo a2enmod proxy_http

                              คำสั่ง :  sudo a2enmod proxy_ajp
                              คำสั่ง :  sudo a2enmod rewrite



               ระบบคลังปัญญา DSpace                                 สำนักวิทยบริการและเทคโนโลยีสารสนเทศ มทร.พระนคร
   49   50   51   52   53   54   55   56   57   58   59