====== Setting up a webserver from scratch ====== See the [[start|home page]] for the date of our next event. We run regular monthly events aimed at teaching how to create a webserver from scratch as part of our [[Practical Linux Tutorial]] using [[wp>AWS]], [[wp>Ubuntu]], [[wp>Apache]], [[wp>PHP]] & [[wp>MySQL]]. We generally run these on the third Tuesday every month. We'll take you through: - Setting up your Amazon Web Services account. - Installing an Ubuntu Linux server. - Securely connecting to your new server - Installing the web server software (Apache) - Configuring PHP/MySQL - Creating a basic webpage Since this event repeats monthly you might want to continue where you left off the last time or you might want to try installing any software you are interested in (like Wordpress, Dokuwiki, Pleroma or any new projects you'd like to try out) just let us know and we'll help you get them set up. ===== Step-by-step guide ===== Following these steps will help you set up a new Ubuntu web server (apache2) and database (MySQL) on an Amazon EC2 virtual machine. * **1)** [[Guides/Webserver/Part1|Webserver Part 1: Setting up an Amazon EC2 instance]] (how to use AWS to create an EC2 instance) * **2)** [[Guides/Webserver/Part2|Webserver Part 2: Setting up]] - How to set up your webserver and database as well as PHP and Adminer * **3)** [[Guides/Webserver/Part3|Webserver Part 3: Hello World]] - Your first hello world program (and how to set file permissions and create your first file) * **4)** [[Guides/Webserver/Part4|Webserver Part 4: Editing files]] - Editing files (how to set up Notepad++ and access your EC2 files) * **5)** [[Guides/Webserver/Part5|Webserver Part 5: Basic Form]] - An example of a basic HTML form. * **6)** [[Guides/Webserver/Part6|Webserver Part 6: What's Next]] - Have a look at the options on what to do next