I am running a tor relay on my desktop (Ubuntu 14.04) as well as using the tor browser to access the internet myself. I would like to host a web site using apache on the same computer. Are there any risks in doing this? Will the relay or my web browsing be compromised?
Running a Tor relay, a Tor Browser and a web server on the same host does not make either of them more vulnerable or identifiable. But running a relay means that your IP is publicly advertised, which could get any internet-facing service on your host more 'attention' than it would get otherwise.