Debian Webserver, How to setup

February 12, 2015 827 views

I am setting up a Webserver using Debian. I am a beginner so I have installed LAMP. How do I move forward? How do I upload my files? Can I use FTP or how do I uploud it?

I used the guide on Digitalocean to setup LAMP.

Thanks for helping!

2 Answers

All droplets have SFTP enabled by default and this can be used to transfer files to your droplet. This guide will help you get started.

If you use your "root" user account with SFTP you will start out in the /root directory. By default, Apache on Debian 7 places the web root in /var/www

by Pablo Carranza
This article will teach you how to use Filezilla to transfer and manage files securely on your VPS.

Thank you for your answer, you helped me!

I am installing phpmyadmin to link myphp website with the database. I dont know how to do on the "Create the htpasswd file" in the guide

sudo htpasswd -c /path/to/passwords/.htpasswd username

What do I need to edit for my server?

Thanks! :)

by Adam LaGreca
This tutorial covers installing phpMyAdmin on a LAMP stack. Additionally it includes the steps on how to secure it with the .htaccess file. phpMyAdmin is a free web software to work with MySQL on the web, providing a convenient visual front end to the MySQL capabilities.
Have another answer? Share your knowledge.