I want to learn how to develop apps for SharePoint. I created a new developer site collection. When I try to install NAPA I get the following message "Sorry this app is not supported on your server." I looked it up and the problem was that I don't have Office 365 in my server. I have license for office 2013 professional but, I am not sure it will work using it. I need help with Office 365 configuration on Windows Server 2012 R2 and how to connect it to my SharePoint. I am not sure how to install it and where. If it could be done using office 2013 it would be great. I am sorry if this is off topic.
Office 365 is a cloud offering, you don't install it anywhere local. Subscription options can be found here.