Comandos utilizados por orden:
apt -get update
apt-get install apache2
apt-get install mysql-server
mysql_secure_installation
apt-get install php php-pear php-mysql
apt-get install phpmyadmin
nano /etc/apt/sources.list
deb http://repo.mongodb.org/apt/debian jessie main
apt -get update
apt-get install mongodb
mongo --version
mongo
Espero que les haya servido de ayuda, Gracias !