DigitalOcean Droplets – Debian Install

Look people – This is a bare bones debian install – to get a webserver going…(or basically anything installed)

After logging in with ‘admin’ and your private key via SSH

sudo nano /etc/apt/source.list

deb http://http.debian.net/debian wheezy main 
deb-src http://http.debian.net/debian wheezy main

deb http://security.debian.org/ wheezy/updates main 
deb-src http://security.debian.org/ wheezy/updates main

deb http://http.debian.net/debian wheezy-updates main 
deb-src http://http.debian.net/debian wheezy-updates main

 

You will have to update missing sw sources to the above.
Then;

 

sudo apt-get update 
sudo apt-get install tasksel #key install sw for complex installs

 

Then; Set up a webserver.

sudo tasksel install web-server 
sudo apt-get install build-essential php5-dev php5-gd php-pear

 

#make the webserver start on boot via remote control file

sudo update-rc.d apache2 defaults

 

#Personally I cannot function with out the locate command!

sudo apt-get install locate

 

then

sudo updatedb #update the directory database

 

anyway that should help a lot in getting many setup to use the service!