Jump to Navigation

041 - How to install MySQL on ubuntu/debian

Before installation, make sure your package management tools are up-to-date. Also make sure you install all
the latest software available.

# sudo apt-get update

# sudo apt-get dist-upgrade

After a few minutes (depending on the state of your system), you’re ready to install MySQL on ubuntu.

# sudo apt-get install mysql-server

# sudo apt-get install php5-mysql

# sudo apt-get install php5

# sudo apt-get install apache2

# sudo apt-get install libapache2-mod-php5

Linux:


Main menu 2

Story | by Dr. Radut