Debian LAMP Stretch: Difference between revisions

From Braindisconnect
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
Install Debian with SSH server
Install Debian with SSH server


  apt update && apt upgrade
From the console:
  apt install net-tools
 
Get IP address with ifconfig and ssh to machine as user
ifconfig
 
su to root
su -
 
Prep for Webmin
echo "deb https://download.webmin.com/download/repository sarge contrib " > /etc/apt/sources.list.d/webmin.list
wget http://www.webmin.com/jcameron-key.asc && apt-key add jcameron-key.asc
apt-get install apt-transport-https && apt update && apt upgrade
 


Install LAMP plus utilities
Install LAMP plus utilities


  apt install htop iftop net-tools open-vm-tools apache2 apache2-utils mariadb-server mariadb-client php7.0 libapache2-mod-php7.0 php7.0-mysql php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-readline
  apt install htop iftop open-vm-tools apache2 apache2-utils mariadb-server mariadb-client php7.0 libapache2-mod-php7.0 php7.0-mysql php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-readline


Reboot the server
Reboot the server

Revision as of 14:53, 24 March 2019

Install Debian with SSH server

From the console:

apt install net-tools

Get IP address with ifconfig and ssh to machine as user

ifconfig

su to root

su -

Prep for Webmin

echo "deb https://download.webmin.com/download/repository sarge contrib " > /etc/apt/sources.list.d/webmin.list
wget http://www.webmin.com/jcameron-key.asc && apt-key add jcameron-key.asc
apt-get install apt-transport-https && apt update && apt upgrade


Install LAMP plus utilities

apt install htop iftop open-vm-tools apache2 apache2-utils mariadb-server mariadb-client php7.0 libapache2-mod-php7.0 php7.0-mysql php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-readline

Reboot the server

Secure the DB

mysql_secure_installation