install_apache_mysql_php_linux_ubuntu_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_apache_mysql_php_linux_ubuntu_server [2020/06/08 04:33] – [Installing Apache2 (version 2.4)] wikiadmin | install_apache_mysql_php_linux_ubuntu_server [2020/06/08 16:20] – [Creating Additional Virtual Hosts] wikiadmin | ||
---|---|---|---|
Line 60: | Line 60: | ||
< | < | ||
- | Some help sites also include " | + | Some help sites also include " |
+ | |||
+ | < | ||
==== Creating Apache VirtualHost ==== | ==== Creating Apache VirtualHost ==== | ||
Line 147: | Line 149: | ||
Repeat the above steps for site www1 by changing the site-name to whatever it will be, such as www2.exmample.com | Repeat the above steps for site www1 by changing the site-name to whatever it will be, such as www2.exmample.com | ||
+ | |||
+ | ===== Install MySQL Database Server ===== | ||
+ | |||
+ | The apt repositories for Ubuntu 20.04 LTS contain MySQL server version 8.0. | ||
+ | |||
+ | Install mysql-server packages for the MySQL database. Also, install the php-mysql package to use MySQL support using PHP. Use the following command to install it. | ||
+ | |||
+ | < | ||
+ | |||
+ | The installer will prompt for the root password. This password will work for your MySQL root user. After installing MySQL execute the following command for initial settings of MySQL server. The script will ask more questions for settings than earlier MySQL versions, such as password validation policy etc. | ||
+ | |||
+ | Enter this command: | ||
install_apache_mysql_php_linux_ubuntu_server.txt · Last modified: 2020/06/08 23:20 by wikiadmin