= UoL LAMP Server Tags: [[University of Leicester IT]] == Overview The University of Leicester provides LAMP servers with a standard set of services, but some restrictions on what a user can do. The servers sit behind a [[Pound]] proxy. For more information about LAMP servers see the [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Main_Page|UoL LAMP Wiki]]. For advanced management, contact the [[http://www2.le.ac.uk/offices/itservices/about/people/teams/service-delivery/customer-service-operations/it-service-desk|University Helpdesk]]. == Layout All the files that a user requires to change are in the /local directory. This directory contains the perl, python, apache and tomcat config settings and log files. It is also where you must install new libraries for [Python] and [PHP]. This is documented in the [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Main_Page|UoL LAMP Wiki]]. == Backup and Restore The LAMP servers are backed up hourly automatically as part of the LAMP service, although no separate database back up is taken. To restore from a back up, contact the [[mailto://rcs.support@le.ac.uk|RCS Support]]. == Planned Updates Patches and updates will be applied every other Tuesday. Except for emergency security updates which could happen at any time. Some updates will be more disruptive than others and outages are only foreseen a few times a year. We should be warned of any major disruption. == Security - [[UoL LAMP Server Security Statement]] == How To - [[UoL LAMP HowTo Backup Databases to the R drive]] - [[UoL LAMP HowTo Install Python Flask Applications]] - [[UoL LAMP HowTo Deny Access from the Internet]] - [[UoL LAMP HowTo Connect to MySQL Remotely]] - [[UoL LAMP HowTo Connect to a remote LAMP from cron]] === Restart - To restart a service see See [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Main_Page|UoL LAMP Wiki]]. - To restart Apache see [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Apache2|UoL LAMP Wiki Apache documentation]] - We cannot restart the server and must contact the [[http://www2.le.ac.uk/offices/itservices/about/people/teams/service-delivery/customer-service-operations/it-service-desk|University Helpdesk]]. === Getting Help - [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Main_Page|UoL LAMP Wiki]] - [[http://www2.le.ac.uk/offices/itservices/about/people/teams/service-delivery/customer-service-operations/it-service-desk|University Helpdesk]] - [[https://www2.le.ac.uk/offices/itservices/about/people/teams/service-delivery/infrastructure-services|University Infrastructure Services]] - Guy Reay is the ITS Director === Create a New LAMP Server - Contact the [[mailto://rcs.support@le.ac.uk|RCS Support]]. - There is no cost implication. === Add a New DNS Entry for a LAMP Server catissue-dev.lcbru.le.ac.uk - Contact the [[mailto://rcs.support@le.ac.uk|RCS Support]]. === Enable / Disable Access from the Internet [[AskNick]] === Get and Install a certificate 1. Certificates are installed on the [[Pound]] server. 2. To set a site up with SSL, contact the [[mailto://rcs.support@le.ac.uk|RCS Support]]. === Login from Outside the University 1. ssh to [[spectre.le.ac.uk]] using university username and password 2. From there you can ssh on to the appropriate LampServer == Send Email from a LAMP server 1. Should send mail using their own [[Postfix]] installation (i.e. localhost). 2. Alternatively, use {{{mailsend.le.ac.uk}}} as a relay, but this requires a valid account. == Gotchas - The [[Pound]] proxy messes up [[Apache]]'s logging. A fix is detailed in the [[https://wiki.lamp.le.ac.uk/lampdoc/index.php/Main_Page|UoL LAMP Wiki]]. [[BackLinks()]]