Ravi Sir's Cyber Security Cards › Revision Cards
LAMP on Ubuntu
LAMP on Ubuntu LAMP on Ubuntu = Linux + Apache + MySQL + PHP. Install with apt : apache2, mysql-server, php, libapache2-mod-php. On Ubuntu, MySQL root logs in with sudo mysql , not a password. Running random internet commands to set a root password. Not needed. Use sudo mysql, then make a separate u

Read card text
What this card says
What it is
LAMP on Ubuntu = Linux + Apache + MySQL + PHP.
Install with apt: apache2, mysql-server, php, libapache2-mod-php.
Root login
On Ubuntu, MySQL root logs in with sudo mysql, not a password.
Common mistake
Running random internet commands to set a root password. Not needed.
Use sudo mysql, then make a separate user for the app.
Learn more in the lesson: 9.4 LAMP on Ubuntu