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:20] – [Install the PHP Modules that are Prerequisites for NextCloud installation] wikiadmin | install_apache_mysql_php_linux_ubuntu_server [2020/06/08 16:20] – [Creating Additional Virtual Hosts] wikiadmin | ||
---|---|---|---|
Line 16: | Line 16: | ||
</ | </ | ||
- | Here are some additional PHP modules that may be required for your applications. [However see the discussion below regarding additional modules required to run NextCloud. | + | **Here are some additional PHP modules |
< | < | ||
Line 54: | Line 54: | ||
</ | </ | ||
- | Also (OR INSTEAD) | + | Also install libapache2-mod-php module to work PHP with Apache2. |
- | Enter the following to install it: | + | Enter the following |
< | < | ||
+ | |||
+ | Some help sites also include " | ||
+ | |||
+ | < | ||
==== Creating Apache VirtualHost ==== | ==== Creating Apache VirtualHost ==== | ||
Line 145: | 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